Do not require memset elimination in explicit_bzero test
[glibc.git] / ChangeLog
blob8cdcae68fbb28cd94fb22e56570e4f033ad039e5
1 2016-12-20  Florian Weimer  <fweimer@redhat.com>
3         Do not require memset elimination in explicit_bzero test.
4         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5         (enum test_expectation): Add NO_EXPECTATIONS.
6         (subtests): NO_EXPECTATIONS for ordinary clear.
7         (check_test_buffer): Handle NO_EXPECTATIONS.
8         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
10 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13         (fmaxmag): New declaration.
14         (fminmag): Likewise.
15         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
16         macro.
17         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
18         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
19         (fmaxmagf): Likewise.
20         (fmaxmagl): Likewise.
21         (fminmag): Likewise.
22         (fminmagf): Likewise.
23         (fminmagl): Likewise.
24         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
25         * math/s_fmaxmag_template.c: New file.
26         * math/s_fminmag_template.c: Likewise.
27         * math/libm-test.inc (fmaxmag_test_data): New array.
28         (fmaxmag_test): New function.
29         (fminmag_test_data): New array.
30         (fminmag_test): New function.
31         (main): Call fmaxmag_test and fminmag_test.
32         * math/test-tgmath.c (NCALLS): Increase to 132.
33         (F(compile_test)): Call fmaxmag and fminmag.
34         (F(fminmag)): New function.
35         (F(fmaxmag)): Likewise.
36         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
37         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
38         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
39         fminmag.
40         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
41         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
42         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
43         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
44         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
45         and fminmag.
46         (CFLAGS-nldbl-fmaxmag.c): New variable.
47         (CFLAGS-nldbl-fminmag.c): Likewise.
48         * sysdeps/nacl/libm.abilist: Update.
49         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
62         Likewise.
63         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
64         Likewise.
65         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
66         Likewise.
67         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
68         Likewise.
69         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
74         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
75         Likewise.
76         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
77         Likewise.
78         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
79         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
80         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
82 2016-12-19  Torvald Riegel  <triegel@redhat.com>
84         [BZ #20973]
85         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
86         wake-up in robust mutexes.
87         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
89 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
91         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
92         (CFLAGS-bench-fmaxf.c): New rule.
93         (CFLAGS-bench-fminf.c): Likewise.
94         * benchtests/fmaxf-inputs: New file.
95         * benchtests/fminf-inputs: Likewise.
97         * benchtests/Makefile (bench-math): Add fmin and fmax.
98         (CFLAGS-bench-fmax.c): New rule.
99         (CFLAGS-bench-fmin.c): Likewise.
100         * benchtests/fmax-inputs: New file.
101         * benchtests/fmin-inputs: Likewise.
103         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
104         parenthesis.
105         (CMDLINE_PROCESS): Define using function instead of macro.
106         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
107         of test-skeleton.
108         * benchtests/bench-memchr.c: Likewise.
109         * benchtests/bench-memcmp.c: Likewise.
110         * benchtests/bench-memcpy-large.c: Likewise.
111         * benchtests/bench-memcpy.c: Likewise.
112         * benchtests/bench-memmem.c: Likewise.
113         * benchtests/bench-memmove-large.c: Likewise.
114         * benchtests/bench-memmove.c: Likewise.
115         * benchtests/bench-memset-large.c: Likewise.
116         * benchtests/bench-memset.c: Likewise.
117         * benchtests/bench-rawmemchr.c: Likewise.
118         * benchtests/bench-strcasecmp.c: Likewise.
119         * benchtests/bench-strcasestr.c: Likewise.
120         * benchtests/bench-strcat.c: Likewise.
121         * benchtests/bench-strchr.c: Likewise.
122         * benchtests/bench-strcmp.c: Likewise.
123         * benchtests/bench-strcpy.c: Likewise.
124         * benchtests/bench-strcpy_chk.c: Likewise.
125         * benchtests/bench-strlen.c: Likewise.
126         * benchtests/bench-strncasecmp.c: Likewise.
127         * benchtests/bench-strncmp.c: Likewise.
128         * benchtests/bench-strncpy.c: Likewise.
129         * benchtests/bench-strnlen.c: Likewise.
130         * benchtests/bench-strpbrk.c: Likewise.
131         * benchtests/bench-strrchr.c: Likewise.
132         * benchtests/bench-strsep.c: Likewise.
133         * benchtests/bench-strspn.c: Likewise.
134         * benchtests/bench-strstr.c: Likewise.
135         * benchtests/bench-strtok.c: Likewise.
137 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
139         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
140         stepping identification.
141         (init_cpu_features): Add handle of Haswell.
143 2016-11-25  Jim Meyering  <meyering@fb.com>
145         [BZ #20386]
146         Let gcc detect assert(a = 1) errors.
147         * assert/assert.h (assert) Rewrite, retaining the old definintion
148         when required, but otherwise putting the expression as-is in an "if"
149         expression (hence, with no added parentheses) within a statement
150         expression.
152 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
154         * benchtests/Makefile (binaries-benchset): Depend on libsupport
155         DSO.
157 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
159         * Rules (python-flags, python-invoke): New.
160         ($(test-printers-out)): Use $(python-flags).
162 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
164         * manual/arith.texi (Math Error Reporting): Document that sNaN
165         arguments are not considered domain errors.
167 2016-12-16  Zack Weinberg <zackw@panix.com>
168             Florian Weimer <fweimer@redhat.com>
169             Nick Mathewson <nickm@torproject.org>
171         * string/explicit_bzero.c: New routine.
172         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
173         * string/Makefile (routines, strop-tests, tests): Add them.
174         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
175         * string/string.h [__USE_MISC]: Declare explicit_bzero.
177         * debug/explicit_bzero_chk.c: New routine.
178         * debug/Makefile (routines): Add it.
179         * debug/tst-chk1.c: Test fortification of explicit_bzero.
180         * string/bits/string3.h: Fortify explicit_bzero.
182         * manual/string.texi: Document explicit_bzero.
183         * NEWS: Mention addition of explicit_bzero.
185         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
186         data before returning, using explicit_bzero.
187         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
188         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
189         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
191         * include/string.h: Redirect internal uses of explicit_bzero
192         to __explicit_bzero_chk[_internal].
193         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
194         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
195         * sysdeps/arm/nacl/libc.abilist
196         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
197         * sysdeps/unix/sysv/linux/alpha/libc.abilist
198         * sysdeps/unix/sysv/linux/arm/libc.abilist
199         * sysdeps/unix/sysv/linux/hppa/libc.abilist
200         * sysdeps/unix/sysv/linux/i386/libc.abilist
201         * sysdeps/unix/sysv/linux/ia64/libc.abilist
202         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
203         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
204         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
205         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
206         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
207         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
208         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
209         * sysdeps/unix/sysv/linux/nios2/libc.abilist
210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
214         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
215         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
216         * sysdeps/unix/sysv/linux/sh/libc.abilist
217         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
218         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
221         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
222         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
223         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
224         Add entries for explicit_bzero and __explicit_bzero_chk.
226 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
228         * math/fenv.h
229         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
230         (FE_SNANS_ALWAYS_SIGNAL): New macro.
231         * math/test-fe-snans-always-signal.c: New file.
232         * math/Makefile (tests): Add test-fe-snans-always-signal.
233         (CFLAGS-test-fe-snans-always-signal.c): New variable.
234         * manual/arith.texi (Infinity and NaN): Document
235         FE_SNANS_ALWAYS_SIGNAL.
237 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
239         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
240         bracket.
242 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
244         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
245         before calling execv.
247 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
249         [BZ# 20971]
250         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
251         overflow in pointer addition.
252         * string/test-memchr.c (do_test): Add an argument to pass as
253         the size on memchr.
254         (test_main): Add check for SIZE_MAX.
256 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
258         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
259         (libm-calls): Add w_scalblnF.
260         * math/w_scalbln.c: Remove.
261         * math/w_scalblnf.c: Likewise.
262         * math/w_scalblnl.c: Likewise.
263         * math/w_scalbln_template.c: New file with type-generic
264         implementation based on math/w_scalbln.c.
265         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
266         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
268 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
270         [BZ #20947]
271         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
272         either is a signaling NaN.
273         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
274         follow fmaxl more closely.
275         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
276         when either is a signaling NaN.
277         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
278         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
279         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
280         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
281         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
282         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
283         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
284         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
285         (fmin_test_data): Likewise.
287 2016-12-15  Andreas Schwab  <schwab@suse.de>
289         * support/support_test_main.c (support_test_main): Don't shadow
290         file-local variable test_pid.
292 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
294         [BZ #20947]
295         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
296         either is a signaling NaN.
297         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
299 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
301         [BZ #20947]
302         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
303         when either is a signaling NaN.
304         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
306         * bits/long-double.h: New file.
307         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
308         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
309         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
310         * sysdeps/mips/bits/long-double.h: Likewise.
311         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
312         * math/Makefile (headers): Add bits/long-double.h.
313         * misc/sys/cdefs.h: Include <bits/long-double.h>.
314         * stdlib/strtold.c: Include <bits/long-double.h> instead of
315         <bits/wordsize.h>.
316         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
317         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
318         * math/math.h: Do not include <bits/mathdef.h>.
319         * sysdeps/aarch64/bits/mathdef.h: Remove file.
320         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
321         inclusion.
322         * sysdeps/ia64/bits/mathdef.h: Remove file.
323         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
324         * sysdeps/mips/bits/mathdef.h: Likewise.
325         * sysdeps/powerpc/bits/mathdef.h: Likewise.
326         * sysdeps/s390/bits/mathdef.h: Likewise.
327         * sysdeps/sparc/bits/mathdef.h: Likewise.
328         * sysdeps/x86/bits/mathdef.h: Likewise.
329         * sysdeps/s390/s390-32/bits/wordsize.h
330         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
331         conditional code.
332         * sysdeps/s390/s390-64/bits/wordsize.h
333         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
334         Likewise.
335         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
336         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
337         Likewise.
338         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
339         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
340         Likewise.
341         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
342         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
343         Likewise.
345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
346         <linux/falloc.h>.
347         (FALLOC_FL_KEEP_SIZE): Remove.
348         (FALLOC_FL_PUNCH_HOLE): Likewise.
349         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
350         (FALLOC_FL_ZERO_RANGE): Likewise.
352 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
354         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
356 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
358         * sysdeps/unix/sysv/linux/renameat.c: New file.
359         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
361         * sysdeps/unix/sysv/linux/rename.c: New file.
362         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
364 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
366         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
367         * string/strtok.c (strtok): Change to tailcall __strtok_r.
368         * string/strtok_r.c (__strtok_r): Optimize for performance.
369         * string/string-inlines.c (__old_strtok_r_1c): New function.
370         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
372 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
374         * math/Makefile (gen-libm-calls): Add w_log1pF.
375         (libm-calls): Remove w_log1pF.
376         * math/w_log1p.c: Remove.
377         * math/w_log1pf.c: Likewise.
378         * math/w_log1pl.c: Likewise.
379         * math/w_log1p_template.c: New file with type-generic
380         implementation based on math/w_log1p.c.
381         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
382         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
384 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
386         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
388 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
390         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
391         kernel version to 4.9.
393 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
395         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
396         ($(inst_libdir)/libm.a): Fix rule to create the target only.
398 2016-12-13  Andreas Schwab  <schwab@suse.de>
400         * sysdeps/powerpc/dl-procinfo.c: Don't define
401         _dl_powerpc_platforms.
402         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
403         constants instead of referencing _dl_powerpc_platforms.
404         (_dl_platform_string): Remove.
406 2016-12-13  Florian Weimer  <fweimer@redhat.com>
408         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
410 2016-12-13  Florian Weimer  <fweimer@redhat.com>
412         * Rules (binaries-shared-tests, binaries-pie-tests)
413         (binaries-static-tests): Link with $(link-extra-libs-tests).
414         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
415         Remove $(link-extra-libs-tests).
417 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
419         * sysdeps/powerpc/powerpc64/multiarch/Makefile
420         (sysdep_routines): Add strncmp_power9.
421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
422         (strncmp): Add __strncmp_power9 to list of strncmp functions.
423         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
424         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
425         (strncmp): Add __strncmp_power9 to ifunc list.
426         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
428 2016-12-12  Florian Weimer  <fweimer@redhat.com>
430         [BZ #17252]
431         Add getentropy, getrandom.
432         * stdlib/sys/random.h: New file.
433         (headers): Add it.
434         * stdlib/Makefile (routines): Add getentropy, getrandom.
435         (tests): Add tst-getrandom.
436         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
437         * stdlib/getentropy.c: New file.
438         * stdlib/getrandom.c: Likewise.
439         * stdlib/tst-getrandom.c: Likewise.
440         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
441         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
442         * manual/crypt.texi (Unpredictable Bytes): New section.
443         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
444         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
445         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
446         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
447         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
449         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
450         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
451         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
452         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
458         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
460         Likewise.
461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
462         Likewise.
463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
465         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
466         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
467         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
468         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
469         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
472         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
474         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
476 2016-12-10  Florian Weimer  <fweimer@redhat.com>
478         [BZ #20956]
479         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
480         as additional compiler barriers.
481         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
482         (fn2, do_test): Declare with external linkage.
483         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
484         (do_test): Declare with external linkage.
485         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
486         (do_test): Declare with external linkage.
487         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
488         (do_test): Declare with external linkage.
490 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
492         * support/support_test_main.c (support_test_main): Use correct
493         timeout.
495 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
496             Florian Weimer  <fweimer@redhat.com>
498         [BZ #16421]
499         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
500         and __u6_addr32 members.
501         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
502         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
503         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
504         Use __u6_addr32.
505         * inet/tst-checks.c: Use <support/test-driver.c>
506         * inet/tst-checks-posix.c: New file.
507         * inet/Makefile (tests): Add it.
508         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
510 2016-12-09  Florian Weimer  <fweimer@redhat.com>
512         New subdirectory support for build and test infrastructure.
513         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
514         setting install-lib.
515         * Makeconfig (link-extra-libs-tests): Define.
516         (+link-pie-tests, +link-static-tests, +link-tests): Use
517         link-extra-libs-tests.
518         (rpath-dirs, all-subdirs): Add support.
519         (built-modules): Add libsupport.
520         (libsupport): Define.
521         * support: New directory.
522         * support/Makefile: New file.
523         * support/check.c: Likewise.
524         * support/check.h: Likewise.
525         * support/delayed_exit.c: Likewise.
526         * support/ignore_stderr.c: Likewise.
527         * support/oom_error.c: Likewise.
528         * support/set_fortify_handler.c: Likewise.
529         * support/support.h: Likewise.
530         * support/temp_file-internal.h: Likewise.
531         * support/temp_file.c: Likewise.
532         * support/test-driver.c: Likewise.
533         * support/test-driver.h: Likewise.
534         * support/test_main.c: Likewise.
535         * support/write_message.c: Likewise.
536         * support/xasprintf.c: Likewise.
537         * support/xcalloc.c: Likewise.
538         * support/xmalloc.c: Likewise.
539         * support/xpthread_barrier_destroy.c: Likewise.
540         * support/xpthread_barrier_init.c: Likewise.
541         * support/xpthread_barrier_wait.c: Likewise.
542         * support/xpthread_cancel.c: Likewise.
543         * support/xpthread_check_return.c: Likewise.
544         * support/xpthread_cond_wait.c: Likewise.
545         * support/xpthread_create.c: Likewise.
546         * support/xpthread_detach.c: Likewise.
547         * support/xpthread_join.c: Likewise.
548         * support/xpthread_mutex_lock.c: Likewise.
549         * support/xpthread_mutex_unlock.c: Likewise.
550         * support/xpthread_sigmask.c: Likewise.
551         * support/xpthread_spin_lock.c: Likewise.
552         * support/xpthread_spin_unlock.c: Likewise.
553         * support/xrealloc.c: Likweise.
554         * support/xsignal.h: Likewise.
555         * support/xthread.h: Likewise.
556         * support_tempfile.h: Likewise.
557         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
558         (TEST_DATA_LIMIT): Remove unused macro.
559         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
560         <support/check.h>.
561         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
562         (ignore_stderr, set_fortify_handler): Remove.  Now in
563         <support/support.h>.
564         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
565         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
566         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
567         (xpthread_join): Remove.  Now in <support/xthread.h>.
568         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
569         Introduce legacy wrappers.
570         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
571         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
572         (write_message): Remove.
573         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
574         test-skeleton.c.
575         * io/test-open-tmpfile: Likewise.
576         * io/tst-posix_fallocate-common.c: Likewise.
577         * libio/tst-fseek.c: Likewise.
578         * malloc/tst-malloc-backtrace.c: Likewise.
579         * malloc/tst-malloc-fork-deadlock.c: Likewise.
580         * malloc/tst-malloc-thread-exit.c: Likewise.
581         * nptl/tst-cancel7.c: Likewise.
582         * nptl/tst-cleanup0.c: Likewise.
583         * posix/tst-posix_fadvise-common.c: Likewise.
584         * rt/tst-shm.c: Likewise.
585         * time/bug-getdate1.c: Likewise.
586         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
587         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
588         * elf/Makefile (tst-piemod1.so): Link against libsupport.
590 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
592         * Rules [$(run-built-tests) != no] (tests-expected): Add
593         $(tests-printers).
594         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
596 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
598         [BZ #20539]
599         * math/Makefile (install-lib-ldscripts): Add libm.a.
600         (install_subdir): Remove.
601         (install-others): Add.
602         ($(inst_libdir)/libm.a): Add rule for installation as
603         linker script.
604         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
606 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
608         * INSTALL: Regenerated.
609         * Makeconfig: Add comments and whitespace to make the control flow
610         clearer.
611         (+link-printers-tests, +link-pie-printers-tests,
612         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
613         built-rtld-LDFLAGS, link-libc-rpath,
614         link-libc-tests-after-rpath-link,
615         link-libc-printers-tests): New.
616         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
617         link-libc-tests): Use the new variables as required.
618         * Makerules ($(py-const)): New rule.
619         generated: Add $(py-const).
620         * README.pretty-printers: New file.
621         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
622         (others): Depend on $(py-const).
623         (tests): Depend on $(tests-printers-programs) or
624         $(tests-printers-out),
625         as required.  Pass $(tests-printers) to merge-test-results.sh.
626         * manual/install.texi: Add requirements for testing the pretty
627         printers.
628         * nptl/Makefile (gen-py-const-headers, pretty-printers,
629         tests-printers, CFLAGS-test-mutexattr-printers.c
630         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
631         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
632         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
633         * nptl/nptl-printers.py: New file.
634         * nptl/nptl_lock_constants.pysym: Likewise.
635         * nptl/test-cond-printers.c: Likewise.
636         * nptl/test-cond-printers.py: Likewise.
637         * nptl/test-condattr-printers.c: Likewise.
638         * nptl/test-condattr-printers.py: Likewise.
639         * nptl/test-mutex-printers.c: Likewise.
640         * nptl/test-mutex-printers.py: Likewise.
641         * nptl/test-mutexattr-printers.c: Likewise.
642         * nptl/test-mutexattr-printers.py: Likewise.
643         * nptl/test-rwlock-printers.c: Likewise.
644         * nptl/test-rwlock-printers.py: Likewise.
645         * nptl/test-rwlockattr-printers.c: Likewise.
646         * nptl/test-rwlockattr-printers.py: Likewise.
647         * scripts/gen-py-const.awk: Likewise.
648         * scripts/test_printers_common.py: Likewise.
649         * scripts/test_printers_exceptions.py: Likewise.
651 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
653         * scripts/build-many-glibcs.py (Context.__init__): Take strip
654         argument.
655         (Glibc.build_glibc): Strip installed shared libraries if
656         requested.
657         (get_parser): Add --strip option.
658         (main): Update Context call.
660 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
661             Dominik Vogt  <vogt@linux.vnet.ibm.com>
663         [BZ #20847]
664         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
665         array bounds for else branch.
666         (__execvpe): Style fixes.
667         * posix/tst-vfork3.c (run_script): New function.
668         (create_script): Likewise.
669         (do_test): Use run_script internal function.
670         (do_prepare): Use create_script internal function.
672 2016-12-07  Andreas Schwab  <schwab@suse.de>
674         * sysdeps/unix/sysv/linux/x86/elision-conf.h
675         (__elision_available): Don't declare.
676         * sysdeps/unix/sysv/linux/x86/elision-conf.c
677         (__elision_available): Don't define.
678         (elision_init): Don't set __elision_available.
680 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
682         [BZ #20940]
683         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
684         return Inf for arguments Inf and sNaN.
685         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
686         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
687         Likewise.
688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
689         Likewise.
690         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
691         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
692         for arguments Inf and sNaN.  When returning a NaN, compute it by
693         arithmetic on the arguments.
694         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
695         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
696         arguments.
698 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
700         [BZ #20916]
701         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
702         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
703         to compute result.
704         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
705         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
707 2016-12-05  Torvald Riegel  <triegel@redhat.com>
709         * include/atomic.h (__atomic_check_size_ls): New.
710         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
711         atomic_store_release): Use it.
712         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
713         (elision_adapt, ELIDE_LOCK): Use atomics.
714         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
715         atomics and improve code comments.
716         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
717         (__lll_trylock_elision): Likewise.
719 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
721         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
722         programs.
724 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
726         [BZ #20916]
727         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
728         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
729         arguments to compute result.
730         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
731         1 for arguments (sNaN, 0) or (1, sNaN).
732         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
733         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
735         [BZ #20919]
736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
737         NaN first argument when raised to power 0.
738         * math/w_pow.c (__pow): Do not check for NaN or zero results from
739         raising to power zero.
740         * math/w_powf.c (__powf): Likewise.
741         * math/w_powl.c (__powl): Likewise.
742         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
743         pow (0, 0) or pow (NaN, 0).
745 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
747         [BZ #20918]
748         * configure.ac: Test for static NSS cryptographic libraries and set
749         libc_cv_static_nss_crypt.
750         * configure: Regenerate.
751         * config.make.in (static-nss-crypt): Define.
752         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
753         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
754         (CFLAGS-tst-linkall-static.c): Define.
755         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
756         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
757         ($(objpfx)tst-linkall-static): Define.
758         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
759         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
761 2016-12-02  Florian Weimer  <fweimer@redhat.com>
763         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
764         (one-hundred, tst-tls-many-dynamic-modules): Define.
765         (modules-names): Add $(tst-tls-many-dynamic-modules).
766         (tst-tls-manydynamic%mod.os): Build with special preprocessor
767         macros.
768         (tst-tls-manydynamic): Link against libdl, libpthread.
769         (tst-tls-manydynamic.out): The test needs the test modules at run
770         time.
771         * elf/tst-tls-manydynamic.c: New file.
772         * elf/tst-tls-manydynamic.h: Likewise.
773         * elf/tst-tls-manydynamicmod.c: Likewise.
775 2016-12-02  Florian Weimer  <fweimer@redhat.com>
777         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
778         (TLS_DTV_UNALLOCATED): Add.
779         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
780         offsets.
782 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
784         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
786 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
788         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
789         Add -fno-optimize-sibling-calls.
791 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
793         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
794         New declaration.
795         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
796         macro.
797         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
798         New macro.
799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
801         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
802         (llogbf): Likewise.
803         (llogbl): Likewise.
804         * math/Makefile (gen-libm-calls): Add w_llogbF.
805         (tests): Add test-fp-llogb-constants.
806         * math/w_llogb_template.c: New file.  Based on
807         math/w_ilogb_template.c.
808         * math/libm-test.inc (llogb_test_data): New array.
809         (llogb_test): New function.
810         (main): Call llogb_test.
811         * math/test-fp-llogb-constants.c: New file.  Based on
812         math/test-fp-ilogb-constants.c.
813         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
814         (do_test): Call check_return_llogb.
815         * math/test-tgmath.c (NCALLS): Increase to 126.
816         (F(compile_test)): Call llogb.
817         (F(llogb)): New function.
818         * manual/math.texi (Exponents and Logarithms): Document llogb,
819         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
820         * manual/libm-err-tab.pl (@all_functions): Add llogb.
821         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
822         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
823         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
824         (CFLAGS-nldbl-llogb.c): New variable.
825         * sysdeps/nacl/libm.abilist: Update.
826         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
827         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
828         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
829         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
830         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
831         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
832         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
833         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
834         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
835         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
836         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
839         Likewise.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
841         Likewise.
842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
843         Likewise.
844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
845         Likewise.
846         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
847         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
848         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
849         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
850         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
852         Likewise.
853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
854         Likewise.
855         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
856         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
859 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
861         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
862         _Float128 instead of long double.
863         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
865         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
866         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
867         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
868         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
869         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
870         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
871         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
872         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
873         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
874         Likewise.
876 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
878         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
879         Remove redirection to __strrchr_ppc.
881 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
883         * sysdeps/powerpc/powerpc64/multiarch/Makefile
884         (sysdep_routines): Add strcmp_power9.
885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
886         (strcmp): Add __strcmp_power9 to list of strcmp functions.
887         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
888         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
889         (strcmp): Add __strcmp_power9 to ifunc list.
890         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
892 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
894         * bits/fp-logb.h: New file.
895         * sysdeps/ia64/bits/fp-logb.h: Likewise.
896         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
897         * sysdeps/x86/bits/fp-logb.h: Likewise.
898         * math/Makefile (headers): Add bits/fp-logb.h.
899         * math/math.h: Include <bits/fp-logb.h>.
900         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
901         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
902         * bits/mathdef.h (FP_ILOGB0): Remove.
903         (FP_ILOGBNAN): Likewise.
904         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
905         (FP_ILOGBNAN): Likewise.
906         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
907         (FP_ILOGBNAN): Likewise.
908         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
909         (FP_ILOGBNAN): Likewise.
910         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
911         (FP_ILOGBNAN): Likewise.
912         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
913         (FP_ILOGBNAN): Likewise.
914         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
915         (FP_ILOGBNAN): Likewise.
916         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
917         (FP_ILOGBNAN): Likewise.
918         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
919         (FP_ILOGBNAN): Likewise.
920         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
921         (FP_ILOGBNAN): Likewise.
923         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
924         time module.
925         (Context.__init__): Initialize self.logsdir_old.
926         (Context.run_builds): Handle bot action.
927         (Context.bot_cycle): Copy logs directory before running builds.
928         (Context.bot_run_self): Take argument for whether to check
929         subprocess result.  Flush stdout before running subprocess.
930         (Context.bot): New function.
931         (get_parser): Allow bot action.
933 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
935         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
936         Import email.mime.text, email.utils and smtplib modules.
937         (Context.__init__): Initialize self.bot_config_json.
938         (Context.run_builds): Handle bot-cycle action.
939         (Context.load_bot_config_json): New function.
940         (Context.part_build_old): Likewise.
941         (Context.bot_cycle): Likewise.
942         (Context.bot_build_mail): Likewise.
943         (Context.bot_run_self): Likewise.
944         (get_parser): Allow bot-cycle action.
946 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
948         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
949         Remove redirection to __stpcpy_ppc.
951 2016-11-30  Florian Weimer  <fweimer@redhat.com>
953         Remove __libc_memalign from ld.so because it is unused.
954         * elf/dl-minimal.c: Update comment on the malloc implementation.
955         (malloc): Renamed from __libc_memalign, replacing the original
956         malloc implementation.  Replace the align parameter with
957         MALLOC_ALIGNMENT.
958         * elf/Versions (ld): Update comment and remove __libc_memalign.
959         * sysdeps/nacl/ld.abilist: Likewise.
960         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
961         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
962         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
963         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
964         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
965         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
966         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
967         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
968         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
969         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
970         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
971         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
972         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
976         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
977         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
978         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
979         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
980         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
983         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
984         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
985         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
986         * sysdeps/generic/localplt.data (ld.so): Likewise.
987         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
988         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
989         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
990         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
991         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
992         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
993         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
994         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
995         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
997         (ld.so): Likewise.
998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
999         (ld.so): Likewise.
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1001         Likewise.
1002         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1003         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1004         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
1005         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
1006         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1008 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1010         [BZ #16628]
1011         Implement _dl_catch_error, _dl_signal_error in libc.so.
1012         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
1013         (catch_hook): Define as thread-local or regular variable,
1014         depending on DL_ERROR_BOOTSTRAP.
1015         (CATCH_HOOK): Remove.
1016         (dl_signal_error, _dl_catch_error): Use
1017         catch_hook.  Add hidden definition for libc.
1018         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
1019         for DL_ERROR_BOOTSTRAP only.
1020         * elf/dl-error.c: New file.
1021         * elf/dl-error-minimal.c: Likewise.
1022         * elf/tst-latepthread.c: Likewise.
1023         * elf/tst-latepthreadmod.c: Likewise.
1024         * elf/Makefile (routines): Add dl-error.
1025         (dl-routines): Remove dl-error.
1026         (rtld-routines): Add dl-error-minimal.
1027         [build-shared] (tests): Add tst-latepthread.
1028         (module-names): Add tst-latepthreadmod.
1029         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
1030         symbol.
1031         (tst-latepthreadmod.so): Link against libpthread.
1032         (tst-latepthread): Link against libdbl.
1033         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
1034         _dl_catch_error.
1035         [ld] (GLIBC_PRIVATE): Likewise.
1036         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
1037         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
1038         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
1039         directly.
1040         * elf/dl-tsd.c: Remove file.
1041         * elf/rtld.c (_rtld_global_ro): Remove initializers for
1042         _dl_catch_error, _dl_signal_error.
1043         (_dl_initial_error_catch_tsd): Remove definition.
1044         (do_preload): Remove initialization of dl_error_catch_tsd.
1045         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
1046         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
1047         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1048         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1049         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
1050         set dl_error_catch_tsd.
1051         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
1052         _dl_error_catch_tsd member.
1053         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
1054         members.
1055         (_dl_initial_error_catch_tsd): Remove declaration.
1056         (_dl_dprintf): Provide definition for use outside of ld.so.
1057         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
1058         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
1059         prototype for libc.
1060         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
1061         _dl_catch_error.
1062         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1063         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1064         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1065         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1066         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1067         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1068         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1069         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
1070         Likewise.
1071         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1073         (ld.so): Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1075         (ld.so): Likewise.
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1079         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1080         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
1081         Likewise.
1082         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
1083         Likewise.
1084         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1086 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1088         [BZ #4099]
1089         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
1090         _IO_BUFSIZ (8192).
1092 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
1094         * PROJECTS: Remove file.
1096 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1098         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
1100 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
1101             Steve Ellcey  <sellcey@caviumnetworks.com>
1103         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
1104         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
1105         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
1106         fxstatat.
1107         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
1108         lxstat.
1109         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
1110         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
1111         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
1112         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
1113         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
1114         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
1115         __xstat.
1117 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1119         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
1120         Define.
1121         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
1122         definition.
1124 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1126         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
1127         version and turn into strong alias.  Remove compat symbol.
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1130         (__longjmp): Remove.
1132 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
1134         * bits/fp-fast.h: New file.
1135         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
1136         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
1137         * math/Makefile (headers): Add bits/fp-fast.h.
1138         * math/math.h: Include <bits/fp-fast.h>.
1139         * bits/mathdef.h (FP_FAST_FMA): Remove.
1140         (FP_FAST_FMAF): Likewise.
1141         (FP_FAST_FMAL): Likewise.
1142         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
1143         (FP_FAST_FMAF): Likewise.
1144         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
1145         (FP_FAST_FMAF): Likewise.
1146         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
1147         (FP_FAST_FMAF): Likewise.
1148         (FP_FAST_FMAL): Likewise.
1149         * sysdeps/arm/bits/mathdef.h: Remove file.
1150         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
1151         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1152         * sysdeps/tile/bits/mathdef.h: Likewise.
1154 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1156         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
1157         * math/w_ilogb.c: Remove.
1158         * math/w_ilogbf.c: Likewise.
1159         * math/w_ilogbl.c: Likewise.
1160         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
1161         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
1162         * math/Makefile (gen-libm-calls): Add w_ilogbF.
1163         (libm-calls): Remove w_ilogbF.
1164         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
1165         (LDOUBLE_ilogbl_libm_version): New macro.
1167         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
1169         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
1170         [!__STRICT_ANSI__ && !__cplusplus].
1172 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1174         [BZ #20750]
1175         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
1176         of PIC.
1178 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1179             Yury Norov  <ynorov@caviumnetworks.com>
1180             Steve Ellcey  <sellcey@caviumnetworks.com>
1182         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
1183         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
1184         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
1185         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
1186         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
1187         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
1188         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
1189         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
1190         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
1191         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
1192         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
1193         to get correct reg name for ILP32.
1194         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
1195         (RELA_SIZE): New Macro.
1196         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
1197         to support ILP32.
1198         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
1199         cast for ILP32 mode.
1200         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
1201         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
1202         * sysdeps/aarch64/memset.S (__memset): Ditto.
1203         * sysdeps/aarch64/strchr.S (strchr): Ditto.
1204         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
1205         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
1206         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
1207         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
1208         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
1209         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
1210         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
1211         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
1212         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
1213         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
1214         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
1215         change PTR_MANGLE call to use register numbers instead of names.
1216         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
1217         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
1218         ILP32 mode, change PTR_MANGLE calls to use register numbers.
1219         * sysdeps/aarch64/start.S (_start): Ditto.
1220         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
1221         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
1222         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
1223         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
1224         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
1225         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
1226         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
1227         Make defined values dependent on __ILP32__.
1228         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
1229         (sem_t): Change __align type.
1230         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
1231         PTR_SIZE): New Macros.
1232         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
1233         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
1234         Set when in ILP32 mode.
1235         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
1236         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
1237         Set elf flags for ILP32.
1238         (add_system_dir): Set ILP32 library directories.
1239         * sysdeps/unix/sysv/linux/aarch64/init-first.c
1240         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
1241         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
1242         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
1243         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
1244         New Macros.
1245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
1247 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1249         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
1250         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
1251         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
1253 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1255         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
1256         <asm/cachectl.h>.
1258 2016-11-27  Zack Weinberg  <zackw@panix.com>
1260         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
1261         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
1263 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1265         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
1266         error_t to fix usage in C++ programs.
1268 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
1270         * scripts/build-many-glibcs.py: Import datetime module.
1271         (Context.__init__): Load JSON build state.  Initialize list of
1272         status logs.
1273         (Context.run_builds): Update saved build state.
1274         (Context.add_makefile_cmdlist): Update list of status logs.
1275         (Context.load_build_state_json): New function.
1276         (Context.store_build_state_json): Likewise.
1277         (Context.clear_last_build_state): Likewise.
1278         (Context.update_build_state): Likewise.
1279         (CommandList.status_logs): Likewise.
1281 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
1283         * scripts/build-many-glibcs.py (Context.__init__): Save text of
1284         script being executed.
1285         (Context.get_script_text): New function.
1286         (Context.exec_self): Likewise.
1287         (Context.checkout): Re-exec script if changed by checkout process.
1289 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1291         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1292         (setpayloadsig): New declaration.
1293         * math/Versions (setpayloadsig): New libm symbol at version
1294         GLIBC_2.25.
1295         (setpayloadsigf): Likewise.
1296         (setpayloadsigl): Likewise.
1297         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1298         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1299         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1300         (setpayloadsig_test_data): New array.
1301         (setpayloadsig_test): New function.
1302         (main): Call setpayloadsig_test.
1303         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1304         setpayloadsigf and setpayloadsigl.
1305         * manual/libm-err-tab.pl: Update comment on interfaces without
1306         ulps tabulated.
1307         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1308         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1309         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1310         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1311         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1312         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1313         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1314         setpayloadsig.
1315         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1316         * sysdeps/nacl/libm.abilist: Update.
1317         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1318         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1320         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1321         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1323         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1324         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1326         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1327         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1328         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1330         Likewise.
1331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1332         Likewise.
1333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1334         Likewise.
1335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1336         Likewise.
1337         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1341         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1345         Likewise.
1346         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1350         * scripts/build-many-glibcs.py: Import json module.
1351         (Context.__init__): Take replace_sources argument.  Load
1352         versions.json.
1353         (Context.load_versions_json): New function.
1354         (Context.store_json): Likewise.
1355         (Context.store_versions_json): Likewise.
1356         (Context.set_component_version): Likewise.
1357         (Context.checkout): Update versions.json.  Check for and handle
1358         changes of version.  Prefer previously explicitly specified
1359         version to default version.
1360         (Context.checkout_vcs): Return a revision identifier.
1361         (Context.git_checkout): Likewise.
1362         (Context.gcc_checkout): Likewise.
1363         (get_parser): Add --replace-sources option.
1364         (main): Pass replace_sources argument to Context call.
1366 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1368         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1369         * nptl/allocatestack.c (allocate_stack): Likewise.
1370         (__reclaim_stacks): Likewise.
1371         (setxid_signal_thread): Obtain pid through syscall.
1372         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1373         (sighandle_setxid): Likewise.
1374         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1375         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1376         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1377         Likewise.
1378         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1379         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1380         comment.
1381         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1382         * nptl/descr.h (struct pthread): Change comment about pid value.
1383         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1384         pid assert.
1385         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1386         Do not set pid value.
1387         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1388         pid cache check.
1389         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1390         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1391         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1392         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1393         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1394         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1395         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1396         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1397         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1398         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1399         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1400         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1401         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1402         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1403         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1404         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1405         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1406         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1407         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1408         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1409         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1410         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1411         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1412         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1413         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1416         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1417         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1418         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1419         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1420         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1421         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1422         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1423         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1424         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1425         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1426         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1427         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1428         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1429         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1430         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1431         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1434         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1435         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1436         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1437         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1438         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1439         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1440         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1441         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1442         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1443         struct access.
1444         (clone_test): Remove function.
1445         (do_test): Rewrite to take in consideration pid is not cached anymore.
1447 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1449         * bits/flt-eval-method.h: New file.
1450         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1451         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1452         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1453         * math/Makefile (headers): Add bits/flt-eval-method.h.
1454         * math/math.h: Include <bits/flt-eval-method.h>.
1455         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1456         [__USE_ISOC99] (double_t): Likewise.
1457         * bits/mathdef.h (float_t): Remove.
1458         (double_t): Likewise.
1459         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1460         (double_t): Likewise.
1461         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1462         (double_t): Likewise.
1463         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1464         (double_t): Likewise.
1465         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1466         (double_t): Likewise.
1467         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1468         (double_t): Likewise.
1469         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1470         (double_t): Likewise.
1471         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1472         (double_t): Likewise.
1473         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1474         (double_t): Likewise.
1475         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1476         (double_t): Likewise.
1477         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1478         (double_t): Likewise.
1479         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1480         (double_t): Likewise.
1481         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1482         (double_t): Likewise.
1483         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1484         (double_t): Likewise.
1486 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1488         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1489         instead of PIC.
1491 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1493         [BZ #20859]
1494         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1495         (-0x7fffffff) instead of 0x80000001.
1496         * math/test-fp-ilogb-constants.c: New file.
1497         * math/Makefile (tests): Add test-fp-ilogb-constants.
1499 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1501         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1502         (_init): Use it in place of hardcoded R_MIPS_JALR.
1503         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1504         (_init): Use it in place of hardcoded R_MIPS_JALR.
1505         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1506         (_init): Use it in place of hardcoded R_MIPS_JALR.
1508 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1510         [BZ #20787]
1511         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1512         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1513         (double_t): Do not define to double if [__x86_64__] when
1514         __FLT_EVAL_METHOD__ is nonzero.
1515         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1516         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1517         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1518         test-flt-eval-method-387 and test-flt-eval-method-sse.
1519         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1520         variable.
1521         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1523 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1525         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1526         use of -fno-isolate-erroneous-paths options for tilepro.
1528 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1530         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1531         structure initialization is no longer needed.
1533 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1535         [BZ #20855]
1536         * bits/mathdef.h (float_t): Define to float.
1537         * math/test-flt-eval-method.c: New file.
1538         * math/Makefile (tests): Add test-flt-eval-method.
1539         (CFLAGS-test-flt-eval-method.c): New variable.
1541 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1543         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1544         and __fstatfs.  Make them aliases of __fstatfs64 if
1545         STATFS_IS_STATFS64 is set to non-zero.
1546         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1547         and __statfs64.
1548         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1549         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1550         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1551         for __statfs and statfs.
1552         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1553         to 0.
1554         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1555         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1556         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1557         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1558         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1559         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1562         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1563         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1564         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1565         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1567 2016-11-22  Andreas Schwab  <schwab@suse.de>
1569         * misc/mkstemp.c: Include <fcntl.h>.
1570         * misc/mkstemps.c: Likewise.
1571         * misc/mkostemp.c: Likewise.
1572         * misc/mkostemps.c: Likewise.
1574 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1576         [BZ #20847]
1577         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1578         array bounds.
1579         (__execvpe): Likewise.
1581 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1583         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1584         -fno-isolate-erroneous-paths options for tilepro.
1586 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1588         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1589         to 0 when in 32 bit mode.
1590         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1591         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1592         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1593         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1595         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1596         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1597         XSTAT_IS_XSTAT64 test.
1598         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1599         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1600         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1601         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1602         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1603         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1604         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1605         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1606         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1607         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1608         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1610 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1612         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1613         (setpayload): New declaration.
1614         * math/Versions (setpayload): New libm symbol at version
1615         GLIBC_2.25.
1616         (setpayloadf): Likewise.
1617         (setpayloadl): Likewise.
1618         * math/Makefile (libm-calls): Add s_setpayloadF.
1619         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1620         test_Ff_b1_data.
1621         (RUN_TEST_Ff_b1): New macro.
1622         (RUN_TEST_LOOP_Ff_b1): Likewise.
1623         (canonicalize_test_data): Update type.
1624         (setpayload_test_data): New array.
1625         (setpayload_test): New function.
1626         (main): Call setpayload_test.
1627         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1628         setpayloadf and setpayloadl.
1629         * manual/libm-err-tab.pl: Update comment on interfaces without
1630         ulps tabulated.
1631         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1632         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1633         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1634         Likewise.
1635         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1636         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1637         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1638         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1639         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1640         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1641         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1642         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1643         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1644         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1645         setpayload.
1646         (CFLAGS-nldbl-setpayload.c): New variable.
1647         * sysdeps/nacl/libm.abilist: Update.
1648         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1649         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1650         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1651         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1652         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1653         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1654         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1655         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1656         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1657         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1658         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1659         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1661         Likewise.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1663         Likewise.
1664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1665         Likewise.
1666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1667         Likewise.
1668         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1669         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1670         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1671         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1672         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1674         Likewise.
1675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1676         Likewise.
1677         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1678         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1679         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1681 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1683         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1684         * include/unistd.h: Extend comment about __access_noerrno return
1685         semantics.
1686         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1687         (access_common): Correct typo for EACCES.
1689 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1691         * sysdeps/tile/math-tests.h: New file.
1693         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1694         (__old_set_dataplane): Rename from set_dataplane and make a
1695         compatibility symbol.
1696         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1697         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1698         sys/dataplane.h.
1700 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1702         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1703         script quote words in command output to log suitably for input to
1704         the shell.
1706 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1707             Maciej W. Rozycki  <macro@imgtec.com>
1709         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1710         `.Lno_weak_fn' label.
1711         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1712         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1714 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1715             Yury Norov  <ynorov@caviumnetworks.com>
1717         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1718         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1719         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1720         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1721         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1722         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1723         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1725         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1726         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1727         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1728         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1729         (sysdep_routines): Remove oldgetrlimit64.
1730         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1731         (sysdep_routines): Likewise.
1732         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1733         (sysdep_routines): Likewise.
1734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1735         [$(subdir) = resource] (sysdep_routines): Likewise.
1736         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1737         [$(subdir) = resource] (sysdep_routines): Likewise.
1738         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1739         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1740         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1741         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1742         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1743         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1744         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1745         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1746         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1747         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1748         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1749         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1750         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1751         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1752         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1753         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1754         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1755         setrlimit and getrlimit.
1756         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1757         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1758         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1761         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1762         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1763         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1764         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1765         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1766         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1767         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1768         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1769         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1770         (__old_getrlimit64): Add compatibility symbol.
1771         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1773 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1775         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1776         newly built gmp, mpfr and mpc.
1778         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1780 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1782         * conform/Makefile (linknamespace-libs): Rename to
1783         linknamespace-libs-thr.
1784         (linknamespace-libs-posix): New variable.
1785         (linknamespace-libs-xsi): Likewise.
1786         (linknamespace-libs-XPG3): Include libcrypt.a.
1787         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1788         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1789         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1790         (linknamespace-libs-XOPEN2K): Likewise.
1791         (linknamespace-libs-XOPEN2K8): Likewise.
1792         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1794         [BZ #20829]
1795         * stdio-common/Versions (__snprintf): Add to version
1796         GLIBC_PRIVATE.
1797         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1798         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1799         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1800         of snprintf.
1801         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1803 2016-11-16  Zack Weinberg  <zackw@panix.com>
1805         * string/string.h: Remove obsolete comment stating that
1806         strcoll_l and strxfrm_l have not yet been standardized.
1808 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1810         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1811         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1812         __access_noerrno.
1813         * io/access.c (__access_noerrno): New function.
1814         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1815         (hurd_fail_seterrno): Likewise.
1816         (access_common): Likewise.
1817         (__access_noerrno): Likewise.
1818         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1819         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1820         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1821         macro.
1823 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1825         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1826         Only declare fpregs if [__SH_FPU_ANY__].
1828 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1830         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1831         Make code unconditional.
1832         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1834 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1836         * manual/sysinfo.texi (S_APPEND): Delete.
1837         (S_IMMUTABLE): Likewise.
1839 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1840             Magnus Granberg  <zorry@gentoo.org>
1841             Mike Frysinger  <vapier@gentoo.org>
1843         [BZ #20662]
1844         * configure.ac (libc_cv_predef_stack_protector): Also check for
1845         __stack_chk_fail_local symbols.
1846         * configure: Regenerated.
1848 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1850         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1851         (libc_hidden_def): Remove redefinition.
1852         (__sigsetjmp): Add hidden definition.
1853         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1854         (libc_hidden_def): Remove redefinition.
1855         (__sigsetjmp): Add hidden definition.
1857 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1859         * scripts/build-many-glibcs.py (os.path): Do not import.
1860         (Context): Inherit explicitly from object.  Remove blank line
1861         between class and docstring.
1862         (Config): Likewise.
1863         (Glibc): Likewise.
1864         (Command): Likewise.
1865         (CommandList): Likewise.
1866         (Context.write_files): Store chmod mode in a variable.
1868         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1869         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1870         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1872 2016-11-14  Zack Weinberg  <zackw@panix.com>
1874         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1875         creating or re-creating it.
1877         * string/bits/string2.h: Fix typo in comment.
1879 2016-11-14  Zack Weinberg  <zackw@panix.com>
1881         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1882         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1883         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1884         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1885         of redirected function names.
1887         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1888         as well.  Document that MESSAGE must be a single string literal.
1890 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1892         * scripts/build-many-glibcs.py: New file.
1894         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1895         (do_test): Disable -Wmaybe-uninitialized around uses of
1896         except_mask.
1898         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1900 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1902         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1903         (atomic_store_release): Provide tilepro-specific implementations.
1905 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1907         * math/math.h (__MATH_TG): New macro.
1908         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1909         [__USE_ISOC99] (signbit): Likewise.
1910         [__USE_ISOC99] (isfinite): Likewise.
1911         [__USE_ISOC99] (isnan): Likewise.
1912         [__USE_ISOC99] (isinf): Likewise.
1913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1916         __MATH_TG and __MATH_EVAL_FMT2.
1917         * sysdeps/generic/math_private.h (fabs_tg): Define using
1918         __MATH_TG.
1919         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1920         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1921         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1922         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1923         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1924         macro.
1925         (__iscanonical): Likewise.
1926         (iscanonical): Define using __MATH_TG.
1928 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1930         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1931         guards.
1933         * sysdeps/unix/sysv/linux/access.c: New file.
1934         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1936 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1938         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1939         and __WORDSIZE32_PTRDIFF_LONG.
1941 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1943         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1945 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1947         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1948         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1949         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1950         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1951         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1953         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1954         * sysdeps/unix/sysv/linux/truncate.c: New file.
1955         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1956         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1957         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1958         Remove.
1959         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1960         Likewise.
1962         * posix/tst-truncate-common.c: New file.
1963         * posix/tst-truncate.c: Use tst-truncate-common.c.
1964         * posix/tst-truncate64.c: Likewise and add LFS tests.
1965         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1966         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1967         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1968         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1969         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1971         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1972         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1973         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1974         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1975         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1976         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1977         Remove.
1978         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1979         Likewise.
1981 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1983         [BZ #20790]
1984         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1985         to MAXLINESIZE.
1986         * sunrpc/bug20790.x: New file.
1987         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1988         variable.
1989         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1990         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1992         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1994         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1996         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1997         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1998         calloc, realloc, free, memalign and __libc_memalign rather than
1999         making them optional.
2001         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
2002         for libc.so.
2004 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2006         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
2007         ptw-lseek64.
2008         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
2009         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
2010         Likewise.
2011         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
2012         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
2013         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
2014         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
2015         * sysdeps/unix/sysv/linux/lseek.c: New file.
2016         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
2017         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
2018         __libc_lseek64 from auto-generation.
2019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2020         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
2022 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2024         * nptl/tst-basic1.c (tf, do_test): Use write_message.
2025         * nptl/tst-cleanup1.c (do_test): Likewise.
2026         * nptl/tst-cleanup3.c (do_test): Likewise.
2027         * nptl/tst-key1.c (do_test): Likewise.
2028         * nptl/tst-key2.c (tf, do_test): Likewise.
2029         * nptl/tst-key3.c (tf, do_test): Likewise.
2030         * nptl/tst-stdio1.c (do_test): Likewise.
2031         * nptl/tst-stdio2.c (do_test): Likewise.
2033         * nptl/tst-kill3.c (handler): Use write_message in place of write.
2034         * nptl/tst-kill6.c (handler): Likewise.
2035         * nptl/tst-tls2.c (CB): Likewise.
2036         * nptl/tst-tls3.c (CB): Likewise.
2038 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
2040         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
2042 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
2043             Steve Ellcey  <sellcey@caviumnetworks.com>
2045         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
2046           __ASSUME_ST_INO_64_BIT as 0
2047         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
2048         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
2049           over the code where __ASSUME_ST_INO_64_BIT is used.
2050         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2051         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2052         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2054 2016-11-07  Florian Weimer  <fweimer@redhat.com>
2056         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2057         Document ABI exposure of the __kind offset.
2058         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2059         Mention reason for the __kind offset exposure in the ABI.
2060         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2061         Likewise.
2062         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2063         Likewise.
2064         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2065         Likewise.
2066         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
2067         (struct __pthread_mutex_s): Likewise.
2068         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2069         Likewise.
2070         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2071         Likewise.
2072         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2073         Likewise.
2074         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2075         Likewise.
2076         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2077         Likewise.
2078         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2079         Likewise.
2080         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2081         (struct __pthread_mutex_s): Likewise.
2082         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2083         (struct __pthread_mutex_s): Likewise.
2084         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
2085         Likewise.
2087 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
2089         * test-skeleton.c: Document do_test usage.
2091 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
2093         * iconv/gconv.h (__gconv_info): Define __data element using a
2094         zero-length array.
2096 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
2098         * math/test-tgmath2.c: Split up test function.
2100 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2102         * Rules (tests-expected): New variable, depending on
2103         $(run-built-tests).
2104         (tests): Pass $(tests-expected) to merge-test-results.sh, not
2105         $(tests).
2107         * Rules [$(run-built-tests) = no] (tests): Do not depend on
2108         $(tests-unsupported).
2110 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2112         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2113         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
2115 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2117         [BZ #20768]
2118         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
2119         __fegetenv instead of fegetenv.
2121         [BZ #14139]
2122         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
2123         (find_files): Obtain platform name from libm-test-ulps-name and
2124         store in %pplatforms.
2125         (canonicalize_platform): Remove.
2126         (print_platforms): Use $pplatforms directly.
2127         (by_platforms): Do not allow for platforms missing from
2128         %pplatforms.
2129         * sysdeps/aarch64/libm-test-ulps-name: New file.
2130         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
2131         * sysdeps/arm/libm-test-ulps-name: Likewise.
2132         * sysdeps/generic/libm-test-ulps-name: Likewise.
2133         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
2134         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
2135         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
2136         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
2137         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
2138         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
2139         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
2140         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
2141         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
2142         * sysdeps/nios2/libm-test-ulps-name: Likewise.
2143         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
2144         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
2145         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
2146         * sysdeps/sh/libm-test-ulps-name: Likewise.
2147         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
2148         * sysdeps/tile/libm-test-ulps-name: Likewise.
2149         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
2151         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
2153         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
2154         (test-xfail-check-execstack): New variable.
2156         * sysdeps/mips/localplt.data: New file.
2158 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
2159             Steve Ellcey  <sellcey@caviumnetworks.com>
2161         * bits/wordsize.h: Add documentation.
2162         * sysdeps/aarch64/bits/wordsize.h : New file
2163         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
2164         definitions.
2165         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
2166         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
2167         with #if instead of #ifdef.
2168         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
2169         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
2170         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
2171         Add or change defines.
2172         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
2173         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2174         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
2175         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
2176         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2177         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2178         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
2179         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
2180         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
2181         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2182         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
2183         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
2184         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
2185         * sysdeps/x86/bits/wordsize.h: Likewise.
2187 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
2188             Kevin Petit  <kevin.petit@arm.com>
2190         * sysdeps/aarch64/memchr.S (__memchr): New file.
2192 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2194         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
2196 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
2198         [BZ #19398]
2199         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
2200         $(linknamespace-symlists-tests).
2202 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
2204         * time/tst-strptime2.c: Ignore -Wformat-length warning.
2206 2016-11-02  Florian Weimer  <fweimer@redhat.com>
2207             Carlos O'Donell  <carlos@redhat.com>
2209         [Bug #20729]
2210         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
2211         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
2212         for -Os related change.
2214 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
2216         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
2218 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
2220         [BZ #19673]
2221         * manual/math.texi (Exponents and Logarithms): Correct description
2222         of clog10.
2224 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
2226         [Bz #20729]
2227         * locale/weight.h: Include libc-internal.h.
2228         * locale/weightwc.h: Likewise.
2229         * nptl/nptl_dbP.h: Likewise.
2231 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
2233         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
2234         when it is MACH_PORT_NULL.
2236 2016-10-31  Andreas Schwab  <schwab@suse.de>
2238         [BZ #20707]
2239         * posix/glob.c (glob): Initialize pglob before checking for
2240         GLOB_BRACE.  Don't call glob recursively if pattern contains no
2241         valid brace expression despite GLOB_BRACE.
2242         * posix/globtest.sh: Test it.
2244 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2246         [BZ #20729]
2247         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
2248         Define.
2249         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
2250         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
2251         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
2252         for seq2.back_us and seq1.back_us only for -Os compiles.
2253         * locale/weightwc.h (findix): Likewise.
2254         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
2255         DB_GET_FIELD_ADDRESS only for -Os compiles.
2256         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
2257         for slen only for -Os compiles.
2258         * string/strcoll_l.c (get_next_seq): Ignore
2259         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
2260         for -Os compiles.
2262         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
2263         * include/crypt.h: New file.
2265 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2267         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
2268         from test-skeleton.c.
2269         (statclass): Replace calls to write with calls to write_message.
2271 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2273         * math/math.h
2274         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
2275         New macro.
2276         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
2277         Likewise.
2278         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
2279         Likewise.
2280         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
2281         SNANL.
2282         * math/test-double.h (snan_value_MACRO): New macro.
2283         * math/test-float.h (snan_value_MACRO): Likewise.
2284         * math/test-ldouble.h (snan_value_MACRO): Likewise.
2285         * math/libm-test.inc (issignaling_test_data): Add tests of
2286         snan_value_MACRO.
2288 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2290         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2291         behavior when eliding a lock not held by the current thread.
2292         * sysdeps/powerpc/nptl/elide.h: Likewise.
2294 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2296         [BZ #20728]
2297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2298         branch to _exit() by a function call.
2300 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2302         * malloc/malloc.c: Update chunk layout comments.
2303         (chunk_main_arena): Update comment.
2305 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2307         * crypt/sha256.c, crypt/sha256-block.c,
2308         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2309         sha256_process_block to __sha256_process_block.
2310         * crypt/sha512.c, crypt/sha512-block.c,
2311         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2312         sha512_process_block to __sha512_process_block.
2314 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2316         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2318         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2320 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2322         [BZ #20019]
2323         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2324         definition in unrelocated shared library.
2325         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2327 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2329         [BZ #20729]
2330         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2331         * sysdeps/unix/sysv/linux/i386/Makefile
2332         (uses-6-syscall-arguments): Define.
2333         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2334         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2335         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2336         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2337         Likewise.
2338         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2339         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2340         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2341         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2342         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2343         (CFLAGS-fallocate64.os): Likewise.
2344         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2345         (CFLAGS-pthread_rwlock_timedrdlock.os)
2346         (CFLAGS-pthread_rwlock_timedwrlock.o)
2347         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2348         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2349         (CFLAGS-sem_timedwait.os): Likewise.
2351 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2353         * elf/tst-linkall-static.c: New file.
2354         * elf/Makefile (tests-static): Add tst-linkall-static.
2355         (tst-linkall-static): Link against static libraries.
2357 2016-10-27  Florian Weimer  <fweimer@redhat.com>
2359         * malloc/malloc.c (sysmalloc): Initialize previous size field of
2360         mmaped chunks.
2362 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2364         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2365         members to mchunk_prev_size, mchunk_size.
2366         (chunk_main_arena): Reverse sense and rename from
2367         chunk_non_main_arena.
2368         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2369         mchunk_size instead of size.
2370         (set_non_main_arena): Define.
2371         (chunksize): Use chunksize_nomask instead of direct member access.
2372         (chunksize_nomask): Define.
2373         (next_chunk): Use chunksize instead of direct member access.
2374         (prev_size, set_prev_size): Define.
2375         (prev_chunk): Use prev_size instead of direct member access.
2376         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2377         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2378         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2379         (mchunk_prev_size, mchunk_size): Poison tokens.
2380         (unlink): Use chunksize_nomask, prev_size accessors.
2381         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2382         (do_check_free_chunk): Use prev_size accessor.
2383         (sysmalloc): Use set_prev_size, set_head accessors.
2384         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2385         (__libc_free): Use chunksize_nomask accessor.
2386         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2387         chunk_main_arena accessors.
2388         (_int_free): Use chunksize_nomask, prev_size accessors.
2389         (malloc_consolidate): Use chunksize, prev_size accessors.
2390         (_int_realloc): Use chunksize_nomask accessor.
2391         (_int_memalign): Use set_prev_size accessor.
2392         (__malloc_info): Use chunksize_nomask accessor.
2393         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2394         accessors.
2395         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2396         (heap_trim): Use chunksize_nomask, prev_size accessors.
2398 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2400         [BZ #19380]
2401         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2402         for inexact results.
2403         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2404         of inexact result where mpfr_subnormalize is the only inexact
2405         step.
2406         * stdlib/tst-strtod-round-data.h: Regenerated.
2407         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2408         Define to 0.
2409         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2411 2016-10-27  David S. Miller  <davem@davemloft.net>
2413         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2415 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2417         * malloc/malloc.c (do_set_mallopt_check): New function.
2418         (do_set_mmap_threshold): Likewise.
2419         (do_set_mmaps_max): Likewise.
2420         (do_set_top_pad): Likewise.
2421         (do_set_perturb_byte): Likewise.
2422         (do_set_trim_threshold): Likewise.
2423         (do_set_arena_max): Likewise.
2424         (do_set_arena_test): Likewise.
2425         (__libc_mallopt): Use them.
2427 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2429         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2430         (canonicalize): New declaration.
2431         * math/Versions (canonicalize): New libm symbol at version
2432         GLIBC_2.25.
2433         (canonicalizef): Likewise.
2434         (canonicalizel): Likewise.
2435         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2436         * math/s_canonicalize_template.c: New file.
2437         * math/libm-test.inc: Update comment on functions tested and
2438         testing of NaN payloads.
2439         (TEST_NAN_PAYLOAD): New macro.
2440         (NO_TEST_INLINE): Update value.
2441         (XFAIL_TEST): Likewise.
2442         (ERRNO_UNCHANGED): Likewise.
2443         (ERRNO_EDOM): Likewise.
2444         (ERRNO_ERANGE): Likewise.
2445         (IGNORE_RESULT): Likewise.
2446         (NON_FINITE): Likewise.
2447         (TEST_SNAN): Likewise.
2448         (NO_TEST_MATHVEC): Likewise.
2449         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2450         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2451         (struct test_Ffp_b1_data): New type.
2452         (RUN_TEST_Ffp_b1): New macro.
2453         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2454         (canonicalize_test_data): New array.
2455         (canonicalize_test): New function.
2456         (main): Call canonicalize_test.
2457         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2458         canonicalizef and canonicalizel.
2459         * manual/libm-err-tab.pl: Update comment on interfaces without
2460         ulps tabulated.
2461         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2462         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2463         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2464         canonicalize.
2465         (CFLAGS-nldbl-canonicalize.c): New variable.
2466         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2467         to ...
2468         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2469         ... here.
2470         (do_test): Also test canonicalizel.
2471         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2472         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2473         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2474         file.
2475         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2476         Use libm_hidden_def.
2477         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2478         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2479         (do_test): Also test canonicalizel.
2480         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2481         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2482         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2483         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2484         libm_hidden_def.
2485         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2486         macro.
2487         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2488         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2489         * sysdeps/nacl/libm.abilist: Update.
2490         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2491         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2492         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2493         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2494         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2495         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2497         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2498         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2503         Likewise.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2505         Likewise.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2507         Likewise.
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2509         Likewise.
2510         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2511         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2512         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2513         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2514         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2516         Likewise.
2517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2518         Likewise.
2519         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2520         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2521         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2523         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2524         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2525         getpayload.
2526         (CFLAGS-nldbl-getpayload.c): New variable.
2528 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2530         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2531         integer from the format string.
2533 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2535         [BZ #19473]
2536         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2537         declarations.
2538         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2539         weak aliases.
2540         * malloc/hooks.c (__malloc_get_state): Remove definition.
2541         (malloc_get_state): New stub implementation as
2542         compatibility symbol.
2543         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2544         compat symbol.
2545         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2546         malloc_set_state.
2547         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2549 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2551         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2552         (names): Turn into concatenation of strings.
2553         (gconv_init): Adapt iteration over names.
2555 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2557         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2558         make const.
2559         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2560         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2561         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2562         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2563         character in sbconv.
2564         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2565         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2566         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2568 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2570         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2572         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2573         (M_TRIM_THRESHOLD): Likewise.
2575         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2576         (M_ARENA_MAX): Likewise.
2577         * malloc/malloc.c: Remove obsolete comment.
2579         * manual/memory.texi: Add environment variable alternatives to
2580         setting mallopt parameters.
2582 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2584         * include/atomic.h
2585         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2586         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2588 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2590         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2591         * stdlib/tst-strfrom.h: New file.
2592         * stdlib/tst-strfrom.c: New file.
2593         * stdlib/tst-strfrom-locale.c: New file.
2595         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2596         * stdlib/bug-strtod2.c: Likewise.
2597         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2598         * stdlib/tst-strtod6.c: Likewise.
2599         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2601 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2603         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2604         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2605         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2606         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2607         * stdlib/stdlib.h (strfromd): New declaration.
2608         (strfromf): Likewise.
2609         (strfroml): Likewise.
2610         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2611         strfrom.
2612         * stdlib/strfromd.c: New file.
2613         * stdlib/strfromf.c: Likewise.
2614         * stdlib/strfroml.c: Likewise.
2615         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2616         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2617         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2618         * sysdeps/arm/nacl/libc.abilist: Update.
2619         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2620         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2621         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2622         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2623         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2624         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2625         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2628         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2629         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2630         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2631         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2632         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2637         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2638         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2639         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2640         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2641         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2644         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2645         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2646         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2648 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2650         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2651         instead of cmpli.
2652         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2653         instead of cmpli.
2655 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2657         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2658         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2659         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2660         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2661         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2662         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2664 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2666         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2667         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2668         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2669         SYSCALL_LL64_PRW.
2670         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2671         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2672         __ASSUME_PRW_DUMMY_ARG.
2673         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2674         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2675         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2676         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2677         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2678         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2680 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2682         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2684 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2686         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2687         "C++", to override a potential extern "C" directive around the
2688         header file inclusion.
2690 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2692         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2694 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2696         * sysdeps/powerpc/fpu/fenv_private.h:
2697         (_FPU_MASK_ALL): Rename to...
2698         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2699         XE FPSCR bits.
2701         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2703         (_FPU_MASK_ROUNDING): Rename to...
2704         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2705         NI bits.
2707         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2708         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2709         bits and rounding bits.
2711         (__libc_feholdbits_ppc): New inline function to mask, set,
2712         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2713         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2714         (libc_feholdexcept_setround_ppc): Likewise.
2716         (__libc_femergeenv_ppc): New function to dynamically mask both
2717         old and new FP environments and merge.
2718         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2719         (libc_feresetround_ppc): Likewise.
2720         (libc_feupdateenv_test_ppc): Likewise.
2721         (libc_feupdateenv_ppc): Likewise.
2723         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2724         of ISA RN bits, and update macro names.
2725         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2726         effectively the same as the previously mentioned function.
2728         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2729         usage with fe_resetround_ppc.
2731         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2732         to be used.
2733         (libc_feholdexcept_setround_ctxf): Likewise.
2734         (libc_feholdexcept_setround_ctxl): Likewise.
2736 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2738         [BZ #20715]
2739         * math/math.h [__cplusplus] (iszero): Define as function template.
2740         * math/Makefile [CXX] (tests): Add test-math-iszero.
2741         (CFLAGS-test-math-iszero.cc): Set.
2742         * math/test-math-iszero.cc: New file.
2744 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2746         [BZ #20660]
2747         * sysdeps/arm/e_sqrt.c: New file.
2748         * sysdeps/arm/e_sqrtf.c: Likewise.
2750 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2752         [BZ #20718]
2753         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2754         not use floating-point comparisons to test sign.
2755         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2756         Likewise.
2758         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2759         (getpayload): New declaration.
2760         * math/Versions (getpayload): New libm symbol at version
2761         GLIBC_2.25.
2762         (getpayloadf): Likewise.
2763         (getpayloadl): Likewise.
2764         * math/Makefile (libm-calls): Add s_getpayloadF.
2765         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2766         (struct test_f_f_data): Add comment.
2767         (RUN_TEST_fp_f): New macro.
2768         (RUN_TEST_LOOP_fp_f): Likewise.
2769         (getpayload_test_data): New array.
2770         (getpayload_test): New function.
2771         (main): Call getpayload_test.
2772         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2773         descriptor.
2774         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2775         getpayloadf and getpayloadl.
2776         * manual/libm-err-tab.pl: Update comment on interfaces without
2777         ulps tabulated.
2778         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2779         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2780         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2781         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2782         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2783         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2784         * sysdeps/nacl/libm.abilist: Update.
2785         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2786         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2787         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2788         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2789         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2790         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2791         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2792         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2793         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2794         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2795         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2796         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2798         Likewise.
2799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2800         Likewise.
2801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2802         Likewise.
2803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2804         Likewise.
2805         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2806         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2807         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2808         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2809         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2811         Likewise.
2812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2813         Likewise.
2814         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2815         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2816         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2818 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2820         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2821         tst-fallocate{64}.
2822         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2823         on syscall return.
2825 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2827         [BZ #20689]
2828         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2829         usable.
2831 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2833         * sysdeps/generic/nan-high-order-bit.h: New file.
2834         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2835         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2836         * sysdeps/hppa/math_private.h: Remove file.
2837         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2838         not define here.
2839         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2840         <nan-high-order-bit.h>.
2841         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2842         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2843         <nan-high-order-bit.h>.
2844         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2845         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2846         <nan-high-order-bit.h>.
2847         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2848         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2849         <nan-high-order-bit.h>.
2850         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2851         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2852         <nan-high-order-bit.h>.
2853         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2854         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2855         <nan-high-order-bit.h>.
2856         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2857         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2858         <nan-high-order-bit.h>.
2859         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2860         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2861         <nan-high-order-bit.h>.
2862         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2863         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2864         <nan-high-order-bit.h>.
2865         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2866         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2867         <nan-high-order-bit.h>.
2868         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2869         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2870         <nan-high-order-bit.h>.
2871         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2872         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2873         <nan-high-order-bit.h>.
2874         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2875         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2876         <nan-high-order-bit.h>.
2877         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2878         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2879         <nan-high-order-bit.h>.
2880         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2881         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2882         <nan-high-order-bit.h>.
2883         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2884         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2885         <nan-high-order-bit.h>.
2886         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2887         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2888         <nan-high-order-bit.h>.
2889         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2890         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2891         <nan-high-order-bit.h>.
2892         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2894 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2896         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2898 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2900         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2901         abort-instr.h.
2902         (EFAULT): Remove conditional define.
2903         (ENOSYS): Likewise.
2904         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2905         instead of conditional branch instructions.
2907 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2909         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2910         (totalordermag): New declaration.
2911         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2912         New macro.
2913         * math/Versions (totalordermag): New libm symbol at version
2914         GLIBC_2.25.
2915         (totalordermagf): Likewise.
2916         (totalordermagl): Likewise.
2917         * math/Makefile (libm-calls): Add s_totalordermagF.
2918         * math/libm-test.inc (totalordermag_test_data): New array.
2919         (totalordermag_test): New function.
2920         (main): Call totalordermag_test.
2921         * math/test-tgmath.c (NCALLS): Increase to 125.
2922         (F(compile_test)): Call totalordermag.
2923         (F(totalordermag)): New function.
2924         * manual/arith.texi (FP Comparison Functions): Document
2925         totalordermag, totalordermagf and totalordermagl.
2926         * manual/libm-err-tab.pl: Update comment on interfaces without
2927         ulps tabulated.
2928         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2929         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2930         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2931         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2932         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2934         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2935         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2936         totalordermag.
2937         (CFLAGS-nldbl-totalordermag.c): New variable.
2938         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2939         (do_test): Also test totalordermagl.
2940         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2941         Likewise.
2942         * sysdeps/nacl/libm.abilist: Update.
2943         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2944         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2945         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2946         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2947         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2948         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2949         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2950         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2951         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2952         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2953         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2954         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2956         Likewise.
2957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2958         Likewise.
2959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2960         Likewise.
2961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2962         Likewise.
2963         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2964         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2965         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2966         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2967         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2969         Likewise.
2970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2971         Likewise.
2972         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2973         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2974         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2976 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2978         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2979         boolean.
2981 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2983         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2984         raising FE_INVALID with feraisexcept in case where part of
2985         argument is infinite, subtract that part of argument from itself.
2986         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2987         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2988         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2990 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2992         * math/libm-test.inc (totalorder_test_data): Add more tests.
2994 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2996         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2997         Undefine weak_alias and add a comment why mips64 require
2998         versioning.
3000 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3002         [BZ #20647]
3003         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
3004         maximum CPUID level is less than 2.
3006 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3008         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3009         (totalorder): New declaration.
3010         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
3011         New macro.
3012         * math/Versions (totalorder): New libm symbol at version
3013         GLIBC_2.25.
3014         (totalorderf): Likewise.
3015         (totalorderl): Likewise.
3016         * math/Makefile (libm-calls): Add s_totalorderF.
3017         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
3018         string.
3019         * math/libm-test.inc (PAYLOAD_DIG): New macro.
3020         (qnan_value_pl): Likewise.
3021         (snan_value_pl): Likewise.
3022         (qnan_value): Define using qnan_value_pl.
3023         (snan_value): Define using snan_value_pl.
3024         (struct test_ff_i_data): Add comment about which tests use this
3025         structure.
3026         (RUN_TEST_ff_b): New macro.
3027         (RUN_TEST_LOOP_ff_b): Likewise.
3028         (totalorder_test_data): New array.
3029         (totalorder_test): New function.
3030         (main): Call totalorder_test.
3031         * math/test-tgmath.c (NCALLS): Increase to 122.
3032         (F(compile_test)): Call totalorder.
3033         (F(totalorder)): New function.
3034         * manual/arith.texi (FP Comparison Functions): Document
3035         totalorder, totalorderf and totalorderl.
3036         * manual/libm-err-tab.pl: Update comment on interfaces without
3037         ulps tabulated.
3038         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
3039         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
3040         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
3041         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
3042         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
3043         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
3044         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
3045         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3046         totalorder.
3047         (CFLAGS-nldbl-totalorder.c): New variable.
3048         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
3049         file.
3050         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3051         Add test-totalorderl-ldbl-128ibm.
3052         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
3053         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
3054         test-totalorderl-ldbl-96.
3055         * sysdeps/nacl/libm.abilist: Update.
3056         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3057         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3058         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3059         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3060         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3061         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3062         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3063         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3064         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3069         Likewise.
3070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3071         Likewise.
3072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3073         Likewise.
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3075         Likewise.
3076         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3077         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3078         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3079         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3080         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3082         Likewise.
3083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3084         Likewise.
3085         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3086         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3087         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3089 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3091         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
3092         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
3093         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
3094         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
3095         remove ENOSYS implementation.
3096         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
3097         Consolidate all Linux implementations.
3099 2016-10-11  Florian Weimer  <fweimer@redhat.com>
3101         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
3102         * resolv/herror.c (herror): Cast away const-ness.
3103         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
3104         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
3106 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
3108         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
3109         instead of M_NAN + M_NAN.
3110         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3112 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3114         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
3115         unused variable 'p'.
3117 2016-10-09  Alan Modra  <amodra@gmail.com>
3118             Andreas Schwab  <schwab@linux-m68k.org>
3120         [BZ #20554]
3121         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
3122         [PIC && !SHARED]: Set up PIC register for PLT call.
3124 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
3126         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
3127         conditional on value of [__FLT_EVAL_METHOD__].
3128         * math/test-iseqsig-excess-precision.c: New file.
3129         * math/Makefile (tests): Add test-iseqsig-excess-precision.
3131 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3133         * math/s_iseqsig_template.c: Include math-private.h.
3135         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
3136         * posix/tst-posix_fadvise.c: New file.
3137         * posix/tst-posix_fadvise64.c: Likewise.
3138         * posix/tst-posix_fadvise-common.c: Likewise.
3139         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3140         (__ASSUME_FADVISE64_64_6ARG): Define.
3141         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3142         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
3143         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3144         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
3145         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
3146         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
3147         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
3148         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3149         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
3150         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
3151         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
3152         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
3155         Likewise.
3156         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
3157         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
3158         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
3159         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3160         Alias to __posix_fadvise64_l32.
3161         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
3162         Add compat definition to posix_fadvise64.
3163         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3164         Add versioned definition to posix_fadvise64.
3165         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
3166         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
3167         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
3168         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
3169         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
3171         * io/Makefile (tests): Add tst-posix_fallocate and
3172         tst-posix_fallocate64.
3173         * io/tst-posix_fallocate-common.c: New file.
3174         * io/tst-posix_fallocate.c: Likewise.
3175         * io/tst-posix_fallocate64.c: Likewise.
3176         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
3177         file.
3178         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
3179         Likewise.
3180         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
3181         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
3182         Likewise.
3183         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
3184         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
3185         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
3186         SYSCALL_LL to pass both offset and len arguments.
3187         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
3188         Likewise.
3189         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
3190         __libc_pwrite64 alias used by posix_fallocate64.
3192         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3193         tst-fallocate64.
3194         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3195         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3196         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3197         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3198         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3199         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3200         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3201         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3202         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3203         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3204         macro on offset argument.
3205         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3206         SYSCALL_LL64 on offset argument.
3208         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3209         tst-fallocate64.
3210         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3211         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3212         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3213         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3214         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3215         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3216         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3217         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3218         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3219         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3220         macro on offset argument.
3221         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3222         SYSCALL_LL64 on offset argument.
3223         * test-skeleton.c (FAIL_RET): Add macro.
3224         (FAIL_EXIT): Likewise.
3225         (FAIL_EXIT1): Likewise.
3226         (_FAIL): Likewise.
3228 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3230         [BZ #20629]
3231         resolv: Remove RES_USEBSTRING and its implementation.
3232         * resolv/resolv.h (RES_USEBSTRING): Remove.
3233         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
3234         (digitvalue, encode_bitstring, decode_bitstring): Remove.
3235         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
3236         (labellen): Remove extended label types support.
3237         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
3238         * resolv/res_init.c (res_setoptions): Likewise.
3239         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3241 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3243         resolv: Remove RES_NOIP6DOTINT and its implementation.
3244         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
3245         (RES_NOIP6DOTINT): Remove.
3246         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
3247         handling.
3248         * resolv/res_debug.c (p_option): Likewise.
3249         * resolv/res_init.c (res_setoptions): Likewise.
3250         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3252 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3254         resolv: Deprecate unimplemented flags.
3255         * misc/sys/cdefs.h (__glibc_macro_warning1)
3256         (__glibc_macro_warning): Define.
3257         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
3258         (RES_KEEPTSIG): Mark as deprecated.
3259         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
3260         RES_NOCHECKNAME, RES_KEEPTSIG.
3261         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
3263 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3265         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
3266         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
3267         Use strong_alias to create symbols for glibc verison 2.19.
3269 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3271         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
3273 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3275         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
3277 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3279         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
3281 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3283         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3284         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
3285         in header for using it as type for ifunc function because __GI_* symbols
3286         for ppc32 do not target the ifunc symbols.
3287         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3289 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3291         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3292         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3293         libc_ifunc_hidden_def.
3294         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3295         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3296         Redirect ifunced function in header for using it as type of ifunc'ed
3297         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3298         function for __GI_* symbol.
3299         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3300         * include/libc-symbols.h
3301         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3303 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3305         [BZ #20478]
3306         * sysdeps/s390/multiarch/ifunc-resolve.h
3307         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3308         to create ifunc symbols.
3309         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3310         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3311         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3312         for using it as type for ifunc function.
3313         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3314         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3315         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3316         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3317         * sysdeps/s390/multiarch/strcat.c: Likewise.
3318         * sysdeps/s390/multiarch/strchr.c: Likewise.
3319         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3320         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3321         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3322         * sysdeps/s390/multiarch/strlen.c: Likewise.
3323         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3324         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3325         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3326         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3327         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3328         * sysdeps/s390/multiarch/strspn.c: Likewise.
3329         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3330         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3331         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3332         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3333         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3334         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3335         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3336         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3337         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3338         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3339         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3340         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3342 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3344         * include/libc-symbols.h (__ifunc_resolver):
3345         New macro is used by __ifunc* macros.
3346         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3347         depending on HAVE_GCC_IFUNC.
3348         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3349         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3351         Redirect ifunced function in header for using as type for ifunc function.
3352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3358         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3359         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3360         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3361         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3362         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3363         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3364         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3365         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3371         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3372         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3373         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3374         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3375         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3376         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3377         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3378         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3379         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3380         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3381         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3382         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3383         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3384         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3386         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3387         instead of libc_ifunc() macro.
3388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3391 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3393         * config.h.in (HAVE_GCC_IFUNC): New undef.
3394         * configure.ac: Add check if gcc supports attribute ifunc feature.
3395         * configure: Regenerated.
3396         * manual/install.texi: Add recommendation for gcc with
3397         indirect-function support.
3398         * INSTALL: Regenerated.
3400 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3402         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3403         macro.
3404         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3405         (__iseqsig): New declaration.
3406         * math/s_iseqsig_template.c: New file.
3407         * math/Versions (__iseqsigf): New libm symbol at version
3408         GLIBC_2.25.
3409         (__iseqsig): Likewise.
3410         (__iseqsigl): Likewise.
3411         * math/libm-test.inc (iseqsig_test_data): New array.
3412         (iseqsig_test): New function.
3413         (main): Call iseqsig_test.
3414         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3415         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3416         * manual/libm-err-tab.pl: Update comment on interfaces without
3417         ulps tabulated.
3418         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3419         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3420         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3421         * sysdeps/nacl/libm.abilist: Update.
3422         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3423         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3424         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3425         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3426         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3427         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3428         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3429         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3430         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3431         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3432         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3433         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3435         Likewise.
3436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3437         Likewise.
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3439         Likewise.
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3441         Likewise.
3442         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3443         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3444         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3445         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3446         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3448         Likewise.
3449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3450         Likewise.
3451         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3452         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3453         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3455 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3457         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3458         do_sincos_2, sloww, sloww1): Update comments.
3460         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3461         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3463         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3464         K boolean and rename it.
3465         (__sin): Adjust.
3466         (__cos): Adjust.
3468 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3469             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3471         * manual/nss.texi: Fix typos in the manual.
3473 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3475         * manual/contrib.texi: Fix typos in the manual.
3477         * manual/maint.texi: Fix typos in the manual.
3479         * manual/install.texi: Fix typos in the manual.
3480         * INSTALL: Regenerated.
3482         * manual/lang.texi: Fix typos in the manual.
3484         * manual/probes.texi: Fix typos in the manual.
3486         * manual/threads.texi: Fix typos in the manual.
3488         * manual/debug.texi: Fix typos in the manual.
3490         * manual/crypt.texi: Fix typos in the manual.
3492         * manual/conf.texi: Fix typos in the manual.
3494         * manual/sysinfo.texi: Fix typos in the manual.
3496         * manual/users.texi: Fix typos in the manual.
3498         * manual/job.texi: Fix typos in the manual.
3500         * manual/process.texi: Fix typos in the manual.
3502         * manual/argp.texi: Fix typos in the manual.
3503         * manual/getopt.texi: Likewise.
3504         * manual/startup.texi: Likewise.
3506         * manual/signal.texi: Fix typos in the manual.
3508         * manual/setjmp.texi: Fix typos in the manual.
3510         * manual/resource.texi: Fix typos in the manual.
3512         * manual/time.texi: Fix typos in the manual.
3514         * manual/arith.texi: Fix typos in the manual.
3516         * manual/math.texi: Fix typos in the manual.
3518         * manual/syslog.texi: Fix typos in the manual.
3520         * manual/terminal.texi: Fix typos in the manual.
3522         * manual/socket.texi: Fix typos in the manual.
3524         * manual/filesys.texi: Fix typos in the manual.
3526         * manual/llio.texi: Fix typos in the manual.
3528         * manual/stdio.text: Fix typos in the manual.
3530 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3532         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3533         instead of K1.
3535         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3536         SHIFT_QUADRANT and make it bool.
3537         (do_sincos_2): Likewise.
3538         (sloww): Likewise.
3539         (sloww1): Likewise.
3540         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3541         (__cos): Likewise.
3543 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3545         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3547 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3549         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3550         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3551         0x7fffffffL].
3552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3554 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3556         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3557         inline by __inline__.
3558         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3559         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3560         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3561         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3562         sigset_t from signal.h.
3563         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3564         which is already required.
3566 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3568         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3570 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3572         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3573         (struct tcp_repair_window): New type.
3575 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3577         * libio/tst-memstream3.c: Include string.h.
3579 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3581         [BZ #18241]
3582         [BZ #20181]
3583         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3584         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3585         write position is at the end the buffer.
3586         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3587         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3588         (_IO_str_seekoff): Set correct offset from negative displacement and
3589         set EINVAL for invalid ones.
3590         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3591         buffer length.
3592         (_IO_wstr_switch_to_get_mode): New function.
3593         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3594         set EINVAL for invalid ones.
3595         * libio/tst-memstream3.c: New file.
3596         * libio/tst-wmemstream3.c: Likewise.
3597         * manual/examples/memstrm.c: Remove warning when priting size_t.
3599 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3601         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3602         macro to use __builtin_fma.
3603         * sysdeps/x86_64/fpu/dla.h: Remove file.
3605         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3606         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3607         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3609 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3611         [BZ #20292]
3612         * elf/Makefile (routines): Add dl-addr-obj.
3613         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3614         tst-_dl_addr_inside_object.
3615         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3616         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3617         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3618         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3619         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3620         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3621         * elf/dl-open.c: Likewise.
3622         * elf/dl-addr-obj.c: New file.
3623         * elf/tst-_dl_addr_inside_object.c: New file.
3625 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3627         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3628         <bits/iscanonical.h>.
3629         * bits/iscanonical.h: New file.
3630         * math/s_iscanonicall.c: Likewise.
3631         * math/Versions (__iscanonicall): New libm symbol at version
3632         GLIBC_2.25.
3633         * math/libm-test.inc (iscanonical_test_data): New array.
3634         (iscanonical_test): New function.
3635         (main): Call iscanonical_test.
3636         * math/Makefile (headers): Add bits/iscanonical.h.
3637         (type-ldouble-routines): Add s_iscanonicall.
3638         * manual/arith.texi (Floating Point Classes): Document
3639         iscanonical.
3640         * manual/libm-err-tab.pl: Update comment on interfaces without
3641         ulps tabulated.
3642         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3643         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3644         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3645         Likewise.
3646         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3647         test-iscanonical-ldbl-128ibm.
3648         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3649         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3650         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3651         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3652         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3653         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3654         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3656         Likewise.
3657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3658         Likewise.
3659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3660         Likewise.
3661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3662         Likewise.
3663         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3664         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3666 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3668         * string/bits/string3.h: Remove C++ style comments.
3670 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3672         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3673         instead of ternary condition.
3674         (do_sincos_2): Likewise.
3675         (__sin): Likewise.
3676         (__cos): Likewise.
3677         (slow): Likewise.
3678         (sloww): Likewise.
3679         (sloww1): Likewise.
3680         (bsloww): Likewise.
3681         (bsloww1): Likewise.
3683         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3684         instead of ternary condition.
3685         (do_sin_slow): Likewise.
3686         (do_sincos_1): Likewise.
3687         (do_sincos_2): Likewise.
3688         (__cos): Likewise.
3689         (sloww): Likewise.
3690         (sloww1): Likewise.
3691         (sloww2): Likewise.
3692         (bsloww): Likewise.
3693         (bsloww1): Likewise.
3694         (bsloww2): Likewise.
3696         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3697         check from here...
3698         (slow2): ... and here...
3699         (__sin): ... to here.
3701 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3703         * math/math.h
3704         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3705         Cast argument to its own type.
3706         * math/test-iszero-excess-precision.c: New file.
3707         * math/Makefile (tests): Add test-iszero-excess-precision.
3708         (CFLAGS-test-iszero-excess-precision.c): New variable.
3710 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3712         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3713         field, add err field.
3714         (__spawni_child): Report error through err member instead of pipe.
3715         (__spawnix): Likewise.
3717 2016-09-28  Zack Weinberg  <zackw@panix.com>
3719         * scripts/check-installed-headers.sh: Generalize treatment of
3720         sys/elf.h to all target architectures.
3722         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3723         deleted typedef ucontext_t.
3725 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3727         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3728         (__INTERNAL_SYSCALL1): Likewise.
3729         (__INTERNAL_SYSCALL2): Likewise.
3730         (__INTERNAL_SYSCALL3): Likewise.
3731         (__INTERNAL_SYSCALL4): Likewise.
3732         (__INTERNAL_SYSCALL5): Likewise.
3733         (__INTERNAL_SYSCALL6): Likewise.
3734         (__INTERNAL_SYSCALL7): Likewise.
3735         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3736         (__INTERNAL_SYSCALL_NARGS): Likewise.
3737         (__INTERNAL_SYSCALL_DISP): Likewise.
3738         (INTERNAL_SYSCALL_CALL): Likewise.
3739         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3740         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3741         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3742         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3743         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3744         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3745         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3746         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3747         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3748         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3749         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3750         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3751         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3753 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3755         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3756         macro.
3757         * math/libm-test.inc (iszero_test_data): New array.
3758         (iszero_test): New function.
3759         (main): Call iszero_test.
3760         * manual/arith.texi (Floating Point Classes): Document iszero.
3761         * manual/libm-err-tab.pl: Update comment on interfaces without
3762         ulps tabulated.
3764 2016-09-23  Zack Weinberg  <zackw@panix.com>
3766         * scripts/check-installed-headers.sh: New script.
3767         * Rules: In each directory that defines header files to be installed,
3768         run check-installed-headers.sh on them as a special test.
3769         * Makefile: Likewise for the headers installed at top level.
3771         * include/aliases.h, include/alloca.h, include/argz.h
3772         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3773         * include/elf.h, include/envz.h, include/err.h
3774         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3775         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3776         * include/link.h, include/malloc.h, include/mcheck.h
3777         * include/mntent.h, include/netinet/ether.h
3778         * include/nss.h, include/obstack.h, include/printf.h
3779         * include/pty.h, include/resolv.h, include/rpc/auth.h
3780         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3781         * include/rpc/clnt.h, include/rpc/des_crypt.h
3782         * include/rpc/key_prot.h, include/rpc/netdb.h
3783         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3784         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3785         * include/rpc/rpc_msg.h, include/rpc/svc.h
3786         * include/rpc/svc_auth.h, include/rpc/xdr.h
3787         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3788         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3789         * include/rpcsvc/ypupd.h, include/shadow.h
3790         * include/stdio_ext.h, include/sys/epoll.h
3791         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3792         * include/sys/prctl.h, include/sys/profil.h
3793         * include/sys/statfs.h, include/sys/sysctl.h
3794         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3795         * sysdeps/arm/nacl/include/bits/setjmp.h
3796         * sysdeps/mips/include/sys/asm.h
3797         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3798         * sysdeps/unix/sysv/linux/include/sys/timex.h
3799         * sysdeps/x86/fpu/include/bits/fenv.h:
3800         Add #ifndef _ISOMAC guard around internal declarations.
3801         Add multiple-inclusion guard if not already present.
3803 2016-09-23  Zack Weinberg  <zackw@panix.com>
3805         * sysdeps/generic/sys/ucontext.h
3806         * sysdeps/arm/sys/ucontext.h
3807         * sysdeps/i386/sys/ucontext.h
3808         * sysdeps/m68k/sys/ucontext.h
3809         * sysdeps/mips/sys/ucontext.h
3810         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3811         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3812         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3813         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3814         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3815         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3816         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3817         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3818         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3819         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3820         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3821         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3822         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3823         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3824         Include both bits/sigcontext.h and bits/sigstack.h.
3825         Fix grammar error in comment, if present.
3827         * bits/sigstack.h
3828         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3829         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3830         * sysdeps/unix/sysv/linux/bits/sigstack.h
3831         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3832         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3833         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3834         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3835         * bits/sigcontext.h
3836         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3837         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3838         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3839         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3840         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3841         as well as signal.h, if this was not already allowed.  Request
3842         definition of size_t if necessary.  Minimize semantically-null
3843         differences across files.
3845 2016-09-23  Zack Weinberg  <zackw@panix.com>
3847         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3848         Remove all logic conditional on __need macros.  Move all the
3849         conditionally defined types to their own headers...
3850         * time/bits/types/clock_t.h: Define clock_t here.
3851         * time/bits/types/clockid_t.h: Define clockid_t here.
3852         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3853         * time/bits/types/struct_timespec.h: Define struct timespec here.
3854         * time/bits/types/struct_timeval.h: Define struct timeval here.
3855         * time/bits/types/struct_tm.h: Define struct tm here.
3856         * time/bits/types/time_t.h: Define time_t here.
3857         * time/bits/types/timer_t.h: Define timer_t here.
3858         * time/Makefile: Install the new headers.
3860         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3861         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3862         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3863         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3864         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3865         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3866         * sysdeps/unix/sysv/linux/bits/resource.h
3867         * sysdeps/unix/sysv/linux/bits/timex.h
3868         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3869         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3870         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3871         * sysdeps/unix/sysv/linux/sys/acct.h
3872         * sysdeps/unix/sysv/linux/sys/timerfd.h
3873         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3874         * time/sys/time.h, time/sys/timeb.h
3875         Use the new bits/types headers.
3877         * include/time.h: Remove __need logic.
3878         * include/bits/time.h
3879         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3880         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3881         * include/bits/types/struct_itimerspec.h
3882         * include/bits/types/struct_timespec.h
3883         * include/bits/types/struct_timeval.h
3884         * include/bits/types/struct_tm.h:
3885         New wrapper headers.
3887 2016-09-23  Zack Weinberg  <zackw@panix.com>
3889         * sysdeps/mach/hurd/net/if_ppp.h
3890         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3891         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3892         if __USE_MISC is defined, to ensure struct ifreq is declared.
3894         * inet/netinet/ether.h: Condition all function prototypes
3895         on __USE_MISC, to ensure struct ether_addr is declared.
3897         * socket/bits/types/struct_osockaddr.h: New header.
3898         * include/bits/types/struct_osockaddr.h: New wrapper.
3899         * socket/Makefile: Install the new header.
3900         * socket/sys/socket.h, inet/protocols/talkd.h:
3901         Refer to bits/types/struct_osockaddr.h for the definition of
3902         struct osockaddr.
3904 2016-09-23  Zack Weinberg  <zackw@panix.com>
3906         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3907         * inet/protocols/routed.h, inet/protocols/talkd.h
3908         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3909         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3910         * sysdeps/generic/netinet/if_ether.h
3911         * sysdeps/generic/netinet/in_systm.h
3912         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3913         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3914         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3915         * sysdeps/mach/hurd/net/if_arp.h
3916         * sysdeps/mach/hurd/net/if_ppp.h
3917         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3918         * sysdeps/unix/sysv/linux/bits/in.h
3919         * sysdeps/unix/sysv/linux/net/ethernet.h
3920         * sysdeps/unix/sysv/linux/net/if_arp.h
3921         * sysdeps/unix/sysv/linux/net/if_ppp.h
3922         * sysdeps/unix/sysv/linux/net/if_shaper.h
3923         * sysdeps/unix/sysv/linux/net/route.h
3924         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3925         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3926         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3927         * sysdeps/unix/sysv/linux/netipx/ipx.h
3928         * sysdeps/unix/sysv/linux/sys/acct.h
3929         * include/arpa/nameser.h, include/resolv.h:
3930         Change all uses of u_char to unsigned char,
3931         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3932         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3933         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3934         and u_int64_t and u_quad_t to uint64_t.
3936         * mach/sys/reboot.h: Remove two casts of integer literals
3937         to the types they already have.
3939         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3940         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3941         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3942         from referring to 'unsigned char' to 'uint8_t' for consistency with
3943         the macro definition below.
3945         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3946         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3947         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3948         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3949         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3950         * sysdeps/unix/sysv/linux/sys/acct.h
3951         * include/arpa/nameser.h, include/resolv.h:
3952         Fix indentation disrupted by mechanical edits.
3954         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3955         * sysdeps/generic/netinet/in_systm.h
3956         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3957         * sysdeps/gnu/netinet/udp.h
3958         * sysdeps/unix/sysv/linux/net/ethernet.h
3959         * sysdeps/unix/sysv/linux/net/if_arp.h
3960         * sysdeps/unix/sysv/linux/net/if_ppp.h
3961         * sysdeps/unix/sysv/linux/net/if_shaper.h
3962         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3963         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3964         * sysdeps/unix/sysv/linux/netipx/ipx.h
3965         * sysdeps/unix/sysv/linux/sys/acct.h
3966         Include stdint.h for uintNN_t definitions.
3967         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3969 2016-09-23  Zack Weinberg  <zackw@panix.com>
3971         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3972         * sysdeps/unix/sysv/linux/netrose/rose.h:
3973         Include sys/socket.h and netax25/ax25.h.
3975         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3976         * resolv/arpa/nameser_compat.h:
3977         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3979         * sysdeps/unix/sysv/linux/sys/quota.h:
3980         Use __caddr_t instead of caddr_t.
3981         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3982         Use __clockid_t instead of clockid_t.
3984         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3986         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3987         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3988         expanding it.
3990         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3991         Define __glibc_c99_flexarr_available to 1 when the compiler
3992         supports C99-compatible flexible array members, 0 otherwise.
3993         * sysdeps/unix/sysv/linux/bits/socket.h
3994         * sysdeps/mach/hurd/bits/socket.h
3995         * bits/socket.h: Use __glibc_c99_flexarr_available in
3996         definitions of struct cmsghdr and CMSG_DATA.
3998 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4000         * manual/nss.texi (NSS Modules Interface): Adjust function return
4001         type to enum nss_status.  Document errnop argument.  Clarify
4002         h_errnop semantics.  Fix cross-reference formatting.
4003         (NSS Module Function Internals): Mention that *errnop needs to be
4004         set on failure, but not to zero.
4006 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4008         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
4009         (get_random_name): New functions.
4010         (check_wrapper_flags_mode): Use linkat to give the new file a name
4011         determined by get_random_name.
4012         (do_test): Add calls to test open64 and openat64.
4014 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4016         * test-skeleton.c: Remove #include <stdarg.h>.
4018 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
4020         [BZ #19826]
4021         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
4022         initialization of static TLS entries.
4023         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
4024         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4026 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4028         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
4029         _hurd_malloc_fork_prepare.
4030         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
4031         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
4032         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
4033         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
4034         (_hurd_fork_child_hook): Drop malloc_fork_child.
4035         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
4036         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
4037         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
4038         after locking locks (notably hurd_dtable_lock). Call
4039         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
4040         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
4041         __malloc_fork_unlock_child.
4042         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
4044 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
4046         * soft-fp/extendhftf2.c: New.
4047         * soft-fp/fixhfti.c: Likewise.
4048         * soft-fp/fixunshfti.c: Likewise.
4049         * soft-fp/floattihf.c: Likewise.
4050         * soft-fp/floatuntihf.c: Likewise.
4051         * soft-fp/half.h: Likewise.
4052         * soft-fp/trunctfhf2.c: Likewise.
4054 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
4056         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
4057         macro.
4058         * math/libm-test.inc (issubnormal_test_data): New array.
4059         (issubnormal_test): New function.
4060         * manual/arith.texi (Floating Point Classes): Document
4061         issubnormal.
4062         * manual/libm-err-tab.pl: Update comment on interfaces without
4063         ulps tabulated.
4065         * sysdeps/generic/stdint.h: Define
4066         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4067         <bits/libc-header-start.h> instead of including <features.h>.
4068         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
4069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
4070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
4071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
4072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
4073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
4074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
4075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
4076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
4077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
4078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
4079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
4080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
4081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
4082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
4083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
4084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
4085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
4086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
4087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
4088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
4089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
4090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
4091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
4092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
4093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
4094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
4095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
4096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
4097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
4098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
4099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
4100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
4101         * manual/arith.texi (Integers): Document these macros for types
4102         specified by width properties.
4103         * manual/lang.texi (Width of Type): Document these macros for
4104         other standard typedefs.
4105         * stdlib/tst-width-stdint.c: New file.
4106         * stdlib/Makefile (tests): Add tst-width-stdint.
4108 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4110         [BZ #20016]
4111         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
4112         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
4113         Move ...
4114         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
4115         ... here, as compatibility symbols in a new file.
4116         * resolv/Makefile (libresolv-routines): Add compat-hooks.
4117         * resolv/res_init.c (__res_vinit): Adjust member names.
4118         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
4119         * resolv/resolv.h (res_sendhookact, res_send_qhook)
4120         (res_send_rhook): Remove.
4121         (struct __res_state): Rename qhook, rhook members.
4123 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4125         malloc: Use __libc_lock wrappers.
4126         * malloc/arena.c (list_lock, free_list_lock): Define using
4127         __libc_lock_define_initialized.
4128         (arena_lock): Adjust formatting.
4129         * malloc/malloc.c (struct malloc_state): Define mutex using
4130         __libc_lock_define.
4131         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
4132         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
4133         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
4134         (mutex_unlock, mutex_trylock): Remove.
4135         (__pthread_initialize): Remove unused macro.
4136         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
4137         (mutex_unlock, mutex_trylock): Remove.
4139 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4141         [BZ #20592]
4142         Remove RR type classification macros.
4143         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
4144         (ns_t_udp_p, ns_t_xfr_p): Remove.
4146 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4148         Remove misleading version information.
4149         * resolv/arpa/nameser.h (__NAMESER): Remove.
4150         * resolv/arpa/nameser_compat.h (__BIND): Remove.
4152 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4154         Remove the always-defined BIND_4_COMPAT macro.
4155         * resolv/arpa/nameser.h: Unconditionally include
4156         <arpa/nameser_compat.h>.
4157         (BIND_4_COMPAT): Remove.
4158         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
4160 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4162         [BZ #20591]
4163         Remove obsolete DNSSEC support.
4164         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
4165         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
4166         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
4167         (ns_verify_tcp, ns_verify_tcp_init): Remove.
4168         (ns_cert_types): Add comment.
4169         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
4170         separately.
4171         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
4172         (dst_s_dns_key_id): Remove.
4173         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
4174         variables.
4176 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4178         [BZ #20524]
4179         * manual/string.texi (String/Array Comparison): Clarify the
4180         strverscmp behavior.
4182 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4184         * test-skeleton.c (xasprintf): Add function.
4185         * io/tst-open-tmpfile.c: New test.
4186         * io/Makefile (tests): Add it.
4188 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4190         Avoid running $(CXX) during build to obtain header file paths.
4191         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
4192         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
4193         * Makerules (cstdlib, cmath): Remove variables.  Use
4194         $(c++-cstdlib-header), $(c++-cmath-header) instead.
4195         * configure: Regenerate.
4197 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4199         * Makeconfig (all-object-suffixes): Include .op only if
4200         $(build-profile).
4202 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4204         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
4205         conditionals.  Do not define PATH_MAX.
4207 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4209         * posix/Makefile (tests): Add tst-spawn3.
4210         * posix/tst-spawn3.c: New file.
4211         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
4212         if it is already opened for open action.
4214         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
4215         all signals when executing the clone vfork child.
4216         (SIGALL_SET): Remove macro.
4218         * nptl/Makefile (tests): Add tst-exec5.
4219         * nptl/tst-exec5.c: New file.
4220         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
4221         asynchronous cancellation.
4223 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4225         * hurd/exc2signal.c: #include <hurd/signal.h>
4226         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
4227         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
4228         accordingly.
4229         * mach/mach_error.c (mach_error): Fix old-style function definition.
4230         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
4232 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4234         * math/Makefile (libm-calls): Remove s_nanF.
4235         (gen-libm-calls): Add s_nanF.
4237         * math/s_nan.c: Refactor into ...
4238         * math/s_nan_template.c: New file.
4240         * math/s_nanf.c: Removed.
4241         * math/s_nanl.c: Removed.
4242         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
4243         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
4245         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4246         (LDOUBLE_nanl_libm_version): New macro.
4248         * sysdeps/generic/math-type-macros-double.h:
4249         (M_STRTO_NAN): New macro.
4250         * sysdeps/generic/math-type-macros-float.h: Likewise.
4251         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4253         * sysdeps/generic/math-type-macros.h: Document
4254         M_STRTO_NAN.
4256 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4258         * math/s_nanf.c: Remove __nanf undef.
4259         * math/s_nan.c: Remove __nan undef.
4260         * math/s_nanl.c: Remove __nanl undef.
4262         * sysdeps/generic/math_private.h (__nan): Remove macro
4263         override.
4264         (__nanf): Likewise.
4265         (__nanl): Likewise.
4267 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4269         * math/Makefile (gen-all-calls): New variable.
4270         (generated): Replace gen-libm-calls with gen-all-calls.
4271         (gen-libm-templates.stmp): Likewise.  Also, ensure
4272         the output directory exists or is created and add
4273         dependency on the Makefile.
4274         (calls): Move s_ldexpF into gen-calls.
4275         (gen-calls): New variable.
4277         * math/s_ldexpf.c: Removed.
4278         * math/s_ldexpl.c: Removed.
4279         * math/s_ldexp.c: Refactored into ...
4280         * math/s_ldexp_template.c: New file.
4282         * sysdeps/generic/math-type-macros-double.h: Remove
4283         redundant fall-through definition of declare_mgen_alias.
4284         (declare_mgen_alias_2): New macro.
4286         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
4287         New macro for function aliased to two exported symbols.
4289         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
4290         new template file.
4291         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4293 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4295         * Makeconfig (all-object-suffixes): Remove .og.
4296         * Makerules (elide-routines.og): Remove.
4297         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4298         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4299         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4301 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4303         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4304         .os objects.
4306 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4308         [BZ #20615]
4309         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4310         fpu directory by non-fpu.
4311         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4312         on non-fpu directory from a fpu directory.
4314 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4316         * include/limits.h: Define
4317         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4318         <bits/libc-header-start.h> instead of including <features.h>.
4319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4330         * manual/lang.texi (Width of Type): Document these macros.
4331         * stdlib/tst-width.c: New file.
4332         * stdlib/Makefile (tests): Add tst-width.
4334 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4336         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4337         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4339 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4341         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4342         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4343         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4345 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4347         [BZ #18243]
4348         * rt/Makefile (test): Add tst-shm-cancel.
4349         * rt/tst-shm-cancel.c: New file.
4350         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4352         [BZ #18243]
4353         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4354         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4355         definition.
4356         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4357         uncontended case.
4358         * nptl/sem_wait.c (__new_sem_wait): Likewise.
4359         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4360         (tf): Fix check for uncontended case.
4361         (do_test): Likewise.
4362         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4363         (tf): Fix check for uncontended case.
4364         (do_test): Likewise.
4365         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4366         (tf): Fix check for uncontended case.
4367         (do_test): Likewise.
4368         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4369         (tf): Fix check for uncontended case.
4370         (do_test): Likewise.
4372         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4373         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4375         [BZ #15765]
4376         * nptl/Makefile (tests): Add tst-sem16.
4377         * nptl/tst-sem16.c: New file.
4378         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4380         * nptl/sem_open.c (sem_open): Init pad value to 0.
4381         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4382         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4384 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4386         [BZ #20611]
4387         * inet/Makefile (routines): Add inet6_scopeid_pton.
4388         (tests): Add tst-inet6_scopeid_pton.
4389         * inet/inet6_scopeid_pton.c: New file.
4390         * inet/net-internal.h: Likewise.
4391         * inet/tst-inet6_scopeid_pton.c: New test.
4392         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4393         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4396 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4398         Remove support for compiling wrappers with PTW.
4399         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4400         * nptl/Makefile (pthread-compat-wrappers): Define.
4401         (libpthread-routines): Use pthread-compat-wrappers.
4402         * sysdeps/unix/sysv/linux/alpha/Makefile
4403         (libpthread-routines, libpthread-shared-only-routines): Remove
4404         ptw- prefix.
4405         * sysdeps/s390/nptl/Makefile
4406         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4407         * sysdeps/ia64/nptl/Makefile
4408         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4409         * sysdeps/nacl/Makefile (libpthread-routines): Use
4410         pthread-compat-wrappers to filter the routines list instead of the
4411         ptw- prefix.
4413 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4415         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4416         with L() and remove explicit suffix, convert real literals
4417         which can be equivalentally substituted with integers, and
4418         transform -L(x) to L(-x).
4420         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4421         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4423         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4426         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4428         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4430         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4431         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4433         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4434         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4435         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4438         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4439         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4440         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4441         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4442         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4443         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4444         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4445         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4446         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4447         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4448         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4449         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4450         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4451         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4452         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4453         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4455         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4456         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4457         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4458         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4459         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4460         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4461         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4463         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4464         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4465         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4466         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4467         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4468         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4469         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4471 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4473         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4475 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4477         * malloc/Makefile (tests): Remove individual static test names
4478         and just add all of tests-static.
4480         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4482 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4484         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4485         file.
4487         * sysdeps/sparc/fpu/fegetmode.c: New file.
4488         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4490         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4491         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4493         * sysdeps/s390/fpu/fegetmode.c: New file.
4494         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4496         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4497         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4498         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4499         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4500         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4501         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4503         * sysdeps/mips/fpu/fegetmode.c: New file.
4504         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4506         * sysdeps/m68k/fpu/fegetmode.c: New file.
4507         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4509         * sysdeps/ia64/fpu/fegetmode.c: New file.
4510         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4512         * sysdeps/hppa/fpu/fegetmode.c: New file.
4513         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4515         * sysdeps/arm/fegetmode.c: New file.
4516         * sysdeps/arm/fesetmode.c: Likewise.
4518         * sysdeps/alpha/fpu/fegetmode.c: New file.
4519         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4521         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4522         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4524         * math/fegetmode.c: New file.
4525         * math/fesetmode.c: Likewise.
4526         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4527         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4528         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4529         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4530         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4532         declaration.
4533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4534         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4535         typedef.
4536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4537         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4538         (femode_t): New typedef.
4539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4540         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4541         (femode_t): New typedef.
4542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4543         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4544         (femode_t): New typedef.
4545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4546         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4547         (femode_t): New typedef.
4548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4549         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4550         (femode_t): New typedef.
4551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4552         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4553         (femode_t): New typedef.
4554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4555         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4556         (femode_t): New typedef.
4557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4558         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4559         (femode_t): New typedef.
4560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4561         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4562         (femode_t): New typedef.
4563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4564         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4565         (femode_t): New typedef.
4566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4567         declaration.
4568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4569         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4570         (femode_t): New typedef.
4571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4572         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4573         (femode_t): New typedef.
4574         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4575         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4576         (femode_t): New typedef.
4577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4578         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4579         (femode_t): New typedef.
4580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4581         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4582         (femode_t): New typedef.
4583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4584         * manual/arith.texi (FE_DFL_MODE): Document macro.
4585         (fegetmode): Document function.
4586         (fesetmode): Likewise.
4587         * math/Versions (fegetmode): New libm symbol at version
4588         GLIBC_2.25.
4589         (fesetmode): Likewise.
4590         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4591         (tests): Add test-femode and test-femode-traps.
4592         * math/test-femode-traps.c: New file.
4593         * math/test-femode.c: Likewise.
4594         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4595         alias for __fe_dfl_env.
4596         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4597         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4598         (__fe_dfl_mode): Likewise.
4599         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4600         version GLIBC_2.25.
4601         * sysdeps/nacl/libm.abilist: Update.
4602         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4603         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4604         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4605         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4606         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4607         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4608         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4609         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4610         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4611         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4612         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4613         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4615         Likewise.
4616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4617         Likewise.
4618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4621         Likewise.
4622         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4623         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4624         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4625         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4626         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4628         Likewise.
4629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4630         Likewise.
4631         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4632         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4635 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4637         [BZ #20495]
4638         [BZ #20508]
4639         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4640         processors, set Use_dl_runtime_resolve_slow and set
4641         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4642         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4643         New.
4644         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4645         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4646         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4647         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4648         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4649         if Use_dl_runtime_resolve_opt is set.  Use
4650         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4651         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4652         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4653         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4654         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4655         New.
4656         (_dl_runtime_resolve_opt): Likewise.
4657         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4658         defined.
4660 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4662         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4663         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4665 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4667         Convert malloc to __libc_lock.  Automated part, using this Perl
4668         s/// command:
4669           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4670             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4671         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4672         conversion.
4674 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4676         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4677         (linknamespace-symlists-tests): Likewise.
4678         (linknamespace-header-tests): Likewise.
4680 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4682         [BZ #19810]
4683         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4684         * elf/tst-noload.c: New test case.
4685         * elf/Makefile (tests): Add tst-noload.
4687 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4689         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4691         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4692         not any more.
4694         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4696 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4698         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4699         (do_cos_slow): Likewise.
4700         (do_sin): Likewise.
4701         (do_sin_slow): Likewise.
4702         (slow): Likewise.
4703         (slow1): Likewise.
4704         (slow2): Likewise.
4705         (sloww): Likewise.
4706         (sloww1): Likewise.
4707         (sloww2): Likewise.
4708         (bsloww): Likewise.
4709         (bsloww1): Likewise.
4710         (bsloww2): Likewise.
4711         (cslow2): Likewise.
4713         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4715         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4716         arguments.  Consolidate input partitioning from callers here.
4717         (do_cos_slow): Likewise.
4718         (do_sin): Likewise.
4719         (do_sin_slow): Likewise.
4720         (do_sincos_1): Remove the no longer necessary input partitioning.
4721         (do_sincos_2): Likewise.
4722         (__sin): Likewise.
4723         (__cos): Likewise.
4724         (slow1): Likewise.
4725         (slow2): Likewise.
4726         (sloww1): Likewise.
4727         (sloww2): Likewise.
4728         (bsloww1): Likewise.
4729         (bsloww2): Likewise.
4730         (cslow2): Likewise.
4732 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4734         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4735         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4736         outside of allocated array.
4738 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4740         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4741         instead of MB_CUR_MAX to avoid variable-length array.
4743 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4745         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4746         (type-double-routines): Add k_rem_pio2.
4747         (type-float-routines): Add k_rem_pio2f.
4749         * sysdeps/generic/math_private.h:
4750         (__kernel_rem_pio2l): Removed.
4752         * math/k_rem_pio2l.c: Removed.
4753         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4754         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4755         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4756         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4758 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4760         * math/Makefile (gen-libm-calls): Add s_fmin
4761         (libm-calls): Remove above.
4763         * math/s_fmin.c: Refactor into ...
4764         * math/s_fmin_template.c: New file.
4766         * math/s_fminf.c: Removed.
4767         * math/s_fminl.c: Removed.
4768         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4769         (LDOUBLE_fmin_libm_version): New macro.
4771         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4772         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4774 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4776         * math/Makefile: (gen-libm-calls): Add s_fmax.
4777         (libm-calls): Remove above.
4779         * math/s_fmax.c: Refactor into ...
4780         * math/s_fmax_template.c: New file.
4781         * math/s_fmaxf.c: Removed.
4782         * math/s_fmaxl.c: Removed.
4784         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4785         (LDOUBLE_fmaxl_libm_version): New macro.
4787         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4788         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4790         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4791         s_fmin.c to pick the aarch64 version of the file.
4792         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4793         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4795 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4797         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4798         (libm-calls): Remove above.
4800         * math/s_nextdown.c: Refactor into ...
4801         * math/s_nextdown_template.c: New file.
4802         * math/s_nextdownf.c: Removed.
4803         * math/s_nextdownl.c: Removed.
4805         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4807 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4809         * math/Makefile (gen-libm-calls): Add s_fdim.
4810         (libm-calls): Move to above.
4812         * math/s_fdim.c: Renamed and refactored into to ...
4813         * math/s_fdim_template.c: New file.
4814         * math/s_fdiml.c: Removed.
4815         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4816         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4818         * sysdeps/generic/math-type-macros-double.h:
4819         (declare_mgen_alias): Don't declare if already declared.
4820         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4821         Likewise.
4823         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4824         (declare_mgen_alias): Don't declare if already declared.
4825         (M_LIBM_NEED_COMPAT): Likewise.
4826         (declare_mgen_libm_compat): Likewise.
4827         (LDOUBLE_fdiml_libm_version): New macro.
4829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4830         Include math/s_fdim.c now that ldbl-opt version is not needed.
4831         (declare_mgen_alias): New macro to disable aliasing.
4833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4834         (declare_mgen_alias): Likewise.
4835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4836         (declare_mgen_alias): Likewise.
4837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4838         (declare_mgen_alias): Likewise.
4839         (M_LIBM_NEED_COMPAT): Likewise.
4841 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4843         [BZ #20525]
4844         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4845         Include <linux/quota.h>.
4846         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4847         and btodb.
4848         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4849         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4850         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4851         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4852         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4853         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4854         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4855         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4856         types.
4857         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4858         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4860 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4862         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4863         (gammal_positive): Fix spacing.
4864         (__ieee754_gammal_r): Likewise.
4866 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4868         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4869         (_Float128): Define as long double, always.
4870         (L): Apply long double type suffix, always.
4872         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4873         _Float128, excepting comments.
4875         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4876         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4877         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4878         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4879         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4880         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4881         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4882         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4883         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4884         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4885         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4886         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4887         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4888         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4889         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4890         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4891         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4892         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4893         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4894         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4895         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4896         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4897         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4898         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4899         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4900         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4901         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4902         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4903         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4904         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4905         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4906         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4907         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4908         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4909         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4910         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4911         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4912         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4913         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4914         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4915         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4916         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4917         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4918         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4919         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4920         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4921         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4922         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4923         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4924         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4925         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4926         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4927         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4928         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4929         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4930         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4931         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4932         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4933         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4934         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4935         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4936         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4937         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4938         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4939         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4940         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4941         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4942         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4944         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4945         _Float128, and include math_private.h.
4946         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4948         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4949         long double semantics.
4950         (_Float128): Likewise.
4951         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4952         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4953         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4954         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4956 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4958         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4959         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4960         * sysdeps/s390/configure: Regenerated.
4961         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4962         instruction for raising over-/underflow if z196 zarch is supported
4963         by default.
4964         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4966 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4968         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4969         it point to a dumb buffer for RPC to fill it.
4971 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4973         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4974         instead of if/else.
4975         (do_sin_slow): Likewise.
4976         (do_sincos_1): Use fabs instead of if/else.
4977         (do_sincos_2): Likewise.
4978         (__sin): Likewise.
4979         (__cos): Likewise.
4980         (slow2): Likewise.
4981         (sloww): Likewise.
4982         (sloww1): Likewise.  Drop argument M.
4983         (sloww2): Use fabs instead of if/else.
4984         (bsloww): Likewise.
4985         (bsloww1): Likewise.
4986         (bsloww2): Likewise.
4988         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4989         fall through comment.
4990         (do_sincos_1): Likewise.
4992         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4993         Consolidate switch cases 0 and 2.
4995 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4997         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4998         (libm-calls): Remove the above.
5000         * math/s_cexp_template.c: Update using type-generic macros.
5001         * math/s_clog10_template.c: Likewise.
5002         * math/s_cpow_template.c: Likewise.
5003         * math/s_clog_template.c: Likewise.
5004         * math/s_cproj_template.c: Likewise.
5005         * math/s_csqrt_template.c: Likewise.
5007         * math/s_cexp.c: Removed.
5008         * math/s_cexpf.c: Removed.
5009         * math/s_cexpl.c: Removed.
5010         * math/s_clog10.c: Removed.
5011         * math/s_clog10f.c: Removed.
5012         * math/s_clog10l.c: Removed.
5013         * math/s_cpow.c: Removed.
5014         * math/s_cpowf.c: Removed.
5015         * math/s_cpowl.c: Removed.
5016         * math/s_clog.c: Removed.
5017         * math/s_clogf.c: Removed.
5018         * math/s_clogl.c: Removed.
5019         * math/s_cproj.c: Removed.
5020         * math/s_cprojf.c: Removed.
5021         * math/s_cprojl.c: Removed.
5022         * math/s_csqrt.c: Removed.
5023         * math/s_csqrtf.c: Removed.
5024         * math/s_csqrtl.c: Removed.
5026         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
5027         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
5028         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
5029         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
5030         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
5031         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
5033         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
5034         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
5035         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
5036         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
5037         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
5038         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
5039         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
5040         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
5041         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
5042         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
5043         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
5045         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
5046         version.
5048         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
5049         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
5050         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
5051         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
5053 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5055         * s_cexp_template.c: Copy of s_cexp.c.
5056         * s_clog_template.c: Copy of s_clog.c.
5057         * s_clog10_template.c: Copy of s_clog10.c.
5058         * s_cpow_template.c: Copy of s_cpow.c.
5059         * s_cproj_template.c: Copy of s_cproj.c.
5060         * s_csqrt_template.c: Copy of s_csqrt.c.
5062 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5064         [BZ #20517]
5065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5066         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
5067         exported.
5069 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
5071         * math/fetestexceptflag.c: New file.
5072         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
5073         Stefan Liebler.
5074         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5075         (fetestexceptflag): New function declaration.
5076         * manual/arith.texi (fetestexceptflag): Document function.
5077         * math/Versions (fetestexceptflag): New libm symbol at version
5078         GLIBC_2.25.
5079         * math/Makefile (libm-support): Add fetestexceptflag.
5080         (tests): Add test-fetestexceptflag.
5081         * math/test-fetestexceptflag.c: New file.
5082         * sysdeps/nacl/libm.abilist: Update.
5083         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5084         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5085         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5086         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5087         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5088         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5089         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5090         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5091         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5092         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5093         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5094         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5096         Likewise.
5097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5098         Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5100         Likewise.
5101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5102         Likewise.
5103         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5104         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5105         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5106         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5107         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5109         Likewise.
5110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5111         Likewise.
5112         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5113         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5114         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5116 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5118         [BZ #20432]
5119         Avoid strong references to malloc-internal symbols when linking
5120         statically, to support statically interposed mallocs.
5121         * include/libc-symbols.h (call_function_static_weak): New macro.
5122         * malloc/Makefile (tests): Add tst-interpose-nothread,
5123         tst-interpose-thread, tst-interpose-static-nothread,
5124         tst-interpose-static-thread.
5125         (tests-static): Add tst-interpose-static-nothread,
5126         tst-interpose-static-thread.
5127         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
5128         tst-interpose-aux-thread.o.
5129         (test-extras): Add tst-interpose-aux-nothread,
5130         tst-interpose-aux-thread.
5131         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
5132         tst-interpose-aux-nothread.o.
5133         (tst-interpose-thread, tst-interpose-static-thread): Link with
5134         tst-interpose-aux-thread.o and libthread.
5135         * malloc/tst-interpose-aux-nothread.c: New file.
5136         * malloc/tst-interpose-aux-thread.c: Likewise.
5137         * malloc/tst-interpose-aux.c: Likewise.
5138         * malloc/tst-interpose-aux.h: Likewise.
5139         * malloc/tst-interpose-nothread.c: Likewise.
5140         * malloc/tst-interpose-skeleton.c: Likewise.
5141         * malloc/tst-interpose-static-nothread.c: Likewise.
5142         * malloc/tst-interpose-static-thread.c: Likewise.
5143         * malloc/tst-interpose-thread.c: Likewise.
5144         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
5145         * sysdeps/mach/hurd/fork.c (__fork): Only call
5146         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5147         __malloc_fork_unlock_child if defined.
5148         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5150 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5152         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
5153         timespec C99 designated initialization.
5155 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5157         [BZ #19946]
5158         Avoid expected SIGALRM signals.
5159         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
5160         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
5161         (xpthread_create, xpthread_detach, xpthread_join)
5162         (delayed_exit_thread, delayed_exit): New functions.
5163         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
5164         (tf): Use xpthread_cond_wait.
5165         (do_test): Likewise.  Replace alarm with delayed_exit.
5166         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5167         (do_test): Call delayed_exit.  Report failure.
5168         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5169         (do_test): Call delayed_exit.
5170         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5171         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
5172         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5173         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
5174         error.
5175         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5176         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
5177         error.
5178         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
5179         (do_test): Call delayed_exit.
5180         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
5181         (do_test): Call delayed_exit.
5182         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
5183         (do_test): Call delayed_exit instead of alarm.  Use
5184         xpthread_mutex_lock.
5185         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
5186         (do_test): Call delayed_exit instead of alarm.  Use
5187         xpthread_mutex_lock.
5188         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
5189         (do_test): Call delayed_exit instead of alarm.
5190         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
5191         (do_test): Call delayed_exit instead of alarm.  Use
5192         xpthread_spin_lock.
5193         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
5194         (do_test): Call delayed_exit instead of alarm.  Use
5195         xpthread_join.
5197 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5199         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
5200         adjust CFA when allocating register save area on re-aligned
5201         stack.
5203 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5205         * string/tst-cmp.c: New test.
5206         * string/Makefile (tests): Add it.
5208 2016-08-25  Mark Wielaard  <mark@klomp.org>
5210         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
5211         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
5212         (check_tree_recurse): Use newly defined accessors.
5213         (check_tree): Likewise.
5214         (maybe_split_for_insert): Likewise.
5215         (__tfind): Likewise.
5216         (__tdelete): Likewise.
5217         (trecurse): Likewise.
5218         (tdestroy_recurse): Likewise.
5219         (__tsearch): Likewise. And add asserts for malloc alignment.
5220         (__twalk): Cast root to node in case CHECK_TREE is defined.
5222 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5224         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
5226 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5228         * math/Makefile (libm-gen-calls): Add
5229         catan, catanh, ctan, ctanh.
5230         (libm-calls): Remove the above.
5232         * math/s_catan_template.c: Update using type-generic macros.
5233         * math/s_catanh_template.c: Likewise.
5234         * math/s_ctan_template.c: Likewise.
5235         * math/s_ctanh_template.c: Likewise.
5237         * math/s_catanf.c: Removed.
5238         * math/s_catan.c: Removed.
5239         * math/s_catanl.c: Removed.
5240         * math/s_catanhf.c: Removed.
5241         * math/s_catanh.c: Removed.
5242         * math/s_catanhl.c: Removed.
5243         * math/s_ctanf.c: Removed.
5244         * math/s_ctan.c: Removed.
5245         * math/s_ctanl.c: Removed.
5246         * math/s_ctanhf.c: Removed.
5247         * math/s_ctanh.c: Removed.
5248         * math/s_ctanhl.c: Removed.
5250         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
5251         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
5252         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
5253         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
5254         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
5255         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
5257         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
5258         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
5259         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
5260         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
5262 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5264         * s_catan_template.c: Copy of s_catan.c.
5265         * s_catanh_template.c: Copy of s_catanh.c.
5266         * s_ctan_template.c: Copy of s_ctan.c.
5267         * s_ctanh_template.c: Copy of s_ctanh.c.
5269 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5271         * math/Makefile (gen-libm-calls): Move
5272         casin, casinh, csin, csinh here.
5273         (libm-calls): Remove the above.
5275         * math/s_casin_template.c: Update using type-generic macros.
5276         * math/s_casinh_template.c: Likewise.
5277         * math/s_csin_template.c: Likewise.
5278         * math/s_csinh_template.c: Likewise.
5279         * math/k_casinh_template.c: Likewise.
5281         * math/s_casinf.c: Removed.
5282         * math/s_casin.c: Removed.
5283         * math/s_casinl.c: Removed.
5284         * math/s_casinh.c: Removed.
5285         * math/s_casinhf.c: Removed.
5286         * math/s_casinhl.c: Removed.
5287         * math/s_csin.c: Removed.
5288         * math/s_csinf.c: Removed.
5289         * math/s_csinl.c: Removed.
5290         * math/s_csinh.c: Removed.
5291         * math/s_csinhf.c: Removed.
5292         * math/s_csinhl.c: Removed.
5293         * math/k_casinh.c: Removed.
5294         * math/k_casinhf.c: Removed.
5295         * math/k_casinhl.c: Removed.
5297         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5298         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5299         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5300         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5302         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5303         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5304         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5305         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5306         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5307         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5308         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5309         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5311         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5312         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5313         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5314         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5316         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5317         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5318         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5319         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5321 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5323         * s_casin_template.c: Copy of s_casin.c.
5324         * s_casinh_template.c: Copy of s_casinh.c.
5325         * s_csin_template.c: Copy of s_csin.c.
5326         * s_csinh_template.c: Copy of s_csinh.c.
5327         * k_casinh_template.c: Copy of k_casinh.c.
5329 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5331         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5333 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5335         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5336         (mul_split) Remove, rename as mul_splitl, remove
5337         redundant float.h include, and include via mul_splitl.h
5339         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5340         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5341         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5342         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5343         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5345         * math/mul_splitl.h: New file.
5347         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5348         Move into mul_split.h, and remove redundant float.h include.
5350         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5351         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5352         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5353         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5355         * math/mul_split.h: New file.
5357 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5359         * math/Makefile (libm-gen-calls): Move
5360         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5361         (libm-calls): Remove above.
5363         * math/s_cacos_template.c: Update using type-generic macros.
5364         * math/s_cacosh_template.c: Likewise.
5365         * math/s_ccos_template.c: Likewise.
5366         * math/s_ccosh_template.c: Likwise.
5368         * math/s_cacosf.c: Removed.
5369         * math/s_cacos.c: Removed.
5370         * math/s_cacosl.c: Removed.
5371         * math/s_cacoshf.c: Removed.
5372         * math/s_cacosh.c: Removed.
5373         * math/s_cacoshl.c: Removed.
5374         * math/s_ccosf.c: Removed.
5375         * math/s_ccos.c: Removed.
5376         * math/s_ccosl.c: Removed.
5377         * math/s_ccoshf.c: Removed.
5378         * math/s_ccosh.c: Removed.
5379         * math/s_ccoshl.c: Removed.
5381         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5382         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5383         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5384         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5385         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5386         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5388         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5389         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5390         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5391         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5393         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5394         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5395         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5396         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5398 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5400         * s_cacos_template.c: Copy of s_cacos.c.
5401         * s_cacosh_template.c: Copy of s_cacosh.c.
5402         * s_ccos_template.c: Copy of s_ccos.c.
5403         * s_ccosh_template.c: Copy of s_ccosh.c.
5405 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5407         * stdlib/tst-strtod-round-skeleton.c:
5408         Refactored from tst-strtod-round.c.
5410         (L_): New macro to apply literal modifier.
5411         (FNPFX): New macro to select str or wcs prefix.
5412         (CHAR): New macro to choose wchar_t or char.
5413         (STRM): New macro to choose printf for tested character type.
5415         (STRTO): New macro to choose appropriate string -> real function.
5416         (FNPFXS): Stringitized version of FNPFX.
5417         (STR): Support for above macro.
5418         (STRX): Likewise.
5420         (TEST): Update with above macros.
5421         (test): Likewise.
5422         (GEN_ONE_TEST): Likewise.
5423         (test_in_one_mode): Likewise.
5425         * stdlib/tst-strtod-round.c: New file.
5426         * wcsmbs/tst-wcstod-round.c: New file.
5428         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5429         (tst-wcstod-round): Add libm depencency for fesetround.
5431 2016-08-19  Zack Weinberg  <zackw@panix.com>
5433         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5435 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5437         [BZ #20477]
5438         * resolv/res_hconf.c (do_init): Use atomic access.
5439         * resolv/res_hconf.h: Add comments.
5440         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5441         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5444 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5446         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5447         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5449         Likewise.
5451 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5453         [BZ #16907]
5454         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5455         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5456         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5457         (__attribute__): Remove definition.
5459 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5461         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5462         Remove unused sqrtl declaration.
5464 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5466         * math/Makefile: (gen-libm-templates.stmp): New rule.
5467         (libm-calls): Move carg conj cimag and cabs into ...
5468         (gen-libm-calls): New variable.
5469         (generated): Inform Make objects from gen-libm-calls
5470         may be generated.
5472         * sysdeps/generic/math-type-macros.h: New file.
5473         * sysdeps/generic/math-type-macros-float.h: Likewise.
5474         * sysdeps/generic/math-type-macros-double.h: Likewise.
5475         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5476         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5477         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5479         * math/cabs.c: Refactor into
5480         * math/cabs_template.c: new file.
5481         * math/cabsf.c: Removed.
5482         * math/cabsl.c: Removed.
5483         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5484         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5486         * math/carg.c: Refactor into
5487         * math/carg_template.c: new file.
5488         * math/cargf.c: Removed.
5489         * math/cargl.c: Removed.
5490         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5491         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5493         * math/conj.c: Refactor into
5494         * math/conj_template.c: new file.
5495         * math/conjf.c: Removed.
5496         * math/conjl.c: Removed.
5497         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5498         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5500         * math/cimag.c: Refactor into
5501         * math/cimag_template.c: new file.
5502         * math/cimagf.c: Removed.
5503         * math/cimagl.c: Removed.
5504         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5505         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5507         * math/cimag.c: Refactor into
5508         * math/cimag_template.c: new file.
5509         * math/cimagf.c: Removed.
5510         * math/cimagl.c: Removed.
5511         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5512         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5514 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5516         Reduce time to expected nptl/tst-once5 failure.
5517         * nptl/tst-once5.cc (TIMEOUT): Define.
5519 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5521         [BZ #20452]
5522         Avoid additional copies of objects in libc.a in static libraries.
5523         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5524         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5525         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5526         rt-sysdep.
5527         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5528         Add nptl-sysdep.
5529         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5530         Add ptw-sysdep.
5531         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5532         rt-sysdep.
5533         * sysdeps/unix/sysv/linux/alpha/Makefile
5534         (libpthread-shared-only-routines): Add ptw-sysdep,
5535         ptw-sigprocmask, ptw-rt_sigaction.
5536         * sysdeps/unix/sysv/linux/ia64/Makefile
5537         (librt-shared-only-routines): Add rt-sysdep.
5538         * sysdeps/unix/sysv/linux/i386/Makefile
5539         (libpthread-shared-only-routines): Add libc-do-syscall.
5540         * sysdeps/unix/sysv/linux/microblaze/Makefile
5541         (libpthread-shared-only-routines): Add sysdep.
5542         * sysdeps/unix/sysv/linux/powerpc/Makefile
5543         (librt-shared-only-routines): Add rt-sysdep.
5544         (libpthread-shared-only-routines): Add sysdep.
5545         * sysdeps/unix/sysv/linux/s390/Makefile
5546         (librt-shared-only-routines): Add rt-sysdep.
5547         * sysdeps/unix/sysv/linux/sparc/Makefile
5548         (librt-shared-only-routines): Add rt-sysdep.
5549         (libpthread-shared-only-routines): Add sysdep.
5550         * sysdeps/unix/sysv/linux/tile/Makefile
5551         (libpthread-shared-only-routines): Likewise.
5553 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5555         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5556         Mask implicit bit out of unpacked value.
5557         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5559         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5561         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5563         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5565         * sysdeps/s390/fpu/fesetexcept.c: New file.
5567         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5568         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5569         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5571         * sysdeps/mips/fpu/fesetexcept.c: New file.
5573         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5575         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5577         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5579         * sysdeps/arm/fesetexcept.c: New file.
5581         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5583         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5585         * math/fesetexcept.c: New file.
5586         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5587         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5588         * math/fenv.h: Define
5589         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5590         <bits/libc-header-start.h> instead of including <features.h>.
5591         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5592         declaration.
5593         * manual/arith.texi (fesetexcept): Document function.
5594         * math/Versions (fesetexcept): New libm symbol at version
5595         GLIBC_2.25.
5596         * math/Makefile (libm-support): Add fesetexcept.
5597         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5598         * math/test-fesetexcept.c: New file.
5599         * math/test-fesetexcept-traps.c: Likewise.
5600         * sysdeps/nacl/libm.abilist: Update.
5601         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5602         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5603         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5604         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5605         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5606         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5607         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5608         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5609         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5610         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5611         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5612         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5614         Likewise.
5615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5616         Likewise.
5617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5618         Likewise.
5619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5620         Likewise.
5621         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5622         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5623         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5624         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5625         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5627         Likewise.
5628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5629         Likewise.
5630         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5631         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5632         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5634 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5636         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5637         New.
5638         (do_test): Apply default_stack_size_in_mb if not set.
5639         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5641 2016-08-15  Andreas Schwab  <schwab@suse.de>
5643         [BZ #20435]
5644         CVE-2016-6323
5645         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5646         as .cantunwind.
5648 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5650         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5651         comment from fraiseexcpt.c.
5653         * math/test-fexcept.c (feraiseexcept_exact): New function.
5654         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5655         (test_except): Likewise.
5657 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5659         [BZ #20455]
5660         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5661         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5662         to be restored.
5664         * math/test-fexcept-traps.c: New file.
5665         * math/test-fexcept.c: Likewise.
5666         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5667         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5668         macro.
5669         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5670         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5672 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5674         * include/atomic.h (atomic_fetch_and_relaxed,
5675         atomic_fetch_and_release, atomic_fetch_or_release,
5676         atomic_fetch_xor_release): New.
5678 2016-08-06  Christian Seiler  <christian@iwakd.de>
5680         [BZ #20444]
5681         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5682         MACH_PORT_NULL.
5684 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5686         * math/s_fdim.c: Avoid alias renamed.
5687         * math/s_fdimf.c: Likewise.
5688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5689         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5690         Add s_fdimf-vis3, s_fdim-vis3.
5691         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5692         (CFLAGS-s_fdim-vis3.c): Likewise.
5693         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5694         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5696 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5699         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5700         Remove s_fdimf-vis3, s_fdim-vis3.
5701         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5702         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5709         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5710         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5712 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5714         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5715         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5716         -Wa,-Av9a -mvis.
5718 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5720         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5721         LIT() to individual constants in simple expressions
5722         after splitting on spaces.
5723         (_apply_lit): Rename replaced version, and use it to
5724         apply to what appears to be a token.
5726         * math/libm-test.inc: Fix many, many issues with
5727         spacing.
5729 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5731         * math/math.h: Move comment about <bits/mathdef.h> definitions
5732         above inclusion of <bits/mathdef.h>.  Do not mention
5733         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5735 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5737         * include/atomic.h (atomic_exchange_relaxed): New.
5739 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5741         * math/e_scalb.c: Do not include <fenv.h>.
5742         (invalid_fn): Do calculation resulting in NaN instead of raising
5743         FE_INVALID and returning a NaN explicitly.
5744         * math/e_scalbf.c: Do not include <fenv.h>.
5745         (invalid_fn): Do calculation resulting in NaN instead of raising
5746         FE_INVALID and returning a NaN explicitly.
5747         * math/e_scalbl.c: Do not include <fenv.h>.
5748         (invalid_fn): Do calculation resulting in NaN instead of raising
5749         FE_INVALID and returning a NaN explicitly.
5751 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5753         * po/de.po: Updated from Translation Project.
5754         * po/fi.po: Likewise.
5755         * po/sv.po: Likewise.
5757 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5759         [BZ #20452]
5760         Use sysdep.o from libc.a in static libraries.
5761         * sysdeps/unix/sysv/linux/i386/Makefile
5762         (libpthread-shared-only-routines): Add sysdep.
5763         (librt-shared-only-routines): Likewise.
5765 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5767         * math/tgmath.h (nextdown): Define if
5768         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5769         (nextup): Likewise.
5771         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5772         macro.
5773         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5774         Document.
5775         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5776         Document macro.
5777         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5778         (exp10f): Likewise.
5779         (exp10l): Likewise.
5780         * math/bits/mathcalls.h (exp10): Declare if
5781         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5783         * manual/arith.texi (nextup): Fix typo in last change.
5785 2016-08-03  Zack Weinberg  <zackw@panix.com>
5787         [BZ #19239]
5788         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5789         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5790         define major, minor, and makedev to issue deprecation warnings on use.
5791         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5792         previously-activated deprecation warnings for these macros and prevent
5793         subsequent inclusions of this header from having any effect.
5794         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5795         including <sys/sysmacros.h>, and undefine it again afterward.
5797 2016-08-03  Zack Weinberg  <zackw@panix.com>
5799         * sysdeps/generic/sys/sysmacros.h: Delete file.
5800         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5801         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5802         * bits/sysmacros.h: ... here; this encoding is now the generic
5803         encoding.  Now defines only the following macros:
5804         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5805         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5806         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5808         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5809         bits/sysmacros.h and the above new macros to generate the
5810         public implementations of major, minor, and makedev.
5811         * misc/tst-makedev.c: New test.
5812         * include/sys/sysmacros.h: New wrapper.
5814         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5815         (routines): Add makedev.
5816         (tests): Add tst-makedev.
5817         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5818         gnu_dev_makedev.
5819         * posix/Makefile (headers): Remove sys/sysmacros.h.
5820         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5822         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5823         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5824         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5825         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5826         * sysdeps/unix/sysv/linux/arm/libc.abilist
5827         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5828         * sysdeps/unix/sysv/linux/i386/libc.abilist
5829         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5830         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5831         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5832         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5833         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5834         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5835         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5836         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5837         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5842         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5843         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5844         * sysdeps/unix/sysv/linux/sh/libc.abilist
5845         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5846         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5849         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5850         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5851         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5852         Add GLIBC_2.25.
5854         * include/features.h (__glibc_clang_prereq): New macro.
5855         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5856         (__attribute_deprecated_msg__): New macros.
5858 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5860         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5861         macro.
5862         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5863         * manual/arith.texi (issignaling): Document as ISO from TS
5864         18661-1:2014.
5865         (nextup): Likewise.
5866         (nextupf): Likewise.
5867         (nextupl): Likewise.
5868         (nextdown): Likewise.
5869         (nextdownf): Likewise.
5870         (nextdownl): Likewise.
5871         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5872         macro.
5873         * math/math.h: Define
5874         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5875         <bits/libc-header-start.h> instead of including <features.h>.
5876         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5877         [__USE_GNU].
5878         * math/bits/mathcalls.h (nextdown): Declare if
5879         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5880         (nextup): Likewise.
5881         (__issignaling): Likewise.
5883 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5885         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5886         check, and remove __glibc_likely hint
5887         from FP_INFINITE check.
5888         * s_csinhf.c (__csinhf): Likewise.
5890         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5891         hint from FP_INFINITE check.
5892         * s_csinhl.c (__csinhl): Likewise.
5894 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5896         * math/Makefile (libm-calls): Insert F placeholder into
5897         object names.  Move w_lgamma_compat* routines into
5898         (libm-compat-calls): New variable.
5899         (libm-compat-calls-ldouble-yes): New variable.
5900         (calls): Insert F placeholder.
5901         (generated): Redefine using new type-foreach macro call.
5902         (routines): Likewise.
5904         (types): New variable to hold a list of symbolic names
5905         for each type supported by the target machine.
5906         (libm-routines): Redefine using new types variable.
5907         (type-foreach): macro to replace fooF with the
5908         appropriately suffixed foo for each types.
5910         (type-ldouble-suffix): New variable.
5911         (type-ldouble-routines): Likewise.
5912         (type-ldouble-yes): Likewise.
5913         (type-double-suffix): Likewise.
5914         (type-double-routines): Likewise.
5915         (type-float-suffix): Likewise.
5916         (type-float-routines): Likewise.
5918         (dbl-only-routines): Remove.
5919         (long-c-yes): Likewise.
5920         (long-m-routines): Likewise.
5921         (long-m-support): Likewise.
5922         (long-m-yes): Likewise.
5923         (test-longdouble-yes): Likewise.
5925         (test-float.o): Simplify by increasing the scope of the
5926         recipe which adds libm-test.stmp to the vector types.
5927         (test-ifloat.o): Likewise.
5928         (test-float-finite.o): Likewise.
5929         (test-double.o): Likewise
5930         (test-idouble.o): Likewise.
5931         (test-double-finite.o): Likewise.
5932         (test-ldouble.o): Likewise
5933         (test-ildoubl.o): Likewise.
5934         (test-ldouble-finite.o): Likewise.
5936         (libm-tests): Redefine type tests using foreach and the
5937         list of types in types.
5939         (CPPFLAGS-test-ildoubl.c): Rename to
5940         (CPPFLAGS-test-ildouble.c): New variable
5942         * math/test-ildoubl.c: Rename to
5943         * math/test-ildouble.c: New file.
5945 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5947         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5948         Use fabsl instead of fabs.
5949         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5950         Likewise.
5951         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5952         Add long double suffix to constant to ensure proper
5953         promotion to long double.
5955 2016-08-03  Tom Tromey  <tom@tromey.com>
5957         [BZ #20311]
5958         * nptl_db/Makefile (headers): Add proc_service.h.
5959         * nptl_db/proc_service.h: Add include guard.  Use
5960         __BEGIN/__END_DECLS.
5961         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5962         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5963         arguments.
5966 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5968         [BZ #17730]
5969         Avoid using memalign for TCB allocations.
5970         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5971         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5972         Avoid alignment gap in the TLS_DTV_AT_TP case.
5973         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5974         determine the pointer to free.
5975         * nptl/tst-tls3-malloc.c: New test.
5976         * nptl/Makefile (tests): Add it.
5977         (tst-tls3-malloc): Link with libdl, libpthread.
5978         (LDFLAGS-tst-tls3-malloc): Set.
5979         (tst-tls3-malloc.out): Depend on DSO used in test.
5981 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5983         [BZ #17730]
5984         Avoid using memalign for TLS allocations.
5985         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5986         is_static member with to_free member.
5987         (union dtv): Use struct dtv_pointer.
5988         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5989         dtv_pointer instead of is_static.
5990         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5991         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5992         instead of val.
5993         (allocate_dtv_entry): New function.
5994         (allocate_and_init): Return struct dtv_pointer.  Call
5995         allocate_dtv_entry instead of __libc_memalign.
5996         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5997         instead of val.
5998         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5999         instead of is_static.  Adjust call to allocate_and_init.
6000         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
6001         struct dtv_pointer instead of val.
6003 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6005         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
6006         (MALLOC_ALIGN_MASK): Move ...
6007         * malloc/malloc-internal.h: ... to here.
6008         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
6010 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6012         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
6013         (UDP_ENCAP_GTP1U): Likewise.
6015         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
6016         (PF_MAX): Update value.
6017         (AF_QIPCRTR): New macro.
6019 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
6021         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
6022         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6023         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6025         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6026         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6027         s_truncf-vis3, s_trunc-vis3.
6028         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6029         (CFLAGS-s_ceil-vis3.c): Likewise.
6030         (CFLAGS-s_floorf-vis3.c): Likewise.
6031         (CFLAGS-s_floor-vis3.c): Likewise.
6032         (CFLAGS-s_truncf-vis3.c): Likewise.
6033         (CFLAGS-s_trunc-vis3.c): Likewise.
6034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
6035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
6037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
6039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
6041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6042         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
6043         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6044         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
6045         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6047 2016-08-02  David S. Miller  <davem@davemloft.net>
6049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6050         (__nearbyint_vis3): Don't check for sNaN before float register is
6051         loaded with the incoming argument.
6052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6053         (__nearbyintf_vis3): Likewise.
6054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
6055         Likewise.
6056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
6057         Likewise.
6059         * string/test-strncmp.c (do_test_limit): Make sure the test data
6060         stream is aligned as required for the type "CHAR".
6061         (do_test): Likewise.
6063 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
6065         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
6066         by beq instructions jumping to the end of the function.
6067         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
6068         clobber list. Use "i" constraint instead of "X".
6069         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
6070         of "X".
6072 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
6074         * bits/libc-header-start.h: New file.
6075         * Makefile (headers): Add bits/libc-header-start.h.
6076         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
6077         (__GLIBC_USE): New macro.
6078         * libio/stdio.h: Define
6079         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6080         <bits/libc-header-start.h> instead of including <features.h>.
6081         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
6082         (open_memstream): Likewise.
6083         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
6084         (__asprintf): Likewise.
6085         (asprintf): Likewise.
6086         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
6087         (getdelim): Likewise.
6088         (getline): Likewise.
6089         * string/string.h: Define
6090         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6091         <bits/libc-header-start.h> instead of including <features.h>.
6092         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
6093         (strndup): Likewise.
6094         * wcsmbs/wchar.h: Define
6095         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6096         <bits/libc-header-start.h> instead of including <features.h>.
6097         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
6098         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
6100 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6102         Support linking against compatibility symbols, for use in tests.
6103         * include/libc-symbols.h (symbol_version_reference): New macro.
6104         (symbol_version): Use it.
6105         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
6106         (compat_symbol): Use compat_symbol_reference.
6107         (compat_symbol_1, compat_symbol_2): Remove.
6108         (compat_symbol_reference, compat_symbol_reference_1)
6109         (compat_symbol_reference_2): New macro.  Use
6110         symbol_version_reference.
6112 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6114         [BZ #19469]
6115         * malloc/Makefile (CPPFLAGS): Compile tests with
6116         -DTEST_NO_MALLOPT.
6117         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
6119 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
6121         [BZ #20033]
6122         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
6123         finite version.
6124         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
6125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
6126         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
6127         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
6128         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
6129         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
6130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
6131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
6132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
6133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
6134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
6135         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
6136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
6137         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
6138         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
6139         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
6140         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
6141         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
6142         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
6143         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
6144         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
6145         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
6146         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
6147         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
6148         in zero power.
6150 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6152         [BZ #20370]
6153         * malloc/arena.c (get_free_list): Update comment.  Assert that
6154         arenas on the free list have no attached threads.
6155         (remove_from_free_list): New function.
6156         (reused_arena): Call it.
6158 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
6160         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
6161         when it is a NaN.
6162         [_IEEE_FP_INEXACT] Remove.
6163         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
6164         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
6165         when it is a NaN.
6166         [_IEEE_FP_INEXACT] Remove.
6167         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
6168         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
6169         when it is a NaN.
6170         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
6171         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
6172         when its absolute value is greater than 0x1.0p52.
6173         [_IEEE_FP_INEXACT] Remove.
6174         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
6175         when its absolute value is greater than 0x1.0p23.
6176         [_IEEE_FP_INEXACT] Remove.
6178 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
6180         * version.h (RELEASE): Set to "development"
6181         (VERSION): Set to 2.24.90.
6182         * NEWS: Add 2.25 section.
6184         * version.h (RELEASE): Set to "stable"
6185         (VERSION): Set to 2.24.
6186         * include/features.h (__GLIBC_MINOR__): Set to 24.
6188         * NEWS: Add 2.24 fixed bugs.
6189         * po/libc.pot: Regenerate.
6191 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
6193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6194         [$(subdir) = math] (libm-sysdep_routines): Remove.
6195         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6196         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6197         s_truncf-vis3, s_trunc-vis3.
6198         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
6200         file.
6201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
6202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
6203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
6207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
6208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
6210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
6211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
6212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
6213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
6214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
6215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
6216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
6220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
6221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
6222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
6223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
6229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
6232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6234         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
6235         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
6236         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
6237         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
6238         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6239         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6240         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
6241         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
6242         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
6243         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
6245 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
6247         [BZ #20384]
6248         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
6249         test-double-libmvec-sincos-avx-main.o,
6250         test-double-libmvec-sincos-avx2-main.o,
6251         test-double-libmvec-sincos-main.o,
6252         test-float-libmvec-sincosf-avx-main.o,
6253         test-float-libmvec-sincosf-avx2-main.o and
6254         test-float-libmvec-sincosf-main.o.
6255         test-float-libmvec-sincosf-avx512-main.o.
6256         ($(objpfx)test-double-libmvec-sincos): Also link with
6257         $(objpfx)test-double-libmvec-sincos-main.o.
6258         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
6259         $(objpfx)test-double-libmvec-sincos-avx-main.o.
6260         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
6261         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
6262         ($(objpfx)test-float-libmvec-sincosf): Also link with
6263         $(objpfx)test-float-libmvec-sincosf-main.o.
6264         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
6265         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
6266         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
6267         test-double-libmvec-sincos-avx512-main.o and
6268         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
6269         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
6270         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
6271         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
6272         (CFLAGS-test-double-libmvec-sincos.c): Removed.
6273         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
6274         (CFLAGS-test-double-libmvec-sincos-main.c): New.
6275         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
6276         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
6277         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
6278         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
6279         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
6280         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
6281         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
6282         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
6283         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
6284         -DREQUIRE_AVX2.
6285         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
6286         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
6287         -DREQUIRE_AVX512F.
6288         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
6289         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
6290         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6291         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6292         file.
6293         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6294         Likewise.
6295         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6296         Likewise.
6297         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6298         Likewise.
6299         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6300         Likewise.
6301         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6302         Likewise.
6303         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6304         Likewise.
6305         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6306         Likewise.
6308 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6310         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6312 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6314         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6315         and typo in a comment about AT_HWCAP entry.
6317 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6319         * sysdeps/aarch64/libm-test-ulps: Updated.
6321 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6323         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6324         of r13 as it is not restored in mvcle case.
6326 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6328         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6329         Rename "ret" to "__ret".
6330         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6331         inline_syscall5, inline_syscall6): Likewise.
6333 2016-07-19   Will Newton  <will.newton@gmail.com>
6335         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6336         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6337         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6338         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6339         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6341 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6343         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6344         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6345         -mfpmath=387 with $(rtld-CFLAGS).
6346         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6347         $(rtld-CFLAGS).
6349 2016-07-18   Ross Burton  <ross.burton@intel.com>
6350              Khem Raj  <raj.khem@gmail.com>
6352         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6353         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6354         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6355         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6356         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6357         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6358         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6359         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6360         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6361         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6362         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6363         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6364         R_METAG_TLS_DTPOFF): New.
6366 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6367             Matt Clay  <mclay@lycos.com>
6369         [BZ #20357]
6370         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6371         to call __mpsin/__mpcos and to negate values.
6372         * math/auto-libm-test-in: Add test.
6373         * math/auto-libm-test-out: Regenerate.
6375 2016-07-18  Zack Weinberg  <zackw@panix.com>
6377         * grp/Makefile: Don't install the internal header grp-merge.h.
6379 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6381         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6383 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6385         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6387 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6389         [BZ #15368]
6390         * sysdeps/unix/sysv/linux/nptl-signals.h
6391         (__nptl_clear_internal_signals): New function.
6392         (__libc_signal_block_all): Likewise.
6393         (__libc_signal_block_app): Likewise.
6394         (__libc_signal_restore_set): Likewise.
6395         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6396         implementation.
6397         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6398         the cached pid/tid value in pthread structure.
6400 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6402         [BZ #20347]
6403         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6405 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6407         [BZ #20348]
6408         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6409         preadv64, pwrite64 and pwritev64.
6411 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6413         [BZ #20350]
6414         * posix/tst-preadwrite.c: Renamed to ...
6415         * posix/tst-preadwrite-common.c: This.
6416         (PREAD): Removed.
6417         (PWRITE): Likewise.
6418         (STRINGIFY): Likewise.
6419         (STRINGIFY2): Likewise.
6420         (do_prepare): Make it static and remove function arguments.
6421         (do_test): Likewise.
6422         (PREPARE): Updated.
6423         (TEST_FUNCTION): New.
6424         (name): Make it static.
6425         (fd): Likewise.
6426         (do_prepare): Use create_temp_file.
6427         (do_test): Renamed to ...
6428         (do_test_with_offset): This.  Make it static and accept offset.
6429         Properly check return value of PWRITE and PREAD.  Return bytes
6430         read.  Don't close fd nor unlink name.
6431         * posix/tst-preadwrite.c: Rewrite.
6432         * posix/tst-preadwrite64.c: Likewise.
6434 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6436         [BZ #20309]
6437         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6438         -mtls-dialect=gnu2 works.
6439         * configure: Regenerated.
6440         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6441         (tests): Add tst-gnu2-tls1.
6442         (modules-names): Add tst-gnu2-tls1mod.
6443         ($(objpfx)tst-gnu2-tls1): New.
6444         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6445         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6446         * elf/tst-gnu2-tls1.c: New file.
6447         * elf/tst-gnu2-tls1mod.c: Likewise.
6448         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6449         bytes for push in the PLT entry to align the stack.
6451 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6453         [BZ #20349]
6454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6456 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6458         [BZ #18707]
6459         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6460         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6462 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6464         * sysdeps/unix/sysv/linux/sysdep.h
6465         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6466         guards.
6467         * misc/tst-preadvwritev-common.c: New file.
6468         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6469         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6470         a check for files larger than 2GB.
6472         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6473         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6474         * sysdeps/unix/sysv/linux/pread.c
6475         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6476         __OFF_T_MATCHES_OFF64_T.
6477         * sysdeps/unix/sysv/linux/pread64.c
6478         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6479         * sysdeps/unix/sysv/linux/preadv.c
6480         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6481         * sysdeps/unix/sysv/linux/preadv64.c
6482         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6483         * sysdeps/unix/sysv/linux/pwrite.c
6484         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6485         * sysdeps/unix/sysv/linux/pwrite64.c
6486         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6487         * sysdeps/unix/sysv/linux/pwritev.c
6488         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6489         * sysdeps/unix/sysv/linux/pwritev64.c
6490         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6492 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6494         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6495         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6497 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6499         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6501 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6503         [BZ #20240]
6504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6505         (CFLAGS-s_modf-ppc32.c): New variable.
6506         (CFLAGS-s_modff-ppc32.c): Likewise.
6507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6508         (CFLAGS-s_modf-ppc64.c): Likewise.
6509         (CFLAGS-s_modff-ppc64.c): Likewise.
6511 2016-07-07  Andreas Schwab  <schwab@suse.de>
6513         [BZ #20263]
6514         * nptl/tst-robust10.c: New test.
6515         * nptl/Makefile (tests): Add tst-robust10.
6517 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6519         [BZ #20263]
6520         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6522 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6524         * sysdeps/s390/linkmap.h (struct link_map_machine):
6525         Remove member gotplt and add member jmprel.
6526         * sysdeps/s390/s390-32/dl-machine.h
6527         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6528         instead of gotplt with &got[3].
6529         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6530         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6532 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6534         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6536 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6538         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6539         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6540         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6541         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6542         * libio/vtables.c (_IO_vtable_check)
6543         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6544         * libio/libioP.h (IO_set_accept_foreign_vtables)
6545         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6547 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6549         [BZ #20314]
6550         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6551         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6552         $(common-objpfx)cmath.
6553         ($(common-objpfx)cstdlib): New target.
6554         ($(common-objpfx)cmath): Likewise.
6556 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6558         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6560 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6562         [BZ #20327]
6563         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6564         are not part of the string.
6566 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6568         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6569         * nptl/tst-cancel4-common.h (fifoname): New variable.
6570         (fifofd): Likewise.
6571         (cl_fifo): New function.
6572         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6573         SIGINT.
6574         (tf_open): Add early cancel test.
6576 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6578         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6580 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6582         * sysdeps/generic/ldsodefs.h
6583         (dl_symbol_visibility_binds_local_p): New inline function.
6584         * elf/dl-addr.c (determine_info): Treat hidden and internal
6585         symbols as local.
6586         * elf/dl-lookup.c (do_lookup_x): Likewise.
6587         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6589 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6591         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6592         invalid exception for a sNaN input.
6593         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6594         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6595         (__nearbyint_vis3): Likewise
6596         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6597         (__nearbyintf_vis3): Likewise
6598         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6599         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6600         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6601         Likewise.
6602         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6603         Likewise.
6605 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6607         [BZ #20139]
6608         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6609         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6610         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6611         2.24 or above.
6612         (HAVE_AVX512_ASM_SUPPORT): Removed.
6613         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6614         * sysdeps/x86_64/configure: Regenerated.
6615         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6616         check unconditional.
6617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6618         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6619         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6620         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6621         Likewise.
6622         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6623         Likewise.
6624         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6625         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6626         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6627         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6628         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6629         Likewise.
6630         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6631         Likewise.
6632         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6633         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6635         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6637         Likewise.
6638         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6639         Likewise.
6640         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6641         Likewise.
6642         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6643         Likewise.
6644         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6645         Likewise.
6646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6647         Likewise.
6648         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6649         Likewise.
6650         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6651         Likewise.
6652         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6653         Likewise.
6654         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6655         Likewise.
6656         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6657         Likewise.
6659 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6661         [BZ #20024]
6662         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6664         of this implementation of vector function.
6665         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6666         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6667         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6668         Likewise.
6669         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6670         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6671         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6672         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6673         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6674         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6675         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6676         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6677         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6678         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6679         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6680         for testing vector sincos with fixed ABI.
6681         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6682         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6683         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6684         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6685         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6686         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6687         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6688         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6689         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6690         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6691         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6692         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6693         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6694         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6695         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6696         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6698 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6700         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6702 2016-06-30  Anton Blanchard  <anton@samba.org>
6704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6705         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6706         s_sinf-ppc64.
6707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6710         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6712 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6716         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6717         e_expf-ppc64.
6718         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6721         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6723 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6725         [BZ #20277]
6726         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6727         when SHARED is defined.
6729 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6731         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6732         (index_arch_Prefer_ERMS): Likewise.
6733         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6734         __memcpy_erms for Prefer_ERMS.
6735         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6736         (__memmove_erms): Enabled for libc.a.
6737         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6738         __memmove_erms or Prefer_ERMS.
6739         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6740         __mempcpy_erms for Prefer_ERMS.
6741         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6742         __memset_erms for Prefer_ERMS.
6744 2016-06-30  Andreas Schwab  <schwab@suse.de>
6746         [BZ #20262]
6747         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6748         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6749         of memory.
6751 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6753         [BZ #18645]
6754         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6755         (test-extras): Add tst-cleanupx4aux.
6756         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6757         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6758         tst-cleanupx4aux.o.
6759         * nptl/tst-cleanupx4aux.c: New file.
6761 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6763         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6765 2016-06-29  Andreas Schwab  <schwab@suse.de>
6767         [BZ #20260]
6768         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6769         address before the beginning of the string as an integer to avoid
6770         array-bounds warning.
6772 2016-06-28  Richard Henderson  <rth@redhat.com>
6774         * elf/elf.h (EM_BPF): New.
6775         (EM_NUM): Update.
6776         (R_BPF_NONE, R_BPF_MAP_FD): New.
6778         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6779         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6780         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6781         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6782         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6783         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6784         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6785         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6786         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6787         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6788         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6789         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6790         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6791         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6792         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6793         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6794         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6795         (EM_NUM): Update.
6797 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6799         [BZ #18960]
6800         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6801         Set _nl_current_LC_CATEGORY_used to two instead of one.
6803 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6805         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6806         (do_test): ... this.
6807         (TEST_FUNCTION): New macro.
6808          Include test-skeleton.c.
6809         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6810         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6812 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6814         [BZ #15479]
6815         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6816         floating-point environment rather than just control word.
6817         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6818         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6819         floating-point environment, with "invalid" exceptions merged in,
6820         rather than just control word.
6821         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6822         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6823         "inexact" exceptions.
6825         [BZ #15479]
6826         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6827         floating-point environment rather than just control word.
6828         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6829         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6830         floating-point environment, with "invalid" exceptions merged in,
6831         rather than just control word.
6832         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6833         * math/libm-test.inc (floor_test_data): Do not allow spurious
6834         "inexact" exceptions.
6836         [BZ #15479]
6837         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6838         floating-point environment rather than just control word.
6839         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6840         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6841         floating-point environment, with "invalid" exceptions merged in,
6842         rather than just control word.
6843         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6844         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6845         "inexact" exceptions.
6847 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6849         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6850         __libc_vfork.
6851         (__vfork) [IS_IN (libc)]: Remove alias.
6852         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6853         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6854         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6856 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6858         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6859         of atomic_compare_and_exchange_bool_rel.
6860         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6861         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6862         catomic_compare_and_exchange_bool_rel): Remove.
6863         * sysdeps/aarch64/atomic-machine.h
6864         (atomic_compare_and_exchange_bool_rel): Likewise.
6865         * sysdeps/alpha/atomic-machine.h
6866         (atomic_compare_and_exchange_bool_rel): Likewise.
6867         * sysdeps/arm/atomic-machine.h
6868         (atomic_compare_and_exchange_bool_rel): Likewise.
6869         * sysdeps/mips/atomic-machine.h
6870         (atomic_compare_and_exchange_bool_rel): Likewise.
6871         * sysdeps/microblaze/atomic-machine.h
6872         ( __arch_compare_and_exchange_bool_8_rel,
6873         __arch_compare_and_exchange_bool_16_rel): Likewise.
6874         * sysdeps/powerpc/atomic-machine.h
6875         ( __arch_compare_and_exchange_bool_8_rel,
6876         __arch_compare_and_exchange_bool_16_rel): Likewise.
6877         * sysdeps/powerpc/powerpc32/atomic-machine.h
6878         ( __arch_compare_and_exchange_bool_32_rel,
6879         __arch_compare_and_exchange_bool_64_rel): Likewise.
6880         * sysdeps/powerpc/powerpc64/atomic-machine.h
6881         ( __arch_compare_and_exchange_bool_32_rel,
6882         __arch_compare_and_exchange_bool_64_rel): Likewise.
6883         * sysdeps/tile/atomic-machine.h
6884         (atomic_compare_and_exchange_bool_rel): Likewise.
6886 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6888         [BZ #20296]
6889         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6890         when either argument is a NaN.
6891         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6892         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6894         * math/libm-test.inc (snan_value_ld): New macro.
6895         (isgreater_test_data): Add sNaN tests.
6896         (isgreaterequal_test_data): Likewise.
6897         (isless_test_data): Likewise.
6898         (islessequal_test_data): Likewise.
6899         (islessgreater_test_data): Likewise.
6900         (isunordered_test_data): Likewise.
6901         (nextafter_test_data): Likewise.
6902         (nexttoward_test_data): Likewise.
6903         (remainder_test_data): Likewise.
6904         (remquo_test_data): Likewise.
6905         (significand_test_data): Likewise.
6906         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6908 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6910         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6911         environment macros are defined.
6912         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6914 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6916         [BZ #20191]
6917         Implement vtable verification in libio.
6918         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6919         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6920         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6921         _IO_new_file_init_internal instead of _IO_file_init.
6922         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6923         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6924         * libio/Makefile (routines): Add vtables.
6925         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6926         (_IO_init): Remove, not for internal use.
6927         (_IO_init_internal): Declare, internal replacement for _IO_init.
6928         (_IO_file_init): Remove, not for internal use.
6929         (_IO_new_file_init): Remove, not for internal use.
6930         (_IO_new_file_init_internal): Declare, internal replacement for
6931         _IO_new_file_init.
6932         (_IO_old_file_init): Remove, not for internal use.
6933         (_IO_old_file_init_internal): Declare, internal replacement for
6934         _IO_old_file_init.
6935         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6936         internal use.
6937         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6938         Declare.
6939         (libio_vtable): New macro.
6940         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6941         functions.
6942         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6943         _IO_new_file_init.
6944         (_IO_new_file_init): New externally visible wrapper which disables
6945         vtable verification.
6946         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6947         Define as vtables.
6948         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6949         (_IO_init): New externally visible wrapper which disables
6950         vtable verification.
6951         * libio/iofdopen.c (_IO_new_fdopen): Call
6952         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6953         comment.
6954         * libio/iofopen.c (__fopen_internal): Call
6955         _IO_new_file_init_internal instead of _IO_file_init.
6956         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6957         Define as vtables.
6958         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6959         _IO_new_file_init_internal instead of _IO_file_init.
6960         * libio/iopopen.c (_IO_new_popen): Likewise.
6961         (_IO_proc_jumps): Define as vtable.
6962         * libio/iovdprintf.c (_IO_vdprintf): Call
6963         _IO_new_file_init_internal instead of _IO_file_init.
6964         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6965         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6966         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6967         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6968         _IO_old_file_init.
6969         (_IO_old_file_init): New externally visible wrapper which disables
6970         vtable verification.
6971         (_IO_old_file_jumps): Define as vtable.
6972         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6973         _IO_old_file_init_internal instead of _IO_old_file_init.
6974         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6975         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6976         (_IO_old_proc_jumps): Define as vtable.
6977         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6978         Define as vtables.
6979         * libio/vtables.c: New file.
6980         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6981         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6982         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6983         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6984         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6985         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6986         instead of _IO_init.
6988 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6990         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6992 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6994         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6995         potentially unused.
6997 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6999         * test-skeleton.c (write_message): New function.
7000         * malloc/tst-mallocfork2.c (write_message): Remove.
7001         * debug/tst-longjmp_chk2.c (write_indented): New function.
7002         (write_message): Remove.
7003         (stackoverflow_handler): Call write_indented.
7005 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
7007         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
7008         "inexact" exceptions after fnstenv.
7009         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7010         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7011         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7013 2015-06-22  Zack Weinberg  <zackw@panix.com>
7015         * sysdeps/generic/bits/hwcap.h: Moved to ...
7016         * bits/hwcap.h: Here.
7018 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
7020         * sysdeps/aarch64/memcpy.S (memcpy):
7021         Further tuning for performance.
7023 2016-06-21  Florian Weimer  <fweimer@redhat.com>
7025         [BZ #20284]
7026         * malloc/arena.c (reused_arena): Do not return NULL if we start
7027         out with a non-corrupted arena.
7029 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7031         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
7032         * misc/tst-preadvwritev.c: New file.
7033         * misc/tst-preadvwritev64.c: Likewise.
7034         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
7035         usage.
7036         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
7037         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
7038         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
7039         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
7041 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
7043         [BZ #19654]
7044         * sysdeps/x86_64/fpu/Makefile: Added new tests.
7045         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
7046         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
7047         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
7048         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
7049         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
7050         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
7051         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
7052         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
7053         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
7054         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
7055         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
7056         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
7057         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
7058         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
7059         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
7060         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
7061         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
7062         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
7063         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
7064         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
7065         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
7066         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
7067         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
7068         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
7069         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
7071 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
7073         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
7074         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
7076 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
7078         * sysdeps/aarch64/memcpy.S (memcpy):
7079         Rewrite of optimized memcpy and memmove.
7080         * sysdeps/aarch64/memmove.S (memmove): Remove
7081         memmove code (merged into memcpy.S).
7083 2016-06-20  Florian Weimer  <fweimer@redhat.com>
7085         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
7086         * sysdeps/generic/dl-dtv.h: New file.
7087         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7088         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
7089         (dtv_t): Remove.
7090         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7091         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
7092         (dtv_t): Remove.
7093         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7094         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
7095         (dtv_t): Remove.
7096         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7097         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
7098         (dtv_t): Remove.
7099         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7100         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
7101         (dtv_t): Remove.
7102         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7103         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
7104         (dtv_t): Remove.
7105         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7106         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
7107         (dtv_t): Remove.
7108         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
7109         (dtv_t): Remove.
7110         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7111         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
7112         (dtv_t): Remove.
7113         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7114         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
7115         (dtv_t): Remove.
7116         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7117         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
7118         (dtv_t): Remove.
7119         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7120         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
7121         (dtv_t): Remove.
7122         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7123         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
7124         (dtv_t): Remove.
7125         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7126         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
7127         (dtv_t): Remove.
7128         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7129         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
7130         (dtv_t): Remove.
7131         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7132         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
7133         (dtv_t): Remove.
7135 2016-06-20  Florian Weimer  <fweimer@redhat.com>
7137         Revert symbol poisoning of  __malloc_initialize_hook.
7138         * include/stdc-predef.h (__malloc_initialize_hook): Remove
7139         poisoning.
7140         * malloc/Makefile: Remove un-poisoning.
7141         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
7142         instead of old__malloc_initialize_hook.
7143         * malloc/malloc-hooks.h: Likewise.
7144         * malloc/malloc.c: Likewise.
7145         * malloc/mcheck-init.c: Likewise.
7147 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
7149         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
7151 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
7153         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
7154         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
7155         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7156         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7158 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7160         * NEWS: Mention addition of nextup and nextdown.
7161         * manual/arith.texi: Document nextup and nextdown.
7162         * manual/libm-err-tab.pl: Add nextup and nextdown.
7163         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
7164         * math/Versions (libm): Add GLIBC_2.24.
7165         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
7166         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7167         Add new test.
7168         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
7169         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
7170         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
7171         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
7172         (nextup_test_data): Likewise.
7173         (nextdown_test_data): Likewise.
7174         * math/s_nextdown.c: New file.
7175         * math/s_nextdownf.c: Likewise.
7176         * math/s_nextdownl.c: Likewise.
7177         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
7178         F(nextup): New function.
7179         F(nextdown): Likewise.
7180         * math/tgmath.h: Add nextup and nextdown.
7181         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
7182         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
7183         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7184         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
7185         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
7186         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
7187         Add nextup and nextdown.
7188         (CFLAGS-nldbl-nextup.c): New variable.
7189         (CFLAGS-nldbl-nextdown.c): Likewise.
7190         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
7191         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
7192         * sysdeps/nacl/libm.abilist: Update.
7193         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7194         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7195         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7196         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7197         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7198         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7199         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7200         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7201         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7202         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7203         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7204         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7207         Likewise.
7208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7210         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7211         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7213         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7214         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
7216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
7217         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7218         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7219         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
7220         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7222 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7224         * manual/pattern.texi: Fix typos & grammar errors.
7226 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7228         * manual/search.texi: Fix typos & grammar errors.
7230 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7232         * manual/message.texi: Fix typos & grammar errors.
7234 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
7236         * manual/contrib.texi: Fix spelling typos.
7237         * manual/crypt.texi: Likewise.
7238         * manual/filesys.texi: Likewise.
7239         * manual/locale.texi: Likewise.
7240         * manual/message.texi: Likewise.
7241         * manual/nss.texi: Likewise.
7242         * manual/string.texi: Likewise.
7244 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7246         * manual/locale.texi: Fix typos & grammar errors.
7248 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7250         * manual/charset.texi: Fix typos & grammar errors.
7252 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7254         * manual/string.texi: Fix typos.
7256 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7258         * manual/ctype.texi: Fix typos.
7260 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7262         * manual/memory.texi: Fix various typos & grammar errors.
7264 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
7266         [BZ #20255]
7267         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
7268         * math/libm-test.inc (fdim_test_data): Add another test.
7270         [BZ #6796]
7271         [BZ #20255]
7272         [BZ #20256]
7273         * math/s_fdim.c: Include <math_private.h>.
7274         (__fdim): Use math_narrow_eval on result.
7275         * math/s_fdimf.c: Include <math_private.h>.
7276         (__fdimf): Use math_narrow_eval on result.
7277         * sysdeps/i386/fpu/s_fdim.S: Remove file.
7278         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
7279         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
7280         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
7281         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
7282         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
7283         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
7284         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
7285         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
7286         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
7287         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
7288         * math/libm-test.inc (fdim_test_data): Expect errno setting on
7289         overflow.  Add sNaN tests.
7291         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7292         fpclassify.
7293         * math/s_fdimf.c (__fdimf): Likewise.
7294         * math/s_fdiml.c (__fdiml): Likewise.
7296 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7298         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7299         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7301         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7302         ifunc'ed strcasecmp/strncasecmp.
7303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7304         [EALIGN]: Removed.
7305         [END]: Likewise.
7306         [__strcasecmp]: Define instead of the above to control symbol name.
7307         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7308         for __strcasecmp_power8.
7309         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7310         for __strncasecmp_power8.
7311         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7312         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7313         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7314         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7315         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7316         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7318 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7320         [BZ #20252]
7321         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7322         arguments when second argument is a NaN.
7323         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7324         qNaN tests.
7326         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7327         (conj_test_data): Likewise.
7328         (copysign_test_data): Likewise.
7329         (creal_test_data): Likewise.
7330         (fma_test_data): Likewise.
7331         (fmod_test_data): Likewise.
7333         [BZ #20250]
7334         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7335         itself.
7336         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7337         zero input to itself.
7338         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7339         Likewise.
7340         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7341         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7342         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7343         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7344         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7346 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7348         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7349         * nptl/tst-cancel4-common.c: New file.
7350         * nptl/tst-cancel4-common.h: Likewise.
7351         * nptl/tst-cancel4.c: Move common definitions to
7352         tst-cancel4-common.{c,h} file.
7353         * nptl/tst-cancel4_1.c: New test.
7354         * nptl/tst-cancel4_2.c: New test.
7356 2016-06-13  Florian Weimer  <fweimer@redhat.com>
7358         [BZ #20248]
7359         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7360         (write_message): New function.
7361         (stackoverflow_handler): Call it instead of printf, to avoid
7362         excessive stack usage by printf.
7363         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7365 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7367         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7368         (prio_inherit_missing): Remove define.
7369         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7370         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7371         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7372         Likewise.
7373         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7374         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7375         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7376         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7377         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7378         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7380 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7382         [BZ #19670]
7383         [BZ #19672]
7385         * io/test-lfs.c (do_prepare): Use xmalloc.
7386         * io/tst-fcntl.c (do_prepare): Likewise.
7387         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7388         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7389         * login/tst-utmp.c (do_prepare): Likewise.
7390         * posix/tst-exec.c (do_prepare): Likewise.
7391         * posix/tst-pathconf.c (prepare): Likewise.
7392         * posix/tst-spawn.c (do_prepare): Likewise.
7393         * posix/tst-truncate.c (do_prepare): Likewise.
7394         * rt/tst-aio.c (do_prepare): Likewise.
7395         * rt/tst-aio64.c (do_prepare): Likewise.
7397 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7399         [BZ #20237]
7400         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7401         (get*ent): Set entidx to NULL during initialization.  If entidx is
7402         NULL, start iteration from the beginning.
7404 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7406         * malloc/malloc.c (musable): Return correct size for dumped fake
7407         mmapped chunk.
7409 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7411         [BZ #20222]
7412         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7413         (_IO_cookie_write): Likewise.
7414         (_IO_cookie_seek): Likewise.
7415         (_IO_cookie_close): Likewise.
7416         (_IO_old_cookie_seek): Likewise.
7417         (set_callbacks): New function.
7418         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7420 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7422         * locale/programs/localedef.c (oldstyle_tables): Remove.
7423         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7425 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7427         [BZ #20240]
7428         * math/Makefile (CFLAGS-s_modf.c): New variable.
7429         (CFLAGS-s_modff.c): Likewise.
7430         (CFLAGS-s_modfl.c): Likewise.
7431         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7433 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7435         [BZ #20215]
7436         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7437         [!__GNUC_PREREQ (3,2)]: Likewise.
7439 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7441         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7442         (msghdr.msg_controllen): Likewise.
7443         (cmsghdr.cmsg_len): Likewise.
7444         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7445         ptw-oldsendmsg.
7446         (CFLAGS-oldrecvmsg.c): Remove rule.
7447         (CFLAGS-oldsendmsg.c): Likewise.
7448         (CFLAGS-recvmsg.c): Add rule.
7449         (CFLAGS-sendmsg.c): Likewise.
7450         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7451         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7452         (CFLAGS-recvmsg.c): Remove rule.
7453         (CFLAGS-sendmsg.c): Likewise.
7454         (CFLAGS-oldrecvmsg.c): Likewise.
7455         (CFLAGS-oldsendmsg.c): Likewise.
7456         (CFLAGS-recvmmsg.c): Likewise.
7457         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7458         to kernel defined interfaces.
7459         (msghdr.msg_controllen): Likewise.
7460         (cmsghdr.cmsg_len): Likewise.
7461         (msghdr.__glibc_reserved1): Remove member.
7462         (msghdr.__glibc_reserved2): Likewise.
7463         (cmsghdr.__glibc_reserved1): Likewise.
7464         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7465         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7466         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7467         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7468         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7469         version.
7470         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7471         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7472         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7473         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7474         Remove recvmsg and sendmsg.
7475         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7476         Likewise.
7477         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7478         Likewise.
7479         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7480         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7481         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7482         Likewise.
7483         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7484         Likewise.
7485         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7486         [libc] (GLIBC_2.24): Likewise.
7487         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7488         Likewise.
7489         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7490         Likewise.
7491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7492         [libc] (GLIBC_2.24): Likewise.
7493         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7494         Likewise.
7495         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7496         Likewise.
7497         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7498         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7499         Likewise.
7500         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7501         Likewise.
7502         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7503         Likewise.
7504         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7505         Likewise.
7506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7507         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7508         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7509         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7510         version for {recv,send,recm,sendm}msg.
7511         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7512         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7513         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7514         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7515         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7516         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7517         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7518         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7519         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7520         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7521         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7522         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7524         Likewise.
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7526         Likewise.
7527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7529         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7530         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7531         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7532         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7533         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7534         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7537         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7538         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7539         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7541 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7543         [BZ #19564]
7544         Remove __malloc_initialize_hook from the API.
7545         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7546         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7547         #pragma GCC poison.
7548         * malloc/malloc-hooks.h: New file.
7549         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7550         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7551         (old__malloc_initialize_hook): Rename from
7552         __malloc_initialize_hook to evade poisoning.  Turn into compat
7553         symbol.
7554         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7555         __malloc_initialize_hook.
7556         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7557         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7558         * manual/memory.texi (Hooks for Malloc): Remove
7559         __malloc_initialize_hook.  Adjust hook example.
7561 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7563         [BZ #20235]
7564         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7565         itself.
7566         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7567         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7569         [BZ #20234]
7570         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7571         infinity or NaN input to itself.
7573         [BZ #20233]
7574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7575         to itself.
7577         [BZ #20232]
7578         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7579         itself.
7581 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7583         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7584         __libc_start_main via GOT.
7586 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7588         * sysdeps/x86_64/memcopy.h: New file.
7589         * sysdeps/x86_64/wordcopy.c: Likewise.
7591 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7593         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7594         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7595         <cstdlib>.
7596         (optimization_barrier): New.
7597         (do_test): Use it.  Call quick_exit in the global namespace.
7598         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7599         instead of <cstdlib>, <thread>.
7600         (optimization_barrier): New.
7601         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7602         Call quick_exit in the global namespace.
7603         (do_test): Call optimization_barrier.  Use pthread_create,
7604         pthread_join instead of std::thread.
7606 2016-06-09  Andreas Schwab  <schwab@suse.de>
7608         [BZ #19755]
7609         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7610         new entries in auto-propagate mode.
7611         * nscd/grpcache.c (cache_addgr): Likewise.
7613 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7615         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7616         New functions.
7617         (add_temp_file): Use them.
7619 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7621         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7623 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7625         [BZ #20229]
7626         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7627         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7628         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7630         [BZ #20228]
7631         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7632         itself.
7633         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7634         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7636         [BZ #20227]
7637         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7638         itself.
7639         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7640         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7641         * math/libm-test.inc (log_test_data): Add sNaN tests.
7643         [BZ #20226]
7644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7645         itself.
7646         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7647         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7648         (exp10_test_data): Likewise.
7649         (expm1_test_data): Likewise.
7651         [BZ #20225]
7652         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7653         itself.
7654         * math/s_ldexpf.c (__ldexpf): Likewise.
7655         * math/s_ldexpl.c (__ldexpl): Likewise.
7656         * math/w_scalbln.c (__w_scalbln): Likewise.
7657         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7658         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7659         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7660         (scalbln_test_data): Likewise.
7662         [BZ #20224]
7663         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7664         argument to itself.
7665         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7667 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7669         [BZ #19776]
7670         * sysdeps/x86_64/memcpy.S: Make it dummy.
7671         * sysdeps/x86_64/mempcpy.S: Likewise.
7672         * sysdeps/x86_64/memmove.S: New file.
7673         * sysdeps/x86_64/memmove_chk.S: Likewise.
7674         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7675         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7676         * sysdeps/x86_64/memmove.c: Removed.
7677         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7678         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7679         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7680         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7681         Likewise.
7682         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7683         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7685         memcpy-sse2-unaligned, memmove-avx-unaligned,
7686         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7688         (__libc_ifunc_impl_list): Replace
7689         __memmove_chk_avx512_unaligned_2 with
7690         __memmove_chk_avx512_unaligned.  Remove
7691         __memmove_chk_avx_unaligned_2.  Replace
7692         __memmove_chk_sse2_unaligned_2 with
7693         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7694         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7695         with __memmove_avx512_unaligned.  Replace
7696         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7697         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7698         with __memcpy_chk_avx512_unaligned.  Remove
7699         __memcpy_chk_avx_unaligned_2.  Replace
7700         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7701         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7702         Replace __memcpy_avx512_unaligned_2 with
7703         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7704         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7705         with __mempcpy_chk_avx512_unaligned.  Remove
7706         __mempcpy_chk_avx_unaligned_2.  Replace
7707         __mempcpy_chk_sse2_unaligned_2 with
7708         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7709         Replace __mempcpy_avx512_unaligned_2 with
7710         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7711         Replace __mempcpy_sse2_unaligned_2 with
7712         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7713         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7714         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7715         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7716         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7717         (ENTRY): Removed.
7718         (END): Likewise.
7719         (ENTRY_CHK): Likewise.
7720         (libc_hidden_builtin_def): Likewise.
7721         Don't include ../memcpy.S.
7722         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7723         __memcpy_chk_avx512_unaligned_erms and
7724         __memcpy_chk_avx512_unaligned.  Use
7725         __memcpy_chk_avx_unaligned_erms and
7726         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7727         Default to __memcpy_chk_sse2_unaligned.
7728         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7729         Change function suffix from unaligned_2 to unaligned.
7730         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7731         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7732         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7733         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7734         (ENTRY): Removed.
7735         (END): Likewise.
7736         (ENTRY_CHK): Likewise.
7737         (libc_hidden_builtin_def): Likewise.
7738         Don't include ../mempcpy.S.
7739         (mempcpy): New.  Add a weak alias.
7740         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7741         __mempcpy_chk_avx512_unaligned_erms and
7742         __mempcpy_chk_avx512_unaligned.  Use
7743         __mempcpy_chk_avx_unaligned_erms and
7744         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7745         Default to __mempcpy_chk_sse2_unaligned.
7747 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7749         [BZ #19881]
7750         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7751         into ...
7752         * sysdeps/x86_64/memset.S: This.
7753         (__bzero): Removed.
7754         (__memset_tail): Likewise.
7755         (__memset_chk): Likewise.
7756         (memset): Likewise.
7757         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7758         defined.
7759         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7760         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7761         (__memset_zero_constant_len_parameter): Check SHARED instead of
7762         PIC.
7763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7764         memset-avx2 and memset-sse2-unaligned-erms.
7765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7766         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7767         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7768         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7769         (__bzero): Enabled.
7770         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7771         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7772         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7773         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7774         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7775         (memset): Removed.
7776         (__memset_chk): Likewise.
7777         (MEMSET_SYMBOL): New.
7778         (libc_hidden_builtin_def): Replace __memset_sse2 with
7779         __memset_sse2_unaligned.
7780         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7781         __memset_chk_sse2 and __memset_chk_avx2 with
7782         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7783         Use __memset_chk_sse2_unaligned_erms or
7784         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7785         __memset_chk_avx512_unaligned_erms and
7786         __memset_chk_avx512_unaligned.
7788 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7790         * math/gen-auto-libm-test.c (fp_format_desc): remove
7791         suffix member.
7792         (output_generic_value): Remove usage of suffix member,
7793         and the resulting unuse of the fp_format argument.
7794         (output_for_one_input_case): Remove unused fp_format
7795         parameter.
7797         * math/auto-libm-test-out: Regenerate.
7799         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7800         usage with TEST_COND_ibm128.
7801         (TEST_COND_flt_32): Remove.
7802         (TEST_COND_dbl_64): Remove.
7803         (TEST_COND_ldbl_96_intel): Remove.
7804         (TEST_COND_ldbl_96_m68k): Remove.
7805         (TEST_COND_ldbl_128): Remove.
7807 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7809         * auto-libm-test-in:
7810         Replace flt-32 usage with binary32.
7811         Replace dbl-64 usage with binary64.
7812         Replace ldbl-intel-96 usage with intel96.
7813         Replace ldbl-m68k-96 usage with m68k96.
7814         Replace ldbl-128ibm usage with ibm128.
7815         Replace ldbl-128 usage with binary128.
7817         * auto-libm-test-out: Regenerate.
7819 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7821         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7822         (parse_ulps): Dynamically generate type name matching
7823         string from all_floats.
7824         (get_ulps): Generate the ulps as an array instead.
7825         (output_ulps): Dynamically compose the type based
7826         on the number of supported formats, and print
7827         the indices as type specific helper macros.
7829         * math/libm-test.inc: Remove comment about CHOOSE.
7830         (ulp_data): Generate the type in libm-test-ulps.h.
7831         (ULP_IDX): New macro.
7832         (find_ulps): Update usage of max_ulp.
7834         * math/test-double-vlen2.h (CHOOSE): Remove.
7835         * math/test-double-vlen4.h (CHOOSE): Likewise.
7836         * math/test-double-vlen8.h (CHOOSE): Likewise.
7837         * math/test-float.c (CHOOSE): Likewise.
7838         * math/test-float-finite.c (CHOOSE): Likewise.
7839         * math/test-double.c (CHOOSE): Likewise.
7840         * math/test-double-finite.c (CHOOSE): Likewise.
7841         * math/test-idouble.c (CHOOSE): Likewise.
7842         * math/test-ifloat.c (CHOOSE): Likewise.
7843         * math/test-ildoubl.c (CHOOSE): Likewise.
7844         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7845         * math/test-ldouble.c (CHOOSE): Likewise.
7847         * math/test-float.h (TEST_FLOAT): Remove.
7848         * math/test-double.h (TEST_DOUBLE): Likewise.
7849         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7851 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7853         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7854         (parse_args): Strip C suffix from floating point literals
7855         typed with 'f' and wrap them with LIT().
7857         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7858         (test_ff_f_data_nexttoward): Rename to
7859         (test_fj_f_data): New struct.
7860         (nexttoward_test_data): Relabel tests as
7861         TEST_fj_f instead of TEST_ff_f.
7863 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7865         Emacs bug 23726.
7866         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7867         (__libc_realloc): Correct size computation for dumped fake mmapped
7868         chunks.
7870 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7872         [BZ #20219]
7873         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7874         to itself.
7875         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7877         [BZ #20218]
7878         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7879         to itself.
7880         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7882 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7884         [BZ #20195]
7885         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7886         check to ...
7887         (init_cpu_features): Here.
7889 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7891         [BZ #20214]
7892         * sysdeps/unix/sysv/linux/bits/in.h
7893         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7894          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7895         Define to 1.
7896         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7897          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7898         Define to 0.
7899         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7900         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7902 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7904         [BZ #20198]
7905         * stdlib/Makefile (tests): Add tst-quick_exit, and
7906         tst-thread-quick_exit.
7907         [ifeq ($(have-cxx-thread_local),yes)]
7908         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7909         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7910         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7911         (LDLIBS-tst-thread-quick_exit): Likewise.
7912         [ifneq ($(have-cxx-thread_local),yes)]
7913         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7914         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7915         If run_dtors is true call __call_tls_dtors.
7916         (exit): Call __run_exit_handlers with run_dtors set to true.
7917         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7918         definition.
7919         * stdlib/quick_exit.c (quick_exit): Remove function.
7920         (__new_quick_exit): New function.
7921         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7922         function.
7923         * stdlib/tst-quick_exit.cc: New file.
7924         * stdlib/tst-thread-quick_exit.cc: New file.
7925         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7926         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7927         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7928         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7929         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7930         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7931         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7932         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7933         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7934         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7935         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7936         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7937         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7938         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7939         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7940         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7945         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7946         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7947         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7948         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7949         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7952         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7953         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7954         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7956 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7958         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7959         a typo in comments.
7961 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7963         [BZ #20213]
7964         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7965         argument to itself.
7966         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7968 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7970         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7971         required flags.
7972         (CFLAGS-pwritev64.c): Likewise.
7973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7974         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7975         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7976         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7977         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7978         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7979         syscall from auto-generation.
7980         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7981         [WORDSIZE == 64] (pwritev64): Remove macro.
7982         [!PWRITEV] (PWRITEV): Likewise.
7983         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7984         [!PWRITEV] (PWRITE): Likewise.
7985         [!PWRITEV] (OFF_T): Likewise.
7986         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7987         (LO_HI_LONG): Remove macro.
7988         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7989         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7990         (PWRITEV): Remove macro.
7991         (PWRITEV_REPLACEMENTE): Likewise.
7992         (PWRITE): Likewise.
7993         (OFF_T): Likewise.
7994         (pwritev64): New function.
7995         * nptl/tst-cancel4.c (tf_writev): Add test.
7997         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7998         required flags.
7999         (CFLAGS-preadv64.c): Likewise.
8000         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
8001         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8002         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
8003         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
8004         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
8005         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
8006         syscall from auto-generation.
8007         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
8008         [WORDSIZE == 64] (preadv64): Remove macro.
8009         [!PREADV] (PREADV): Likewise.
8010         [!PREADV] (PREADV_REPLACEMENT): Likewise.
8011         [!PREADV] (PREAD): Likewise.
8012         [!PREADV] (OFF_T): Likewise.
8013         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
8014         (LO_HI_LONG): Remove macro.
8015         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
8016         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
8017         (PREADV): Remove macro.
8018         (PREADV_REPLACEMENTE): Likewise.
8019         (PREAD): Likewise.
8020         (OFF_T): Likewise.
8021         (preadv64): New function.
8022         * nptl/tst-cancel4.c (tf_preadv): Add test.
8024 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
8026         [BZ #20212]
8027         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
8028         argument to itself.
8029         * math/libm-test.inc (acos_test_data): Add sNaN tests.
8031 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8033         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
8034         New symbol defined as libc_hidden_def.
8035         (strcasestr): Became a weak alias to __strcasestr.
8036         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
8037         according to multi-arch support.  Move __stpncpy hidden
8038         definition from here to...
8039         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
8040         symbol stpncpy.
8041         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
8042         libc_hidden_builtin_def.
8043         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
8044         memset symbol to use when multi-arch support is available.
8046 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8048         * dlfcn/tst-rec-dlopen.c: Include string.h.
8050 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8052         * manual/install.texi: Remove mention of --without-tls
8053         * INSTALL: Regenerate.
8055 2016-06-05  Florian Weimer  <fweimer@redhat.com>
8057         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
8058         Remove.
8059         (call_function, interposed_malloc_called): New variables.
8060         (malloc): New function.
8061         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
8062         and clear call_function as needed.
8064 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
8066         * include/wchar.h (__wmemset): Use __typeof.
8068 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
8070         * include/wchar.h (__wmemset): Declare function without typeof.
8072 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
8074         [BZ #20205]
8075         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
8076         exponent when incrementing negative subnormal with low mantissa
8077         word zero.
8078         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8079         Add another test.
8081 2016-06-03  Florian Weimer  <fweimer@redhat.com>
8083         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
8084         __wmemset instead of wmemset.
8086 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
8088         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
8089         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
8090         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
8091         __USE_KERNEL_IPV6_DEFS to 0.
8092         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
8093         Update comment.
8095 2016-06-01  Florian Weimer  <fweimer@redhat.com>
8097         [BZ #19861]
8098         Do not use IFUNC resolver with potentially unrelocated symbol.
8099         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
8100         (DEFINE_FORK): Remove macro and inline definition.
8101         (fork_alias): Renamed from fork_ifunc.
8102         (__fork_alias): Renamed from __fork_ifunc.
8104 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
8106         [BZ 19653]
8107         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
8108         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
8110 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8112         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
8113         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
8114         i386-linux-gnu).
8115         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
8116         Set to no.
8117         * sysdeps/mach/hurd/configure: Refresh.
8119 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8121         [BZ #20178]
8122         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
8123         on failure instead of exit.
8125 2016-05-30  Roland McGrath  <roland@hack.frob.com>
8127         [BZ #3629]
8128         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
8129         of POSIX.1-2008.
8131 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8133         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
8134           Use PLT entry for calling _hurd_self_sigstate.
8136 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
8138         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
8139         available logical processors with SMT level type sharing L2
8140         cache for Intel processors.
8142 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8144         [BZ #20160]
8145         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
8146         argument to itself before returning the result.
8147         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8148         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8149         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8150         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8151         Likewise.
8152         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8153         Likewise.
8154         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
8155         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
8156         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8157         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8158         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8159         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8161         [BZ #20160]
8162         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
8163         argument to itself before returning the result.
8164         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8165         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8166         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8167         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
8168         Likewise.
8169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8170         Likewise.
8171         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
8172         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
8173         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
8174         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8175         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8176         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8178 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8180         * libm-test.inc: Replace usage of M_El with
8181         (lit_e): New macro.
8183 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8185         * libm-test.inc: Replace usage of M_PI_4l with
8186         (lit_pi_4_d): New macro.
8188 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8190         * libm-test.inc: Replace usage of M_PIl with
8191         (lit_pi): New macro.
8193 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8195         * libm-test.inc: Replace usage of M_PI2l with
8196         (lit_pi_2_d): New macro.
8198         * math/test-double.h (LITM): New macro.
8199         * math/test-float.h (LITM): Likewise.
8200         * math/test-ldouble.h (LITM): Likewise.
8202 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8204         * libm-test.inc (M_PI_34l): Rename to
8205         (lit_pi_3_m_4_d): New Macro.
8206         (M_PI_34_LOG10El): Rename to
8207         (lit_pi_3_m_4_ln10_m_d): New Macro.
8208         (M_PI2_LOG10El): Rename to
8209         (lit_pi_2_ln10_m_d):  New Macro.
8210         (M_PI4_LOG10El): Rename to
8211         (lit_pi_4_ln10_m_d):  New Macro.
8212         (M_PI_LOG10El): Rename to
8213         (lit_pi_ln10_d):  New Macro.
8215 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8217         [BZ #20157]
8218         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
8219         determine whether to negate low half if [_ARCH_PPCGR], and integer
8220         comparison otherwise.
8221         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
8222         determine whether to negate low half.
8224         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
8225         (NO_TEST_INLINE_DOUBLE): Likewise.
8226         (TEST_COND_x86_64): Likewise.
8227         (TEST_COND_x86): Likewise.
8228         (M_PI_6l): Likewise.
8230 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8232         * math/libm-test.inc:
8233         (TEST_FLOAT): Change usage to TEST_COND_binary32.
8234         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
8235         (TEST_LDOUBLE): Update usage to evaluate as true if
8236         the guarded tests match the property being tested.
8237         (LDBL_MAX_EXP): Change to MAX_EXP.
8238         (LDBL_MIN_EXP): Change to MIN_EXP.
8239         (LDBL_MANT_DIG): Change to MANT_DIG, except for
8240         nexttoward tests.
8242 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8244         * math/libm-test.inc:
8245         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
8246         (TYPE_MIN): Likewise.
8247         (TYPE_TRUE_MIN): Likewise.
8248         (TYPE_MAX): Likewise.
8249         (MIN_EXP): Likewise.
8250         (MAX_EXP): Likewise.
8251         (MANT_DIG): Likewise.
8253         (FSTR_MAX): New macro.
8254         (__CONCATX): Likewise.
8255         (QTYPE_STR): Likewise.
8256         (TEST_COND_binary32): Likewise.
8257         (TEST_COND_binary64): Likewise.
8258         (TEST_COND_binary128): Likewise.
8259         (TEST_COND_ibm128): Likewise.
8260         (TEST_COND_intel96): Likewise.
8261         (TEST_COND_m68k96): Likewise.
8263         (TEST_COND_flt_32): Redefine as equivalent format test macro.
8264         (TEST_COND_dbl_64): Likewise.
8265         (TEST_COND_ldbl_96_intel): Likewise.
8266         (TEST_COND_ldbl_96_m68k): Likewise.
8267         (TEST_COND_ldbl_128): Likewise.
8268         (TEST_COND_ldbl_128ibm): Likewise.
8270         (plus_zero): Redefine using LIT macro.
8271         (minus_zero): Likewise.
8272         (plus_infty): Redefine as (INF).
8273         (minux_infty): Redefine as (-INF).
8274         (max_value): Redefine as TYPE_MAX.
8275         (min_value): Redefine as TYPE_MIN.
8276         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
8278         (print_float): Refactor to use snprintf to convert FLOAT values
8279         to string. This brings it closer to dropin replacement of strtof
8280         for the TS 18661 defined types.
8281         (update_stats): Likewise.
8282         (print_complex_function_ulps): Likewise.
8283         (print_max_error): Likewise.
8284         (print_complex_max_error): Likewise.
8285         (check_float_internal): Likewise.
8287         * math/test-float.h (PREFIX): New macro.
8288         (LIT): Likewise.
8289         (TYPE_STR): Likewise.
8290         (FTOSTR): Likewise.
8292         * math/test-double.h (PREFIX): New macro.
8293         (LIT): Likewise.
8294         (TYPE_STR): Likewise.
8295         (FTOSTR): Likewise.
8297         * math/test-ldouble.h (PREFIX): New macro.
8298         (LIT): Likewise.
8299         (TYPE_STR): Likewise.
8300         (FTOSTR): Likewise.
8302 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8304         [BZ #20156]
8305         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8306         to itself when zero or not finite.
8307         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8308         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8309         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8310         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8312 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8314         [BZ #20153]
8315         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8316         x * x + x for infinities and NaNs.
8318         [BZ #20151]
8319         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8320         argument to itself before returning result.
8321         (__ieee754_y0l): Likewise.
8322         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8323         (__ieee754_y1l).
8325         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8326         (atan_test_data): Likewise.
8327         (ceil_test_data): Likewise.
8328         (cos_test_data): Likewise.
8329         (cosh_test_data): Likewise.
8330         (erf_test_data): Likewise.
8331         (exp2_test_data): Likewise.
8332         (fabs_test_data): Likewise.
8333         (floor_test_data): Likewise.
8334         (ilogb_test_data): Likewise.
8335         (j0_test_data): Likewise.
8336         (j1_test_data): Likewise.
8337         (jn_test_data): Likewise.
8338         (lgamma_test_data): Likewise.
8339         (lrint_test_data): Likewise.
8340         (llrint_test_data): Likewise.
8341         (logb_test_data): Likewise.
8342         (lround_test_data): Likewise.
8343         (llround_test_data): Likewise.
8344         (nearbyint_test_data): Likewise.
8345         (rint_test_data): Likewise.
8346         (round_test_data): Likewise.
8347         (sin_test_data): Likewise.
8348         (sincos_test_data): Likewise.
8349         (sinh_test_data): Likewise.
8350         (sqrt_test_data): Likewise.
8351         (tan_test_data): Likewise.
8352         (tanh_test_data): Likewise.
8353         (tgamma_test_data): Likewise.
8354         (trunc_test_data): Likewise.
8355         (y0_test_data): Likewise.
8356         (y1_test_data): Likewise.
8357         (yn_test_data): Likewise.
8359         * math/libm-test.inc: Update comment about NaN testing.
8360         (TEST_SNAN): New macro.
8361         (snan_value): Likewise.
8362         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8363         (fpclassify_test_data): Add sNaN tests.
8364         (isfinite_test_data): Likewise.
8365         (isinf_test_data): Likewise.
8366         (isnan_test_data): Likewise.
8367         (isnormal_test_data): Likewise.
8368         (issignaling_test_data): Likewise.
8369         (signbit_test_data): Likewise.
8370         * math/gen-libm-test.pl (%beautify): Add snan_value.
8371         (show_exceptions): Add argument $test_snan.
8372         (parse_args): Handle snan_value as non-finite.  Update call to
8373         show_exceptions.
8374         * math/Makefile (libm-test-no-inline-cflags): Add
8375         -fsignaling-nans.
8377 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8379         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8380         (CFLAGS-oldsendmsg.c): Add rule.
8381         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8382         Correct recvmsg symbol name.
8383         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8384         Likewise.
8386 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8388         * sysdeps/unix/sysv/linux/Makefile
8389         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8390         oldsendmmsg.
8391         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8392         sendmmsg.
8393         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8394         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8395         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8396         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8398         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8399         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8401         Likewise.
8402         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8403         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8404         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8405         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8406         iovlen and controllen fields to adjust to POSIX specification.
8407         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8409         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8410         and change to correct expected type.
8411         (msghdr.msg_controllen): Likewise.
8412         (cmsghdr.cmsg_len): Likewise.
8413         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8414         expected POSIX assumption about the size.
8415         (msghdr.msg_controllen): Likewise.
8416         (msghdr.__glibc_reserved1): Likewise.
8417         (msghdr.__glibc_reserved2): Likewise.
8418         (cmsghdr.cmsg_len): Likewise.
8419         (cmsghdr.__glibc_reserved1): Likewise.
8420         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8421         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8422         (CFLAGS-sendmsg.c): Remove rule.
8423         (CFLAGS-recvmsg.c): Likewise.
8424         (CFLAGS-oldsendmsg.c): Add rule.
8425         (CFLAGS-oldrecvmsg.c): Likewise.
8426         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8427         recvmsg and sendmsg.
8428         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8429         Likewise.
8430         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8431         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8432         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8433         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8434         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8435         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8436         Likewise.
8437         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8438         Likewise.
8439         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8440         Likewise.
8441         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8442         Likewise.
8443         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8444         Likewise.
8445         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8446         Likewise.
8447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8448         (GLIBC_2.24): Likewise.
8449         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8450         Likewise.
8451         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8452         Likewise.
8453         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8454         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8455         Likewise.
8456         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8457         Likewise.
8458         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8459         Likewise.
8460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8461         (GLIBC_2.24): Likewise.
8462         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8463         Likewise.
8464         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8465         Likewise.
8466         * sysdeps/unix/sysv/linux/Makefile
8467         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8468         (CFLAGS-sendmsg.c): Add rule.
8469         (CFLAGS-recvmsg.c): Likewise.
8470         (CFLAGS-oldsendmsg.c): Likewise.
8471         (CFLAGS-oldrecvmsg.c): Likewise.
8472         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8473         initialization.
8474         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8475         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8476         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8477         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8478         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8479         iovlen and controllen fields to adjust to POSIX specification.
8480         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8481         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8482         added recvmsg and sendmsg.
8483         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8484         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8485         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8486         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8487         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8488         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8489         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8490         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8491         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8492         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8493         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8494         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8496         Likewise.
8497         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8499         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8500         Likewise.
8501         Likewise.
8502         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8503         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8504         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8505         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8506         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8507         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8509         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8511         Likewise.
8512         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8513         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8515         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8516         from auto-generation.
8517         (sendmsg): Likewise.
8518         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8519         (sendmsg): Likewise.
8520         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8521         (sendmsg): Likewise.
8522         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8523         (sendmsg): Likewise.
8524         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8525         (sendmsg): Likewise.
8526         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8527         (sendmsg): Likewise.
8528         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8529         Likewise.
8530         (sendmsg): Likewise.
8531         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8532         (sendmsg): Likewise.
8533         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8534         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8535         Remove.
8536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8537         Likewise.
8538         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8539         Undefine.
8540         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8541         Likewise.
8542         * sysdeps/unix/sysv/linux/kernel-features.h
8543         (__ASSUME_SENDMSG_SYSCALL): Define.
8544         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8545         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8547         Remove.
8548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8549         Likewise.
8550         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8551         Undefine.
8552         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8553         Likewise.
8554         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8555         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8556         Remove.
8557         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8558         Likewise.
8559         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8560         Undefine.
8561         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8562         Likewise.
8563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8564         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8565         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8566         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8567         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8568         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8569         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8570         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8571         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8573 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8575         * stdlib/gen-tst-strtod-round.c: Add backslash to
8576         compile command in comment.
8577         (printfp): Remove the literal suffix, and define an infinite
8578         value as INF to avoid expansion clash with INFINITY.
8579         (round_str): Remove the literal suffix.
8580         (round_for_all): Likewise, remove the now duplicate ldbl-64
8581         entry, and remove some magic constants.
8583         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8584         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8585         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8586         (_CONCAT): New macro.
8587         (CONCAT): Likewise.
8588         (CHOOSE_ld): Likewise.
8589         (CHOOSE_f): Likewise.
8590         (CHOOSE_d): Likewise.
8591         (FTYPE_MEMBER): Likewise.
8592         (BOOL_MEMBER): Likewise.
8593         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8594         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8595         (_XNTRY): Likewise.
8596         (XNTRY): Likewise.
8597         (_ENTRY): Likewise.
8598         (ENTRY): Likewise.
8599         (test_exactness): Generate members via macro.
8600         (test_results): Likewise.
8601         (test): Update members.
8602         (TEST): Redefine using new macros.
8603         (INF): New macro.
8604         (fetestmodes): New structure.
8605         (do_test): Refactor to be type generic.
8606         (test_in_one_mode): Refactor duplicate code into
8607         (GEN_ONE_TEST): New macro.
8609         * stdlib/tst-strtod-round-data.h: Regenerate.
8611         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8612         Extend to pass additional arbitrary parameters to
8613         generators.
8615 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8617         [BZ #15479]
8618         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8619         floating-point state after first floating-point operation on
8620         input.  Restore full floating-point state instead of just rounding
8621         mode.
8622         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8623         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8624         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8625         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8626         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8628         [BZ #15479]
8629         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8630         floating-point state after first floating-point operation on
8631         input.  Restore full floating-point state instead of just rounding
8632         mode.
8633         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8634         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8635         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8636         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8637         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8639 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8641         [BZ #19727]
8642         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8643         valid high surrogate.
8644         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8645         of an utf16 surrogate.
8646         * iconv/gconv_simple.c (BODY): Likewise.
8647         * iconvdata/bug-iconv12.c: New file.
8648         * iconvdata/Makefile (tests): Add bug-iconv12.
8650 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8652         [BZ #19726]
8653         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8654         outptrp in case of an illegal input.
8655         * iconv/tst-iconv6.c: New file.
8656         * iconv/Makefile (tests): Add tst-iconv6.
8658 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8660         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8661         an error in case of a value in range of an utf16 low surrogate.
8663 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8665         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8666         an error in case of a value in range of an utf16 low surrogate.
8668 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8670         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8671         Move to ...
8672         * sysdeps/s390/Makefile: ... here.
8673         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8674         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8675         (BRANCH_ON_COUNT): New define.
8676         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8677         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8678         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8679         run on s390-32, too.
8680         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8681         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8682         run on s390-32, too.
8683         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8684         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8685         run on s390-32, too.
8687 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8689         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8690         etf3eh or new vector loop-variant.
8692 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8694         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8695         etf3eh or new vector loop-variant.
8697 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8699         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8700         or new vector loop-variant.
8702 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8704         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8705         Rename to TR_LOOP and usage of tr instead of troo instruction.
8707 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8709         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8710         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8712 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8714         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8715         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8716         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8717         New override define.
8718         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8720 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8722         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8723         * sysdeps/s390/configure.ac: Add test for S390 vector register
8724         support in gcc.
8725         * sysdeps/s390/configure: Regenerated.
8727 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8729         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8730         Install file from $(objpfx)gconv-modules.
8731         ($(objpfx)gconv-modules): Concatenate architecture specific file
8732         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8733         * sysdeps/s390/gconv-modules: New file.
8734         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8735         Deleted.
8736         ($(objpfx)gconv-modules-s390): Deleted.
8737         (sysdeps-gconv-modules): New variable.
8739 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8741         [BZ #15479]
8742         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8743         of immediate operand to rounding instruction.
8744         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8745         Likewise.
8746         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8747         Likewise.
8748         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8749         Likewise.
8751 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8753         * math/libm-test.inc (MIN_EXP): Directly define as
8754         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8756 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8758         * math/libm-test.inc (MANT_DIG): Directly define as
8759         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8761 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8763         * stdlib/gen-tst-strtod-round.c (main):
8764           Change usage to more closely match the generated
8765           output.  Add usage and compilation instructions.
8766           (string_to_fp): Add and use FILE* parameter as
8767           output target.
8768           (print_fp): Likewise.
8769           (round_str): Likewise.
8770           (round_for_all): Likewise.
8771         * stdlib/tst-strtod-round.c (tests): Move into
8772         * stdlib/tst-strtod-round-data.h: New file.
8774 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8776         [BZ #15479]
8777         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8778         (__round): Do not force "inexact" exception.
8779         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8780         variable.
8781         (__round): Do not force "inexact" exception.
8782         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8783         (__roundf): Do not force "inexact" exception.
8784         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8785         (__roundl): Do not force "inexact" exception.
8786         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8787         (__roundl): Do not force "inexact" exception.
8788         * math/libm-test.inc (round_test_data): Do not allow spurious
8789         "inexact" exceptions.
8791         [BZ #15479]
8792         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8793         exception in comment.
8794         (huge): Remove variable.
8795         (__floor): Do not force "inexact" exception.
8796         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8797         "inexact" exception in comment.
8798         (huge): Remove variable.
8799         (__floor): Do not force "inexact" exception.
8800         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8801         exception in comment.
8802         (huge): Remove variable.
8803         (__floorf): Do not force "inexact" exception.
8804         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8805         exception in comment.
8806         (huge): Remove variable.
8807         (__floorl): Do not force "inexact" exception.
8809         [BZ #15479]
8810         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8811         exception in comment.
8812         (huge): Remove variable.
8813         (__ceil): Do not force "inexact" exception.
8814         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8815         "inexact" exception in comment.
8816         (huge): Remove variable.
8817         (__ceil): Do not force "inexact" exception.
8818         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8819         (__ceilf): Do not force "inexact" exception.
8820         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8821         exception in comment.
8822         (huge): Remove variable.
8823         (__ceill): Do not force "inexact" exception.
8825 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8827         * config.h.in (BIND_NOW): New.
8828         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8829         * configure: Regenerated.
8830         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8831         indirect branch via the GOT slot.
8833 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8835         [BZ #19765]
8836         * sysdeps/s390/mempcpy.S: New File.
8837         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8838         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8839         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8840         Add mempcpy variants.
8841         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8842         (memcpy): Adjust to be usable from mempcpy entry point.
8843         (__memcpy_mvcle): Likewise.
8844         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8845         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8846         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8847         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8848         (__memcpy_z10): Likewise.
8849         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8851 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8853         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8854         Remove __GI_ symbol.
8855         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8856         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8857         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8858         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8859         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8860         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8862 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8864         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8865         Use cghi instead of chi to compare 64bit value.
8867 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8869         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8870         Jump to 1MB check before executing mvc-loop.
8872 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8874         [BZ #6527]
8875         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8876         unconditionally.
8877         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8879 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8881         * stdlib/tst-strtod6.c (do_test): Use new type generic
8882         invocation of the test function.
8883         (test): Refactor into ...
8884         (TEST_STRTOD): New macro base function.
8886 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8888         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8889         (TEST_STRTOD): New macro.
8890         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8892 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8894         * stdlib/tst-strtod6.c (do_test): Use new type generic
8895         invocation of the test function.
8896         (test): Refactor into ...
8897         (TEST_STRTOD): New macro base function.
8899 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8901         CVE-2016-4429
8902         [BZ #20112]
8903         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8904         payload.
8906 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8908         [BZ #20111]
8909         * bits/sockaddr.h (_SS_SIZE): Define.
8910         * bits/socket.h (_SS_SIZE): Remove.
8911         (_SS_PADSIZE): Adjust to account for all padding.
8912         (struct sockaddr_storage): Update comment.  Avoid implicit
8913         padding.
8914         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8915         (_SS_PADSIZE): Adjust to account for all padding.
8916         (struct sockaddr_storage): Update comment.  Avoid implicit
8917         padding.
8918         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8919         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8920         (_SS_PADSIZE): Adjust to account for all padding.
8921         (struct sockaddr_storage): Update comment.  Avoid implicit
8922         padding.
8923         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8924         __SS_SIZE is 126 in this version.
8925         * inet/tst-sockaddr.c: New file.
8926         * inet/Makefile (tests): Add tst-sockaddr.c
8927         (tst-sockaddr.c): Compile with non-strict aliasing.
8929 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8931         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8932         [XPG3 || XPG4].
8933         (NL_ARGMAX): Also expect for [XPG3].
8934         (NL_LANGMAX): Likewise.
8935         (NL_MSGMAX): Likewise.
8936         (NL_NMAX): Likewise.
8937         (NL_SETMAX): Likewise.
8938         (NL_TEXTMAX): Likewise.
8939         (NZERO): Likewise.
8940         (TMP_MAX): Likewise.
8941         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8942         variable.
8944         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8945         (PF_MAX): Update value.
8946         (AF_KCM): New macro.
8947         (SOL_NETBEUI): Likewise.
8948         (SOL_LLC): Likewise.
8949         (SOL_DCCP): Likewise.
8950         (SOL_NETLINK): Likewise.
8951         (SOL_TIPC): Likewise.
8952         (SOL_RXRPC): Likewise.
8953         (SOL_PPPOL2TP): Likewise.
8954         (SOL_BLUETOOTH): Likewise.
8955         (SOL_PNPIPE): Likewise.
8956         (SOL_RDS): Likewise.
8957         (SOL_IUCV): Likewise.
8958         (SOL_CAIF): Likewise.
8959         (SOL_ALG): Likewise.
8960         (SOL_NFC): Likewise.
8961         (SOL_KCM): Likewise.
8962         (MSG_BATCH): New enum value and macro.
8964 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8966         [BZ #18185]
8967         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8968         sharing L2 cache to 2 for Knights Landing.
8970 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8972         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8973         (FTW_DP): Do not expect for [XPG3 || XPG4].
8974         (FTW_SL): Do not expect for [XPG3].
8975         (FTW_SLN): Likewise.
8976         (FTW_PHYS): Likewise.
8977         (FTW_MOUNT): Likewise.
8978         (FTW_DEPTH): Likewise.
8979         (FTW_CHDIR): Likewise.
8980         (nftw): Likewise.
8981         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8982         variable.
8984 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8986         * manual/errno.texi: Fix various typos & grammar errors.
8988 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8990         * manual/intro.texi: Fix duplicated typo.
8992 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8994         [BZ #13304]
8995         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8996         <float.h>, <math_private.h> and <stdlib.h>.
8997         (add_split): New function.
8998         (mul_split): Likewise.
8999         (ext_val): New typedef.
9000         (store_ext_val): New function.
9001         (mul_ext_val): New function.
9002         (compare): New function.
9003         (add_split_ext): New function.
9004         (__fmal): After checking for Inf, NaN and zero, compute result as
9005         an exact sum of scaled double values in round-to-nearest before
9006         adding those up and adjusting for other rounding modes.
9007         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
9008         tests of fma.
9009         * math/auto-libm-test-out: Regenerated.
9011 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9013         [BZ #20119]
9014         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
9015         processor level type mask for CPUID with EAX == 11.
9017 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9019         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
9020         logical threads if the HTT bit is 0.
9021         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
9022         (index_cpu_HTT): Likewise.
9023         (reg_HTT): Likewise.
9025 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9027         [BZ #20115]
9028         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
9029         Remove alignments on jump targets.
9031 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
9033         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
9034         (getpwent): Likewise.
9035         (setpwent): Likewise.
9036         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
9037         variable.
9039         * conform/data/search.h-data (insque): Do not expect for [XPG3].
9040         (remque): Likewise.
9041         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
9042         variable.
9044 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
9046         * math/libm-test.inc: Update comment not to refer to signs of NaNs
9047         not being tested.
9049 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9051         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9052         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
9053         call.
9054         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9055         (__condvar_cleanup1): Likewise.
9057 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9059         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
9060         New
9061         (__pthread_unwind): Renamed to ...
9062         (PTHREAD_UNWIND): This.
9063         (__pthread_enable_asynccancel): Replace
9064         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
9066 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
9068         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
9069         (CLONE_NEWCGROUP): New macro.
9071         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
9072         (Q_GETNEXTQUOTA): New macro.
9074 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9076         [BZ #19907]
9077         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
9078         buffer updated by the previous run.
9079         * string/test-memcpy.c (do_one_test): Likewise.
9080         * benchtests/bench-memmove.c (do_one_test): Add a comment.
9081         * string/test-memmove.c (do_one_test): Likewise.
9083 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
9085         [BZ #20094]
9086         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
9087         not [__USE_XOPEN].
9088         (unlockpt): Likewise.
9089         (ptsname): Likewise.
9090         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
9091         variable.
9093         [BZ #20076]
9094         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
9095         instead of [__USE_UNIX98].
9096         (S_ISSOCK): Likewise.
9097         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
9098         variable.
9100         [BZ #20074]
9101         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
9102         [__USE_POSIX].
9103         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
9104         variable.
9106         [BZ #20051]
9107         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
9108         (ttyslot): Do not declare.
9109         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
9110         (ttyslot): New prototype.
9111         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
9112         variable.
9113         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9115 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9117         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
9119 2016-05-13  Florian Weimer  <fweimer@redhat.com>
9121         Fix race condition in tst-mallocfork2, use fewer resources.
9122         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
9123         to current process group.
9124         (signal_sender): Yield in the non-sleeping case.
9126 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
9128         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
9129         (ecvt): Likewise.
9130         (fcvt): Likewise.
9131         (gcvt): Likewise.
9132         (getsubopt): Likewise.
9133         (grantpt): Likewise.
9134         (initstate): Likewise.
9135         (l64a): Likewise.
9136         (mktemp): Likewise.
9137         (mkstemp): Likewise.
9138         (ptsname): Likewise.
9139         (random): Likewise.
9140         (realpath): Likewise.
9141         (setstate): Likewise.
9142         (srandom): Likewise.
9143         (ttyslot): Likewise.
9144         (unlockpt): Likewise.
9145         (valloc): Likewise.
9147         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
9148         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
9149         variable.
9151 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9153         [BZ #20072]
9154         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
9155         init_cpu_features only if SHARED is defined.
9156         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
9158 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9160         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
9161         non-inclusive caches on Intel processors.
9163 2016-05-13  Florian Weimer  <fweimer@redhat.com>
9165         * malloc/malloc.c (dumped_main_arena_start)
9166         (dumped_main_arena_end): New variables.
9167         (DUMPED_MAIN_ARENA_CHUNK): New macro.
9168         (do_check_chunk): Skip dumped fake mmapped chunks.
9169         (munmap_chunk): Likewise.
9170         (__libc_free): Do not adjust statistics for fake mmapped chunks.
9171         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
9172         mmapped chunks.
9173         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
9174         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
9175         and dumped_main_arena_end to cover the dumped heap.
9177 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
9179         * conform/data/time.h-data (getdate_err): Do not expect for
9180         [XPG3].
9181         (getdate): Likewise.
9182         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
9183         variable.
9185         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
9186         (F_ULOCK): Likewise.
9187         (F_TEST): Likewise.
9188         (F_TLOCK): Likewise.
9189         (useconds_t): Likewise.
9190         (intptr_t): Do not expect for [XPG3] or [XPG4].
9191         (brk): Do not expect for [XPG3]
9192         (fchown): Likewise.
9193         (fchdir): Likewise.
9194         (ftruncate): Likewise.
9195         (getdtablesize): Likewise.
9196         (gethostid): Likewise.
9197         (getpagesize): Likewise.
9198         (getpgid): Likewise.
9199         (getsid): Likewise.
9200         (getwd): Likewise.
9201         (lchown): Likewise.
9202         (lockf): Likewise.
9203         (readlink): Likewise.
9204         (sbrk): Likewise.
9205         (setpgrp): Likewise.
9206         (setregid): Likewise.
9207         (setreuid): Likewise.
9208         (symlink): Likewise.
9209         (sync): Likewise.
9210         (truncate): Likewise.
9211         (ualarm): Likewise.
9212         (usleep): Likewise.
9213         (vfork): Likewise.
9214         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
9215         variable.
9217         [BZ #20054]
9218         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
9219         not [__USE_UNIX98].
9220         * conform/data/unistd.h-data (gethostname): Do not expect for
9221         [XPG3].
9223         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
9224         [!POSIX] (S_IFBLK): Likewise.
9225         [!POSIX] (S_IFCHR): Likewise.
9226         [!POSIX] (S_IFIFO): Likewise.
9227         [!POSIX] (S_IFREG): Likewise.
9228         [!POSIX] (S_IFDIR): Likewise.
9229         [!POSIX] (S_IFLNK): Likewise.
9230         [!POSIX] (S_IFSOCK): Likewise.
9231         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
9232         variable.
9233         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9235 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
9237         * sysdeps/aarch64/memset.S (__memset):
9238         Rewrite of optimized memset.
9240 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9242         [BZ #19703]
9243         Partially async-signal-safe fork for single-threaded processes.
9244         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
9245         variable.  Do not acquire and reset/release malloc and libio locks
9246         in single-threaded processes.
9247         * malloc/tst-mallocfork2.c: New file.
9248         * malloc/Makefile (tests): Add it.
9250 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9252         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
9253         argument.  Use scratch buffer instead of extend_alloca.
9254         (gethosts): Use scratch buffer instead of extend_alloca.
9255         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
9256         extend_alloca.
9257         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
9259 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
9261         [BZ #20055]
9262         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
9263         instead of [__USE_UNIX98].
9264         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
9265         [__USE_UNIX98].
9266         * conform/data/termios.h-data (tcgetsid): Do not expect for
9267         [XPG3].
9268         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
9269         variable.
9270         (test-xfail-XPG4/termios.h/conform): Likewise.
9272 2016-05-11  Florian Weimer  <fweimer@redhat.com>
9274         Do not use mcheck in localedef.
9275         * locale/programs/localedef.c (turn_on_mcheck)
9276         (__malloc_initialize_hook): Remove.
9278 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9280         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
9281         * sysdeps/s390/s390-64/Makefile: Likewise.
9283 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9285         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
9286         Remove ifunc-defines.sym.
9287         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
9288         Likewise.
9289         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
9290         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9291         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9292         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9293         rtld-global-offsets.sym.
9294         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9295         * sysdeps/x86/cpu-features-offsets.sym: This.
9296         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9297         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9299 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9301         [BZ #20073]
9302         * io/sys/stat.h (fchmod): Declare for
9303         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9304         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9305         variable.
9307         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9308         [XPG3] (S_IFSOCK): Likewise.
9309         [XPG3] (S_ISVTX): Likewise.
9310         [XPG3] (S_ISLNK): Likewise.
9311         [XPG3] (S_ISSOCK): Likewise.
9312         [XPG3] (fchmod): Likewise.
9313         [XPG3] (lstat): Likewise.
9314         [XPG3] (mknod): Likewise.
9316         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9317         [XPG3].  Expect type long and XFAIL for [XPG4].
9318         (st_blocks): Likewise.
9320         [BZ #20044]
9321         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9322         (pthread_atfork): New prototype.
9323         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9324         variable.
9326         [BZ #20043]
9327         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9328         prototype.
9330 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9332         [BZ #20017]
9333         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9334         gmtime.
9336 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9338         [BZ #19994]
9339         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9340         flag in _res.options.
9342 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9344         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9345         [XPG3 || XPG4].
9346         (blksize_t): Likewise.
9347         (clockid_t): Likewise.
9348         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9349         variable.
9350         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9352 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9354         * sysdeps/unix/sysv/linux/s390/init-first.c:
9355         Add VDSO_SYMBOL(getcpu).
9356         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9357         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9358         Add VDSO_SYMBOL(getcpu).
9359         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9360         New define HAVE_GETCPU_VSYSCALL.
9361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9363 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9365         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9366         instead of <sysdeps/x86_64/cacheinfo.c>.
9367         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9368         * sysdeps/x86/cacheinfo.c: Here.
9370 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9372         * malloc/malloc-internal.h: Adjust header file guard.
9374 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9376         [BZ #19787]
9377         * inet/getnameinfo.c (check_sprintf_result): New function.
9378         (CHECKED_SNPRINTF): New macro.
9379         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9380         to the host buffer.
9381         (gni_host_local): Use checked_copy to copy the host name.
9382         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9383         (gni_serv_local): Use checked_copy to copy the service name.
9384         (getnameinfo): Remove unnecessary truncation of result buffers.
9386 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9388         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9389         in case of inet_ntop failure.
9391 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9393         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9394         avoid long lines.
9395         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9396         variables.
9397         (gni_host_inet, gni_host_local): Add comment.
9398         (gni_host): Add comment.  Use temporary to avoid long lines.
9400 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9402         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9403         registers specifiers where general purpose registers specifiers should
9404         have been used.
9406 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9408         [BZ #19779]
9409         CVE-2016-1234
9410         Avoid copying names of directory entries.
9411         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9412         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9413         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9414         (struct readdir_result): New type.
9415         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9416         (GL_READDIR): New macros.
9417         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9418         (convert_dirent, convert_dirent64): New functions.
9419         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9420         convert_dirent64.  Adjust references to the readdir result.
9421         * sysdeps/unix/sysv/linux/i386/glob64.c:
9422         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9423         * posix/bug-glob2.c (LONG_NAME): Define.
9424         (filesystem): Add LONG_NAME.
9425         (my_DIR): Increase the size of room_for_dirent.
9427 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9429         [BZ #20041]
9430         * misc/sys/select.h (__need_timespec): Only define if
9431         [__USE_XOPEN2K].
9432         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9433         variable.
9434         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9435         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9436         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9438 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9439             Segher Boessenkool  <segher@gcc.gnu.org>
9441         [BZ #20004]
9442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9443         (__novec_swapcontext): Add missing load.
9445 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9447         [BZ #20023]
9448         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9449         <time.h>.
9450         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9451         variable.
9452         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9454 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9457         flags CLONE_VM compare.
9459 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9461         [BZ #20031]
9462         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9463         completely empty.
9465 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9467         [BZ #19573]
9468         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9469         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9470         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9471         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9472         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9473         (hesiod_free_list): Mark as hidden.
9474         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9475         res_set, res_get.
9476         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9477         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9478         (hesiod_init): Remove obsolete res_ninit call.
9479         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9480         (hesiod_bind): Do not call init.
9481         (get_txt_records): Use res_mkquery, res_send instead of
9482         res_nmkquery, res_nsend.
9483         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9484         instead of _nss_hesiod_init.
9485         (_nss_hesiod_initgroups_dyn): Likewise.
9486         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9487         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9488         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9490 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9492         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9493         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9495 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9497         * hesiod/hesiod.h: Remove RCS keyword.
9498         * hesiod/hesiod_p.h: Likewise.
9500         * hesiod/hesiod.c: Likewise.
9502 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9504         [BZ #12450]
9505         * locale/iso-639.def: Add Samogitian/sgs.
9507 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9509         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9511         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9513 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9514             Carlos O'Donell  <carlos@redhat.com>
9516         [BZ #19072]
9517         * grp/Makefile (headers): Add grp-merge.h
9518         (routines): Add grp-merge.
9519         * grp/getgrgid_r.c: Include grp-merge.h.
9520         (DEEPCOPY_FN): Define.
9521         (MERGE_FN): Define.
9522         * grp/getgrname_r.c: Include grp-merge.h.
9523         (DEEPCOPY_FN): Define.
9524         (MERGE_FN): Define.
9525         * grp/grp-merge.c: New file.
9526         * grp/grp-merge.h: New file.
9527         * include/grp-merge.h: New file.
9528         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9529         __copy_grp@GLIBC_PRIVATE.
9530         * manual/nss.texi (Actions in the NSS configuration): Describe
9531         return, continue, and merge.
9532         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9533         (DEEPCOPY_FN): Define.
9534         (MERGE_FN): Define.
9535         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9536         (DEEPCOPY_FN): Define.
9537         (MERGE_FN): Define.
9538         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9539         [!MERGE_FN]: Define __merge_einval.
9540         (CHECK_MERGE): Define.
9541         (REENTRANT_NAME): Process merge if do_merge is true.
9542         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9543         (__nss_getent_r): Likewise.
9544         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9545         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9547 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9549         [BZ #20012]
9550         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9551         length to calculate the buffer to read.
9552         (fmemopen_write): Set the buffer position based on bytes written.
9553         (fmemopen_seek): Return EINVAL for invalid whence modes.
9555         [BZ #19957]
9556         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9557         tst-getpid2.
9558         (test): Add tst-clone2.
9559         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9560         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9561         pid/tid fields for CLONE_VM.
9562         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9563         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9564         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9565         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9566         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9567         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9568         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9569         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9571         Likewise.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9573         Likewise.
9574         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9575         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9576         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9577         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9578         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9579         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9580         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9581         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9583 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9585         [BZ #19642]
9586         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9587         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9588         (gni_serv_local, gni_serv): New functions extracted from
9589         getnameinfo.
9590         (getnameinfo): Call gni_host and gni_serv to perform the
9591         processing.  Always free scratch buffer.
9593 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9595         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9596         remaining bytes in the dest string, with zeros.
9598 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9600         [BZ #20010]
9601         CVE-2016-3706
9602         * sysdeps/posix/getaddrinfo.c
9603         (convert_hostent_to_gaih_addrtuple): New function.
9604         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9605         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9606         AF_INET data.
9608 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9610         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9611         callback function gl_readdir.
9612         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9613         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9614         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9615         memcpy to copy the name.
9616         * manual/pattern.texi (Calling Glob): Document requirements for
9617         implementations of the gl_readdir callback function.
9618         * manual/examples/mkdirent.c: New example.
9619         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9620         per the manual guidance.
9621         * posix/tst-gnuglob.c (my_readdir): Likewise.
9623 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9625         [BZ #20014]
9626         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9627         not [__USE_POSIX].
9628         (getchar_unlocked): Likewise.
9629         (putc_unlocked): Likewise.
9630         (putchar_unlocked): Likewise.
9631         (flockfile): Likewise.
9632         (ftrylockfile): Likewise.
9633         (funlockfile): Likewise.
9634         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9635         variable.
9636         (test-xfail-XPG4/stdio.h/conform): Likewise.
9638         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9639         Expect constant.
9640         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9641         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9642         variable.
9643         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9644         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9646         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9647         [__USE_LARGEFILE64] (off64_t): Likewise.
9648         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9649         variable.
9651 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9653         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9655 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9657         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9658         * resolv/res_init.c: Likewise.
9659         * resolv/res_mkquery.c: Likewise.
9661 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9663         * resolv/res_init.c (isascii): Do not define.  Use definition in
9664         <ctype.h>.
9665         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9666         (LOG_AUTH): Remove.
9667         (SPRINTF): Remove, adjust caller.
9668         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9670 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9672         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9673         SUNSECURITY conditional.
9674         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9676 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9678         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9679         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9680         Remove BSD-related preprocessor conditionals.
9681         * conf/portability.h: Remove.
9683 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9685         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9686         * resolv/res_data.c: Likewise.
9688 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9690         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9691         * resolv/res_data.c: Remove code conditional on ultrix.
9693 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9695         * resolv/res_init.c (RFC1535): Do not define.  Remove
9696         RFC1535 preprocessor conditionals.
9697         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9698         because there configuration options which make the resolver
9699         behavior different.
9701 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9703         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9704         RESOLVSORT preprocessor conditionals.
9705         * resolv/nss_dns/dns-host.c: Likewise.
9706         * resolv/res_init.c: Likewise.
9708 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9710         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9711         is never defined.
9713 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9715         * inet/inet_lnaof.c: Remove SCSS keyword.
9716         * inet/inet_mkadr.c: Likewise.
9717         * inet/inet_net.c: Likewise.
9718         * inet/inet_netof.c: Likewise.
9719         * inet/rcmd.c: Likewise.
9720         * inet/rexec.c: Likewise.
9721         * inet/ruserpass.c: Likewise.
9723 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9725         * resolv/inet_addr.c: Remove _LIBC conditionals.
9726         * resolv/res_data.c: Likewise.
9727         * resolv/res_init.c: Likewise.
9728         * resolv/res_mkquery.c: Likewise.
9729         * resolv/res_libc.c: Update comment.
9730         * resolv/README: Update.
9732 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9734         * resolv/gethnamaddr.c: Remove SCSS keyword.
9735         * resolv/herror.c: Likewise.
9736         * resolv/inet_addr.c: Likewise.
9737         * resolv/inet_net_ntop.c: Likewise.
9738         * resolv/inet_net_pton.c: Likewise.
9739         * resolv/inet_neta.c: Likewise.
9740         * resolv/inet_ntop.c: Likewise.
9741         * resolv/inet_pton.c: Likewise.
9742         * resolv/ns_date.c: Remove RCS keyword.
9743         * resolv/ns_name.c: Likewise.
9744         * resolv/ns_netint.c: Likewise.
9745         * resolv/ns_parse.c: Likewise.
9746         * resolv/ns_print.c: Likewise.
9747         * resolv/ns_samedomain.c: Likewise.
9748         * resolv/ns_ttl.c: Likewise.
9749         * resolv/nsap_addr.c: Likewise.
9750         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9751         * resolv/res_data.c: Remove RCS keyword.
9752         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9753         * resolv/res_init.c: Likewise.
9754         * resolv/res_mkquery.c: Likewise.
9755         * resolv/res_query.c: Likewise.
9756         * resolv/res_send.c: Likewise.
9758 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9760         * conform/data/stdio.h-data (fdopen): Expect also for
9761         [XPG3 || XPG4].
9763         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9764         (fseeko): Likewise.
9765         (ftello): Likewise.
9766         (ftrylockfile): Likewise.
9767         (funlockfile): Likewise.
9768         (getc_unlocked): Likewise.
9769         (getchar_unlocked): Likewise.
9770         (putc_unlocked): Likewise.
9771         (putchar_unlocked): Likewise.
9773 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9775         [BZ #19868]
9776         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9777         DNS packet syntax checks (which were not needed before).  Skip
9778         over non-PTR records.
9780 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9782         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9783         definition.  Include <stddef.h> instead.
9785 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9787         [BZ #19831]
9788         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9789         function.
9790         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9791         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9793 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9795         [BZ #19862]
9796         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9797         (getanswer_r): Do not call syslog.
9798         (gaih_getanswer_slice): Likewise.
9799         * resolv/gethnamaddr.c (AskedForGot): Remove.
9800         (getanswer): Do not call syslog.
9801         (gethostbyaddr): Likewise.
9803 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9805         * conform/data/signal.h-data (union sigval): Expect also if
9806         [XOPEN2K].
9807         (struct sigevent): Likewise.
9808         (SIGEV_NONE): Likewise.
9809         (SIGEV_SIGNAL): Likewise.
9810         (SIGEV_THREAD): Likewise.
9811         (SIGRTMIN): Likewise.
9812         (SIGRTMAX): Likewise.
9813         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9814         variable.
9815         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9817 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9819         [BZ #19830]
9820         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9821         (gaih_getanswer_slice): Likewise.
9822         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9823         Also check for availability of RR metadata.
9825 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9827         [BZ #19825]
9828         * resolv/res_send.c (send_vc): Remove early *resplen2
9829         initialization.  Set *resplen2 on socket error.  Call
9830         close_and_return_error for other errors.
9832 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9834         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9835         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9836         (SCM_IUCV_TRGCLS): New define.
9838 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9840         [BZ #20005]
9841         * libio/fmemopen.c (fmemopen_write): Update internal position after
9842         write.
9843         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9844         * stdio-common/tst-fmemopen4.c: New file..
9846 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9848         [BZ #19996]
9849         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9850         not [__USE_XOPEN2K].
9851         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9852         variable.
9854         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9855         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9856         variable.
9858         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9859         [__USE_XOPEN2K8].
9860         [__USE_LARGEFILE64] (off64_t): Likewise.
9861         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9862         variable.
9864 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9866         [BZ #19989]
9867         * libio/stdio.h (cuserid): Do not declare if
9868         [__USE_XOPEN2K && !__USE_GNU].
9869         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9870         variable.
9872 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9874         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9875         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9877         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9878         ifunc'ed strcspn.
9879         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9880         [EALIGN]: Removed.
9881         [END]: Likewise
9882         [STRSPN]: Define instead of the above to control symbol name.
9883         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9884         New file.
9885         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9886         Likewise.
9887         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9888         Likewise.
9889         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9890         Likewise.
9891         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9892         [INITIAL_MASK]: New macro.
9893         [STRCSPN]: Likewise.
9894         [UPDATE_MASK]: Likewise.
9895         [USE_AS_STRCSPN]: Lisewise.
9897 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9899         [BZ #19931]
9900         * stdio-common/tst-vfprintf-width-prec.c: New file.
9901         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9902         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9903         (generated): Add mtrace-related files.
9904         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9905         (tst-%-mem.out): New pattern rule, replaces
9906         tst-printf-bz18872-mem.out.
9907         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9908         specifier, deallocate any previously allocated work buffer.
9910 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9912         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9913         Add nop before __startcontext, add explaining comments.
9915 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9917         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9918         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9919         completely different API.
9921         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9922         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9923         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9924         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9925         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9926         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9927         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9928         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9929         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9930         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9932 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9934         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9936 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9938         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9939         when it is the default of 0.
9941 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9943         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9944         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9945         (sysdep_routines): Add new strcasestr targets.
9946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9947         (__libc_ifunc_impl_list): Likewise.
9948         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9949         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9950         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9951         * sysdeps/powerpc/powerpc64/power8/Makefile:
9952         New file to add strcasestr-ppc64 to sysdep_routines.
9953         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9954         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9956 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9958         * benchtests/Makefile (wcsmbs-benchset): Include only for
9959         native builds and runs.
9960         (LOCALES): Likewise.
9961         (bench-build): Build timing-type here instead of the bench
9962         target.  Generate locale only for native builds.
9963         * benchtests/README: Add note for cross-building.
9965         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9967         * benchtests/README: Update README to include instructions on
9968         using bench-build.
9970         * Makefile.in (bench-build): New target.
9971         * Rules (PHONY): Add bench-build target.
9972         * benchtests/Makefile (bench): Depend on bench-build.
9973         (bench-build): New target.
9975 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9977         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9978         profil_reply_port.
9979         (profile_waiter): Do not initialize profil_reply_port.
9980         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9981         frequency instead of tick length in us.
9983 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9985         [BZ #18712]
9986         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9987         (__old_mempcpy_small): Likewise.
9988         (__old_strcpy_small): Likewise.
9989         (__old_stpcpy_small): Likewise.
9990         (__old_strpbrk_c2): Fix compat symbol name.
9991         (__old_strpbrk_c3): Likewise.
9992         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9993         (__mempcpy_small): Remove.
9994         (__strcpy_small): Remove.
9995         (__stpcpy_small): Remove.
9997 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9999         [BZ #19400]
10000         * locale/iso-639.def: Add the Talossan/tzl language.
10002 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
10004         [BZ #16983]
10005         * locale/programs/ld-address.c (address_finish): Update postal_fmt
10006         comment.  Add "ln" to strchr check on postal_fmt.
10008 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
10010         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
10011         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
10012         tel_dom_fmt.
10014 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10016         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10017         (sysdep_routines): Added __strlen_power8.
10018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
10019         __strlen_power8 entry.
10020         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
10021         Implementation for POWER8.
10022         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
10023         for __strlen_power8.
10024         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
10025         Implementation for POWER8.
10027 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
10029         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
10031 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
10033         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
10034         Goldmont and Airmont processors.
10036 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
10038         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
10039         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
10040         (__STRING2_SMALL_GET32): Remove.
10041         (memset): Remove.
10042         (__memset_1): Remove.
10043         (__memset_gc): Remove.
10044         (__mempcpy): Remove.
10045         (mempcpy): Remove.
10046         (__mempcpy_args): Remove.
10047         (strchr): Remove.
10048         (strcpy): Remove.
10049         (strcpy_args): Remove.
10050         (__stpcpy_args): Remove.
10051         (__strcmp_cc): Remove.
10052         (__strcmp_gc): Remove.
10053         (strstr): Remove.
10055 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
10057         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
10058         * nis/nis_call.c (nis_server_cache_add): Likewise.
10060 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10062         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
10064 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10066         * malloc/arena.c (__malloc_fork_lock_parent)
10067         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
10068         internal_function attribute.
10070 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
10072         * stdio-common/printf_fp.c (__printf_fp_l):
10073         Rename ___printf_fp_l to __printf_fp_l and
10074         remove strong alias. Use libc_hidden_def instead
10075         of ldbl_hidden_def macro.
10077 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10079         Remove malloc hooks from fork handler.  They are no longer needed
10080         because malloc runs right before fork, and no malloc calls from
10081         other fork handlers are not possible anymore.
10082         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
10083         declarations.
10084         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
10085         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
10086         (atfork_recursive_cntr): Remove.
10087         (__malloc_fork_lock_parent): Do not override malloc hooks and
10088         thread_arena.
10089         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
10090         thread_arena.
10091         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
10092         thread_arena instead of save_arena.
10094 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10096         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
10097         (thread_atfork, thread_atfork_static): Remove.
10098         * sysdeps/mach/hurd/malloc-machine.h:
10099         (thread_atfork, thread_atfork_static): Remove.
10101 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10103         [BZ #19431]
10104         Run the malloc fork handler as late as possible to avoid deadlocks.
10105         * malloc/malloc-internal.h: New file.
10106         * malloc/malloc.c: Include it.
10107         * malloc/arena.c (ATFORK_MEM): Remove.
10108         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
10109         Update comment.
10110         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
10111         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
10112         Remove outdated comment.
10113         (ptmalloc_init): Do not call thread_atfork.  Remove
10114         thread_atfork_static.
10115         * malloc/tst-malloc-fork-deadlock.c: New file.
10116         * Makefile (tests): Add tst-malloc-fork-deadlock.
10117         (tst-malloc-fork-deadlock): Link against libpthread.
10118         * manual/memory.texi (Aligned Memory Blocks): Update safety
10119         annotation comments.
10120         * sysdeps/nptl/fork.c (__libc_fork): Call
10121         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10122         __malloc_fork_unlock_child.
10123         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
10125 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10127         [BZ #19613]
10128         Remove union wait.
10129         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
10130         (w_stopsig, w_stopval): Remove.
10131         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
10132         stat_loc argument.
10133         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
10134         (__WAIT_STATUS_DEFN): Remove.
10135         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10136         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
10137         (wait, wait3, wait4): Use int * for the stat_loc argument.
10138         * posix/wait.c (__wait): Likewise.
10139         * posix/wait3.c (__wait3): Likewise.
10140         * posix/wait4.c (__wait4): Likewise.
10141         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
10142         (__WAIT_STATUS_DEFN): Remove.
10143         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10144         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
10145         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
10146         argument.
10147         * sysdeps/posix/wait.c (__libc_wait): Likewise.
10148         * sysdeps/posix/wait3.c (__wait3): Likewise.
10149         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
10150         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10151         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
10152         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
10153         stat_loc argument.
10154         * manual/process.texi (BSD Wait Functions): Remove union wait.
10156 2016-04-13  Andreas Schwab  <schwab@suse.de>
10158         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
10159         (test-extras): Add tst-tlsalign-vars.
10160         * math/Makefile: Wrap long lines.
10161         (libm-vec-test-wrappers): Define.
10162         (test-extras): Add $(libm-vec-test-wrappers).
10163         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
10164         * nss/Makefile (extra-test-objs): Add nss_test1.os.
10165         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
10166         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
10167         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
10168         (extra-test-objs): Add corresponding objects.
10170 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
10172         [BZ #19928]
10173         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
10174         New.
10175         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
10176         times of shared cache size.
10177         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
10178         (VMOVNT): New.
10179         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
10180         (VMOVNT): Likewise.
10181         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10182         (VMOVNT): Likewise.
10183         (VMOVU): Changed to movups for smaller code sizes.
10184         (VMOVA): Changed to movaps for smaller code sizes.
10185         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
10186         comments.
10187         (PREFETCH): New.
10188         (PREFETCH_SIZE): Likewise.
10189         (PREFETCHED_LOAD_SIZE): Likewise.
10190         (PREFETCH_ONE_SET): Likewise.
10191         Rewrite to use forward and backward loops, which move 4 vector
10192         registers at a time, to support overlapping addresses and use
10193         non temporal store if size is above the threshold and there is
10194         no overlap between destination and source.
10196 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
10198         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
10199         Include dl-vdso.
10200         * sysdeps/unix/sysv/linux/mips/Versions: Add
10201         __vdso_clock_gettime.
10202         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
10203         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
10204         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
10205         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
10206         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
10207         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10208         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10209         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10210         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10212 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10214         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
10215         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
10216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10217         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10218         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10219         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10222         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
10223         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
10224         syscalls generation.
10225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10226         [__NR_pwrite64] (__NR_write): Remove define.
10227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10228         [__NR_pwrite64] (__NR_write): Remove define.
10229         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
10230         Remove define.
10231         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
10232         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
10233         Remove define.
10234         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
10235         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
10236         Linux implementation as base.
10237         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10239         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
10240         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
10241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
10244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10245         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
10246         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
10247         syscall generation.
10248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10249         [__NR_pread64] (__NR_pread): Remove define.
10250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10251         [__NR_pread64] (__NR_pread): Likewise.
10252         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
10253         define.
10254         (__libc_pread): Use SYSCALL_LL macro on offset argument.
10255         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
10256         Remove define.
10257         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
10258         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
10259         Linux implementation as base.
10260         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10261         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10262         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10264         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
10265         definition.
10266         (__ALIGNMENT_COUNT): Likewise.
10267         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
10268         (__ALIGNMENT_COUNT): Likewise.
10269         (SYSCALL_LL): New define.
10270         (SYSCALL_LL64): Likewise.
10271         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
10272         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
10273         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
10274         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
10276         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10277         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
10278         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10279         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10280         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10281         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10283 2016-04-11  Florian Weimer  <fweimer@redhat.com>
10285         [BZ #19865]
10286         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
10287         original buffer before retry.
10289 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10291         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10292         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10293         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10294         GLRO(dl_auxv) list.
10295         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10296         including <ldsodefs.h>.
10297         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10299 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10301         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10302         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10303         $(CPPFLAGS).
10305 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10307         [BZ #17950]
10308         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10309         Add -mfpmath=387.
10311 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10313         * sysdeps/i386/configure.ac: Change == to = when calling test.
10314         * sysdeps/x86_64/configure.ac: Likewise.
10315         * sysdeps/i386/configure: Regenerated.
10316         * sysdeps/x86_64/configure: Likewise.
10318 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10320         [BZ #16137]
10321         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10322         * benchtests/bench-strcoll.c (input_files): Likewise.
10323         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10324         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10325         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10327 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10329         [BZ #19929]
10330         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10331         [__USE_XOPEN2K8 && !__USE_GNU].
10332         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10333         variable.
10335         [BZ #19925]
10336         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10337         define if [!__USE_MISC && __USE_XOPEN2K].
10338         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10339         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10340         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10341         Likewise.
10342         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10343         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10344         variable.
10345         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10347 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10349         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10350         (sysdep_routines): Add new strspn targets.
10351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10352         (__libc_ifunc_impl_list): Add strspn.
10353         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10354         New file.
10355         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10356         Likewise.
10357         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10358         Likewise.
10359         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10360         Likewise.
10362 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10364         * misc/hsearch_r.c: Include <limits.h>.
10366 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10368         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10370 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10372         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10373         (MEMCPY_SYMBOL): New.
10374         (MEMPCPY_SYMBOL): Likewise.
10375         (MEMMOVE_CHK_SYMBOL): Likewise.
10376         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10377         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10378         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10379         Provide alias for memcpy in libc.a and ld.so.
10381 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10383         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10384         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10385         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10386         Disabled fro now.
10387         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10388         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10390 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10392         * benchtests/Makefile (string-benchset): Add memcpy-large,
10393         memmove-large and memset-large.
10394         * benchtests/bench-memcpy-large.c: New file.
10395         * benchtests/bench-memmove-large.c: Likewise.
10396         * benchtests/bench-memmove-large.c: Likewise.
10397         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10399 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10401         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10402         32-bit displacement to avoid long nop between instructions.
10404 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10406         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10407         a comment on VMOVU and VMOVA.
10409 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10411         [BZ #19633]
10412         Use specified locale for number formatting in strfmon_l.
10413         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10414         (__nl_lookup_word): New inline functions.
10415         * include/printf.h (__print_fp_l): Declare.
10416         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10417         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10418         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10419         (___printf_fp): New function.
10420         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10421         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10422         * stdlib/tst-strfmon_l.c (do_test): New test.
10423         * stdlib/Makefile (tests): Add kt.
10424         (LOCALES): Build additional locales.
10425         (tst-strfmon_l.out): Require locales.
10427 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10429         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10430         if not in libc.
10431         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10432         Likewise.
10433         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10434         Likewise.
10435         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10436         Likewise.
10438 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10440         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10441         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10442         with unaligned_erms.
10443         (__memmove_erms): Skip if source == destination.
10444         (__memmove_unaligned_erms): Don't check source == destination
10445         first.
10447 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10449         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10450         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10452 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10454         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10455         * string/strspn.c (strspn): Likewise.
10457 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10459         * benchtests/bench-memset.c (do_test): Support 64-byte
10460         alignment.
10461         (test_main): Test 64-byte alignment.
10463 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10465         * benchtests/bench-memmove.c (test_main): Test 64-byte
10466         alignment.
10468 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10470         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10472 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10474         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10475         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10476         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10478         * string/strpbrk.c (strpbrk): Rewrite function.
10479         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10480         (__strpbrk_c2): Likewise.
10481         (__strpbrk_c3): Likewise.
10482         * string/string-inlines.c
10483         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10484         Likewise.
10485         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10486         Likewise.
10488         * string/strspn.c (strcspn): Rewrite function.
10489         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10490         (__strspn_c1): Remove inline function.
10491         (__strspn_c2): Likewise.
10492         (__strspn_c3): Likewise.
10493         * string/string-inlines.c
10494         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10495         compatibility symbol.
10496         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10497         Likewise.
10498         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10499         Likewise.
10500         * string/string-inlines.c: Include generic version.
10502 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10503             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10505         * string/Version (libc): Add GLIBC_2.24.
10506         * string/strcspn.c (strcspn): Rewrite function.
10507         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10508         (__strcspn_c1): Remove inline function.
10509         (__strcspn_c2): Likewise.
10510         (__strcspn_c3): Likewise.
10511         * string/string-inline.c
10512         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10513         compatibility symbol.
10514         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10515         Likewise.
10516         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10517         Likewise.
10518         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10520 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10522         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10523         Use ahi instead of aghi to adjust stack pointer.
10525 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10527         [BZ #19853]
10528         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10529         TEST to take significant digits as second parameter.
10530         [TEST]: Redefine in terms of TEST_N taking 30
10531         significant digits.
10532         (do_test): Add test case to demonstrate precision
10533         failure in the ldbl-128ibm printf.
10534         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10535         (__mpn_extract_long_double): Carry 7 extra intermediate
10536         bits of precision to aide computing difference when
10537         signs differ.
10539 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10541         [BZ #19881]
10542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10543         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10544         memset-avx512-unaligned-erms.
10545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10546         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10547         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10548         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10549         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10550         __memset_sse2_unaligned_erms, __memset_erms,
10551         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10552         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10553         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10554         file.
10555         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10556         Likewise.
10557         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10558         Likewise.
10559         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10560         Likewise.
10562 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10564         [BZ #19776]
10565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10566         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10567         memmove-avx512-unaligned-erms.
10568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10569         (__libc_ifunc_impl_list): Test
10570         __memmove_chk_avx512_unaligned_2,
10571         __memmove_chk_avx512_unaligned_erms,
10572         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10573         __memmove_chk_sse2_unaligned_2,
10574         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10575         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10576         __memmove_avx512_unaligned_erms, __memmove_erms,
10577         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10578         __memcpy_chk_avx512_unaligned_2,
10579         __memcpy_chk_avx512_unaligned_erms,
10580         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10581         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10582         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10583         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10584         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10585         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10586         __mempcpy_chk_avx512_unaligned_erms,
10587         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10588         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10589         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10590         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10591         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10592         __mempcpy_erms.
10593         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10594         file.
10595         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10596         Likwise.
10597         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10598         Likwise.
10599         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10600         Likwise.
10602 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10604         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10605         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10606         (La_s390_64_regs): Likewise.
10607         (La_s390_32_retval): Append vector register lrv_v24.
10608         (La_s390_64_retval): Likeweise.
10609         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10610         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10611         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10612         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10614 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10616         [BZ #19916]
10617         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10618         to create a non-vector/vector version for _dl_runtime_resolve and
10619         _dl_runtime_profile. Move implementation to ...
10620         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10621         (_dl_runtime_resolve) Save and restore fpr/vrs.
10622         (_dl_runtime_profile) Save and restore vrs and fix some issues
10623         if _dl_call_pltexit is called.
10624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10625         Choose the correct resolver function if running on a machine with vx.
10626         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10627         to create a non-vector/vector version for _dl_runtime_resolve and
10628         _dl_runtime_profile. Move implementation to ...
10629         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10630         (_dl_runtime_resolve) Save and restore fpr/vrs.
10631         (_dl_runtime_profile) Save and restore vrs and fix some issues
10632         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10633         Choose the correct resolver function if running on a machine with vx.
10635 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10637         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10639 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10641         [BZ #19509]
10642         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10643         skip_map != NULL.
10644         * elf/tst-dlsym-error.c: New file.
10645         * elf/Makefile (tests): Add tst-dlsym-error.
10646         (tst-dlsym-error): Link against libdl.
10648 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10650         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10651         (__ASSUME_FUTIMESAT): Remove macro.
10652         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10654 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10656         [BZ #19879]
10657         CVE-2016-3075
10658         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10659         copy name.
10661 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10663         [BZ #19837]
10664         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10665         error if parse_line fails.
10667 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10669         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10670         (index_cpu_ERMS): Likewise.
10671         (reg_ERMS): Likewise.
10673 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10675         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10676         PER_LINUX_FDPIC): Add.
10678 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10681         memcpy-avx512-no-vzeroupper.
10682         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10683         to ...
10684         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10685         (MEMCPY): Don't define.
10686         (MEMCPY_CHK): Likewise.
10687         (MEMPCPY): Likewise.
10688         (MEMPCPY_CHK): Likewise.
10689         (MEMPCPY_CHK): Renamed to ...
10690         (__mempcpy_chk_avx512_no_vzeroupper): This.
10691         (MEMPCPY_CHK): Renamed to ...
10692         (__mempcpy_chk_avx512_no_vzeroupper): This.
10693         (MEMCPY_CHK): Renamed to ...
10694         (__memmove_chk_avx512_no_vzeroupper): This.
10695         (MEMCPY): Renamed to ...
10696         (__memmove_avx512_no_vzeroupper): This.
10697         (__memcpy_avx512_no_vzeroupper): New alias.
10698         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10700 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10702         [BZ #18858]
10703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10704         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10705         and mempcpy-avx512-no-vzeroupper.
10706         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10707         New.
10708         (MEMPCPY): Likewise.
10709         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10710         (MEMPCPY_CHK): New.
10711         (MEMPCPY): Likewise.
10712         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10713         (MEMPCPY): Likewise.
10714         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10715         (MEMPCPY): Likewise.
10716         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10717         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10718         Likewise.
10719         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10720         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10722 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10723              Amit Pawar  <Amit.Pawar@amd.com>
10725         [BZ #19583]
10726         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10727         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10728         processors.  Set Fast_Copy_Backward for AMD Excavator
10729         processors.
10730         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10731         New.
10732         (index_arch_Fast_Unaligned_Copy): Likewise.
10733         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10734         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10736 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10738         [BZ #19791]
10739         * resolv/res_send.c (close_and_return_error): New function.
10740         (send_dg): Initialize *resplen2 after reopen failure.  Call
10741         close_and_return_error for error returns.  On error paths without
10742         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10743         successful return.
10745 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10747         [BZ# 19860]
10748         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10749         zero if the compiler does not provide the AVX512F bit.
10751 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10753         [BZ #19848]
10754         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10755         from 8 to 4.
10756         (__ieee754_powl): Compare integer exponent against 4 not 8.
10757         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10758         from 8 to 4.
10759         (__ieee754_powl): Compare integer exponent against 4 not 8.
10760         * math/auto-libm-test-in: Add more tests of pow.
10761         * math/auto-libm-test-out: Regenerated.
10762         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10765 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10767         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10768         Make code unconditional.
10769         [!__NR_utimensat]: Remove conditional code.
10770         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10771         Make code unconditional.
10772         [!__NR_utimensat]: Remove conditional code.
10773         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10774         Make code unconditional.
10775         [!__NR_utimensat]: Remove conditional code.
10777 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10779         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10780         Make code unconditional.
10782 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10784         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10785         call-clobbered %eax on retry path.
10786         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10788 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10790         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10791         Don't set %rcx twice before "rep movsb".
10793 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10795         [BZ #19583]
10796         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10797         inline.  Check family before setting family, model and
10798         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10799         bits here.
10800         (init_cpu_features): Replace HAS_CPU_FEATURE and
10801         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10802         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10803         for Intel processors with usable AVX2.  Call get_common_indeces
10804         for other processors with family == NULL.
10805         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10806         (CPU_FEATURES_ARCH_P): Likewise.
10807         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10808         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10810 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10812         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10813         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10814         $(shared-thread-library) instead of hardcoding the path to libpthread.
10816 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10818         * sysdeps/unix/sysv/linux/kernel-features.h
10819         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10820         * sysdeps/unix/sysv/linux/getdents.c
10821         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10822         [!have_no_getdents64_defined]: Likewise.
10823         (__GETDENTS): Remove __have_no_getdents64 conditional.
10825 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10827         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10828         Remove macro.
10829         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10830         <kernel-features.h>.
10831         (signalfd) [__NR_signalfd4]: Make code unconditional.
10832         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10834 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10836         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10837         style.
10839 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10841         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10842         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10843         __pthread_unwind.
10844         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10845         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10846         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10847         (__condvar_cleanup1): Likewise.
10849 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10851         [BZ #19822]
10852         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10853         move it to the final $@ location.
10855 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10857         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10858         access where posix_spawn success and pid argument is null.
10859         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10860         success case.
10862 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10864         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10866         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10868         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10869         and __fcntl.
10870         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10871         __fcntl only.
10872         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10873         adding attribute_hidden to __open and __fcntl.
10875         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10876         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10877         depend on libc-modules.h,
10878         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10880 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10882         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10883         Remove macro.
10884         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10885         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10886         entry.
10888         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10889         Remove macro.
10890         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10891         include <kernel-features.h>.
10892         [!__ASSUME_FALLOCATE]: Remove conditional code.
10893         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10895 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10897         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10898         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10899         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10900         (_ZGVdN4v_cos_avx2): Likewise.
10901         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10902         (_ZGVdN4v_cos): Likewise.
10903         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10904         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10905         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10906         (_ZGVdN4v_exp_avx2): Likewise.
10907         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10908         (_ZGVdN4v_exp): Likewise.
10909         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10910         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10911         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10912         (_ZGVdN4v_log_avx2): Likewise.
10913         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10914         (_ZGVdN4v_log): Likewise.
10915         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10916         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10917         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10918         (_ZGVdN4vv_pow_avx2): Likewise.
10919         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10920         (_ZGVdN4vv_pow): Likewise.
10921         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10922         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10923         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10924         (_ZGVdN4v_sin_avx2): Likewise.
10925         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10926         (_ZGVdN4v_sin): Likewise.
10927         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10928         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10929         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10930         (_ZGVdN4vvv_sincos_avx2): Likewise.
10931         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10932         (_ZGVdN4vvv_sincos): Likewise.
10933         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10934         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10935         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10936         (_ZGVbN4v_cosf_sse4): Likewise.
10937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10938         (_ZGVdN8v_cosf_avx2): Likewise.
10939         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10940         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10941         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10942         (_ZGVbN4v_expf_sse4): Likewise.
10943         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10944         (_ZGVdN8v_expf_avx2): Likewise.
10945         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10946         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10947         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10948         (_ZGVbN4v_logf_sse4): Likewise.
10949         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10950         (_ZGVdN8v_logf_avx2): Likewise.
10951         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10952         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10953         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10954         (_ZGVbN4vv_powf_sse4): Likewise.
10955         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10956         (_ZGVdN8vv_powf_avx2): Likewise.
10957         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10958         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10959         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10960         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10961         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10962         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10963         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10964         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10965         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10966         (_ZGVbN4v_sinf_sse4): Likewise.
10967         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10968         (_ZGVdN8v_sinf_avx2): Likewise.
10969         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10970         Use JUMPTARGET to call callee.
10971         (WRAPPER_IMPL_SSE2_ff): Likewise.
10972         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10973         (WRAPPER_IMPL_AVX): Likewise.
10974         (WRAPPER_IMPL_AVX_ff): Likewise.
10975         (WRAPPER_IMPL_AVX_fFF): Likewise.
10976         (WRAPPER_IMPL_AVX512): Likewise.
10977         (WRAPPER_IMPL_AVX512_ff): Likewise.
10978         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10979         Likewise.
10980         (WRAPPER_IMPL_SSE2_ff): Likewise.
10981         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10982         (WRAPPER_IMPL_AVX): Likewise.
10983         (WRAPPER_IMPL_AVX_ff): Likewise.
10984         (WRAPPER_IMPL_AVX_fFF): Likewise.
10985         (WRAPPER_IMPL_AVX512): Likewise.
10986         (WRAPPER_IMPL_AVX512_ff): Likewise.
10987         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10989 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10991         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10992         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10993         qualifier.
10994         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10995         internal_function qualifiers.
10997 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10999         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
11000         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
11001         * math/atest-exp.c (exp_mpn): Mark chk unused.
11002         * math/atest-exp2.c (exp_mpn): Likwise.
11003         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
11004         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
11006 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
11008         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
11009         Remove macro.
11010         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
11011         <kernel-features.h>.
11012         [__NR_ppoll]: Make code unconditional.
11013         [!__ASSUME_PPOLL]: Remove conditional code.
11015         * sysdeps/unix/sysv/linux/kernel-features.h
11016         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
11017         (__ASSUME_ACCEPT4): Likewise.
11018         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11019         Define.
11020         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
11021         Likewise.
11022         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11023         Likewise.
11024         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
11025         Likewise.
11026         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
11027         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
11028         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11029         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11030         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11031         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11032         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11033         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11034         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11035         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11036         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11037         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11038         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11039         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11040         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11041         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11042         Likewise.
11043         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11044         Likewise.
11045         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11046         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11047         0x040300].
11048         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11049         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11050         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11051         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11052         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11053         0x030300].
11054         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
11055         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11056         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11057         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11058         0x040300].
11059         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11060         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11062         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11063         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11064         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11065         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11066         0x030300].
11067         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11068         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11069         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11070         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11071         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11072         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11073         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11074         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11075         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11076         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11077         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11078         0x040300].
11079         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11080         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11081         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11082         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11083         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11084         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11085         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11086         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11087         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11088         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11089         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11090         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11091         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11092         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11093         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
11094         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11096         Likewise.
11097         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11098         Likewise.
11100 2016-03-15  Andreas Schwab  <schwab@suse.de>
11102         [BZ #19257]
11103         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
11104         statp->_u._ext.nscount as loop count.
11106 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11108         * math/test-signgam-finite-c99.c: Also #undef
11109         __LIBC_INTERNAL_MATH_INLINES.
11110         * math/test-signgam-main.c: Likewise.
11112 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
11114         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
11115         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11116         (MADV_FREE): Likewise.
11117         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
11118         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
11119         EPOLLEXCLUSIVE.
11121 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
11123         * timezone/README: Remove mention of checktab.awk. Mention wiki
11124         SharedSourceFiles.
11126 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
11128         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
11129         WUNTRACED.
11131 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11133         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
11134         order to match the type of p when calling atomic_exchange_acq().
11136 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11138         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
11139         cfi_offset calls.
11140         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
11141         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
11142         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
11143         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
11144         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
11146 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
11148         * timezone/checktab.awk: Removed.
11150 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
11152         * manual/math.texi (Errors in Math Functions): Document relaxed
11153         accuracy goals for IBM long double.
11154         * math/libm-test.inc (test_exceptions): Always allow spurious
11155         "underflow" and "inexact" exceptions for IBM long double.
11157 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
11159         [BZ #19762]
11160         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11161         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
11162         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
11163         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
11164         (bit_arch_*): This for feature array.
11165         (bit_*): Renamed to ...
11166         (bit_cpu_*): This for cpu array.
11167         (index_*): Renamed to ...
11168         (index_arch_*): This for feature array.
11169         (index_*): Renamed to ...
11170         (index_cpu_*): This for cpu array.
11171         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
11172         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
11173         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
11174         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
11175         bit_##name with index_cpu_##name and bit_cpu_##name.
11176         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
11177         bit_##name with index_arch_##name and bit_arch_##name.
11179 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
11181         [BZ #19792]
11182         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
11183         Terminate FDE before return label.
11185 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
11187         [BZ #19790]
11188         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
11189         (rintl): Define as macro.
11190         [USE_AS_NEARBYINTL] (__rintl): Likewise.
11191         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
11192         of fesetround.  Ensure results are evaluated before end of scope.
11193         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
11194         USE_AS_NEARBYINTL and include s_rintl.c.
11195         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
11196         Disable exception traps in new environment.
11197         (libc_feholdsetround_ppc_ctx): Likewise.
11199 2016-03-08  Roland McGrath  <roland@hack.frob.com>
11201         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
11202         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
11203         (tst_audit10_aux) [__AVX512F__]: ... here.
11205 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
11207         * include/sys/auxv.h: New file.
11209 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11211         [BZ #19759]
11212         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
11214 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11216         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
11217         operand modifier.
11218         (feclearexcept): Likewise.
11220 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11222         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
11223         to reflect the entire 32-bit HWCAP.
11224         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
11225         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
11227 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11229         [BZ #19783]
11230         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
11231         $(test-via-rtld-prefix).
11232         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
11234 2016-03-08  Florian Weimer  <fweimer@redhat.com>
11236         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
11237         union wait.  Report any non-zero exit status as error.
11239 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11241         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
11242         configured with --enable-hardcoded-path-in-tests.
11244 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
11246         [BZ #19677]
11247         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11248         (__ieee754_remainderl): Put zero low parts in canonical form.
11249         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
11250         file.  Based on
11251         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
11252         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
11253         with wrapper round test-fmodrem-ldbl-128ibm.c.
11254         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
11255         file.
11256         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
11257         Likewise.
11258         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11259         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
11261 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11263         [BZ #19610]
11264         * elf/ldconfig.c (opt_link): Update comment.
11265         (options): Update help string for option -X.
11266         (search_dir): Unlink stale symbolic link only if updating symbolic
11267         links.
11268         * elf/tst-ldconfig-X.sh: New file.
11269         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
11270         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
11272 2016-03-07  Andreas Schwab  <schwab@suse.de>
11274         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
11275         needed arguments.
11277 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
11279         [BZ #15333]
11280         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
11281         to lstat64.
11283 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11285         * libio/filedoalloc.c (isatty): Remove.
11286         (local_isatty): Add comment.  Call __isatty directly.
11287         (_IO_file_doallocate): Update comment.  Assume _LIBC.
11288         * libio/wfiledoalloc.c (isatty): Remove.
11289         (_IO_wfile_doallocate): Update comment.
11291 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11293         [BZ #19269]
11294         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11295         tst-audit4-aux.o.
11296         (tst-audit10): Depend on tst-audit10-aux.o.
11297         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11298         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11299         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11300         instead of inline AVX code.
11301         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11302         instead of inline AVX512 code.
11303         * sysdeps/x86_64/tst-audit4-aux.c: New file
11304         * sysdeps/x86_64/tst-audit10-aux.c: New file
11306         [BZ #19648]
11307         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11309 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11311         [BZ #14750]
11312         [BZ #10354]
11313         [BZ #18433]
11314         * include/sched.h (__clone): Add hidden prototype.
11315         (__clone2): Likewise.
11316         * include/unistd.h (__dup): Likewise.
11317         * posix/Makefile (tests): Add tst-spawn2.
11318         * posix/tst-spawn2.c: New file.
11319         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11320         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11321         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11322         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11323         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11324         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11325         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11326         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11327         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11328         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11329         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11331         Likewise.
11332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11333         Likewise.
11334         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11335         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11336         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11337         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11338         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11339         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11340         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11341         * sysdeps/unix/sysv/linux/nptl-signals.h
11342         (____nptl_is_internal_signal): New function.
11343         * sysdeps/unix/sysv/linux/spawni.c: New file.
11345         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11346         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11347         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11348         * posix/tst-execvp2.c (do_test): Likewise.
11349         * posix/tst-execvp3.c (do_test): Likewise.
11350         * posix/tst-execvp4.c (do_test): Likewise.
11351         * posix/tst-execvpe1.c: New file.
11352         * posix/tst-execvpe2.c: Likewise.
11353         * posix/tst-execvpe3.c: Likewise.
11354         * posix/tst-execvpe4.c: Likewise.
11355         * posix/tst-execvpe5.c: Likewise.
11356         * posix/tst-execvpe6.c: Likewise.
11358         [BZ #19534]
11359         * posix/execl.c (execl): Remove dynamic memory allocation.
11360         * posix/execle.c (execle): Likewise.
11361         * posix/execlp.c (execlp): Likewise.
11363 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11365         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11366         Replace .text with .text.avx512.
11367         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11368         Likewise.
11370 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11372         * sysdeps/generic/libnsl.abilist: New file.
11373         * sysdeps/generic/libutil.abilist: New file.
11375 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11377         [BZ #19762]
11378         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11379         HAS_ARCH_FEATURE with Fast_Rep_String.
11380         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11381         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11382         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11383         Likewise.
11384         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11385         Likewise.
11386         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11387         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11388         Likewise.
11389         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11390         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11391         Likewise.
11393 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11395         [BZ #19745]
11396         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11397         with *%rax in call.
11399 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11401         [BZ #19745]
11402         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11403         with *__libc_start_main@GOTPCREL(%rip) in call.
11405 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11407         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11408         inside conditional for nonempty $(CXX).
11410         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11411         nonempty.
11413         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11414         to test for empty $(CXX) rather than $(CXX) of "no".
11416 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11418         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11420 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11421             H.J. Lu  <hongjiu.lu@intel.com>
11423         [BZ #18880]
11424         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11425         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11426         enable __memcpy_ssse3_back.
11428 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11430         [BZ #19758]
11431         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11432         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11434 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11436         [BZ #19490]
11437         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11438         (__fentry__): Likewise.
11440 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11442         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11443         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11445 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11447         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11448         __mcount_internal directly.
11449         (C_LABEL(__fentry__)): Likewise.
11450         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11451         directly.
11453 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11455         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11456         (__start_context): Call __setcontext directly.
11458 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11460         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11461         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11462         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11463         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11464         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11465         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11466         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11467         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11468         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11469         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11470         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11471         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11472         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11473         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11474         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11475         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11476         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11477         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11478         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11479         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11480         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11481         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11482         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11483         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11484         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11485         Remove conditional code.
11486         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11487         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11488         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11489         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11490         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11491         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11492         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11493         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11494         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11495         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11496         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11497         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11499 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11501         * NEWS (2.23): Fix typo in bug 19048 text.
11503 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11505         [BZ #14259]
11506         * Makeconfig: Rename msgcatdir to localedir.
11507         Rename inst_msgcatdir to inst_localedir.
11508         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11509         * config.make.in: Add localedir.
11510         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11511         (ldd-rewrite): Likewise.
11512         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11513         (install-others): Use inst_localedir.
11514         (CPPFLAGS): Use localedir.
11515         * locale/Makefile (locale-CPPFLAGS): Likewise.
11516         * po/Makefile (mo-installed): Use inst_localedir.
11518         [BZ #19575]
11519         * localedata/charmaps/GB18030: Update comments regarding PAU to
11520         non-PUA mappings.
11522 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11524         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11525         test for header.
11526         * sysdeps/unix/sysv/linux/configure: Regenerated.
11527         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11528         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11529         Remove conditional code.
11530         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11532         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11533         Define to 3.2.0.
11534         (arch_minimum_kernel): Likewise.
11535         * sysdeps/unix/sysv/linux/configure: Regenerated.
11536         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11537         Define to 2.6.32.
11538         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11539         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11540         (arch_minimum_kernel): Define to 2.6.32.
11541         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11542         * README: Document Linux 3.2 requirement.
11543         * manual/install.texi (Linux): Document Linux 3.2 headers
11544         requirement.
11545         * INSTALL: Regenerated.
11547 2016-02-24  Andreas Schwab  <schwab@suse.de>
11549         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11550         if !NO_LONG_DOUBLE.
11552 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11554         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11555         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11557 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11559         [BZ #19512]
11560         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11562 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11564         * posix/tst-dir.c: Include libc-internal.h.
11566 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11568         [BZ #19056]
11569         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11570         * manual/filesys.texi (Reading/Closing Directory): Mention
11571         deprecaion.
11572         * posix/tst-dir.c (main): Disable deprecation warning in test.
11574 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11576         [BZ #19679]
11577         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11578         Renamed to ...
11579         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11580         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11581         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11582         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11583         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11584         * sysdeps/x86_64/dl-trampoline.h
11585         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11586         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11588 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11590         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11592 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11594         * elf/elf.h (R_386_GOT32X): New.
11595         (R_386_NUM): Update.
11596         (R_X86_64_GOTPCRELX: New.
11597         (R_X86_64_REX_GOTPCRELX): New.
11598         (R_X86_64_NUM): Update.
11600 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11602         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11604 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11606         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11607         assign attr->stackaddr to it, and adjust it down when
11608         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11609         [_STACK_GROWS_UP]: Delete assert.
11610         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11611         Implement stack grows up logic.
11612         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11613         stack grows up logic.
11615 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11617         * NEWS: Update with 2.24 template.
11619 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11621         [BZ #19678]
11622         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11623         Ensure +0.0 is returned when taking the next value below the least
11624         positive value.
11626 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11628         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11629         available.  Do not define NO_THREADS.
11630         * malloc/malloc.c: Do not check NO_THREADS.
11631         * malloc/arena.c: Likewise.
11633 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11635         * malloc/malloc.c (__libc_mallinfo): Update comment.
11636         (struct malloc_par): Remove max_total_mem member, it was always 0.
11637         (int_mallinfo): Store 0 into usmblks (no functional change).
11638         * malloc/hooks.c (struct malloc_state): Document that
11639         max_total_mem is always 0.
11640         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11641         always 0.
11642         * manual/memory.texi (Statistics of Malloc): Likewise.
11644 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11646         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11647         * malloc/arena.c (arena_max): Remove.
11648         (heap_trim, _int_new_arena): Do not update arena_max.
11650 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11652         * resolv/res_init.c (res_ninit): Update comment.
11654 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11656         [BZ #19505]
11657         * posix/spawn_int.h: Add headers and include guard.
11658         (__spawn_valid_fd): New function.
11659         * posix/spawn_faction_addopen.c
11660         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11661         * posix/spawn_faction_addclose.c
11662         (posix_spawn_file_actions_addclose): Likewise.
11663         * posix/spawn_faction_adddup2.c
11664         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11665         second file descriptor.
11666         * posix/spawn_valid_fd.c: New file.
11667         * posix/tst-posix_spawn-fd.c: New file.
11668         * posix/Makefile (routines): Add spawn_valid_fd.
11669         (tests): Add tst-posix_spawn-fd.
11671 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11673         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11674         (do_test): Limit the number of arenas, so that we can use fewer
11675         outer threads.  Limit timeout to 3 seconds, in preparation for a
11676         larger TIMEOUT value.
11678 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11680         [BZ #19674]
11681         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11682         sign in overflowing and underflowing results when overflow or
11683         underflow is detected early.  Include sign in result before rather
11684         than after scaling.
11686         [BZ #19603]
11687         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11688         (__ieee754_remainderl): Adjust sign of integer version of low part
11689         when taking absolute value of high part.
11690         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11691         * math/libm-test.inc (remainder_test_data): Add another test.
11692         (remquo_test_data): Likewise.
11694 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11696         [BZ #19602]
11697         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11698         equal high parts and both low parts zero specially.
11699         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11700         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11701         Add test-fmodl-ldbl-128ibm.
11703         [BZ #19595]
11704         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11705         common logic for all cases of shifting subnormal results.  Do not
11706         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11707         exponent to ldbl_insert_mantissa in subnormal case.
11709         [BZ #19594]
11710         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11711         on high and low parts then adjust result and use
11712         ldbl_canonicalize_int if needed.
11714         [BZ #19593]
11715         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11716         on high part and __floor or __ceil on low part then use
11717         ldbl_canonicalize_int if needed.
11719         [BZ #19592]
11720         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11721         high and low parts then use ldbl_canonicalize_int if needed.
11723         [BZ #17899]
11724         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11725         New function.
11726         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11727         on high and low parts then use ldbl_canonicalize_int if needed.
11729 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11731         * configure: Regenerated.
11733         * po/libc.pot: Regenerated.
11735         * po/be.po: Updated translation.
11736         * po/bg.po: Likewise.
11737         * po/ca.po: Likewise.
11738         * po/cs.po: Likewise.
11739         * po/da.po: Likewise.
11740         * po/el.po: Likewise.
11741         * po/eo.po: Likewise.
11742         * po/es.po: Likewise.
11743         * po/fi.po: Likewise.
11744         * po/fr.po: Likewise.
11745         * po/gl.po: Likewise.
11746         * po/hr.po: Likewise.
11747         * po/hu.po: Likewise.
11748         * po/ia.po: Likewise.
11749         * po/id.po: Likewise.
11750         * po/it.po: Likewise.
11751         * po/ja.po: Likewise.
11752         * po/lt.po: Likewise.
11753         * po/nb.po: Likewise.
11754         * po/nl.po: Likewise.
11755         * po/pt_BR.po: Likewise.
11756         * po/rw.po: Likewise.
11757         * po/sk.po: Likewise.
11758         * po/sl.po: Likewise.
11759         * po/sv.po: Likewise.
11760         * po/tr.po: Likewise.
11761         * po/zh_CN.po: Likewise.
11762         * po/zh_TW.po: Likewise.
11764         * version.h (RELEAES): Set to "development".
11765         (VERSION): Set to 2.23.90.
11767         * version.h (RELEASE): Set to "stable".
11768         (VERSION): Set to 2.23.
11769         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11771         * NEWS: Updated fixed bugs.
11773 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11774             Wilco Dijkstra  <wdijkstr@arm.com>
11776         [BZ #19462]
11777         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11778         (_STRING_INLINE_unaligned): This.
11779         * include/string.h: Include <string_private.h>.
11780         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11781         _STRING_INLINE_unaligned.
11782         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11783         (_STRING_INLINE_unaligned): New.
11784         * sysdeps/aarch64/string_private.h: New file.
11785         * sysdeps/generic/string_private.h: Likewise.
11786         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11787         * sysdeps/s390/string_private.h: Likewise.
11788         * sysdeps/x86/string_private.h: Likewise.
11789         * sysdeps/m68k/m680x0/m68020/bits/string.h
11790         (_STRING_ARCH_unaligned): Renamed to ...
11791         (_STRING_INLINE_unaligned): This.
11792         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11793         to ...
11794         (_STRING_INLINE_unaligned): This.
11795         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11796         to ...
11797         (_STRING_INLINE_unaligned): This.
11798         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11799         to ...
11800         (_STRING_INLINE_unaligned): This.
11802 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11803             H.J. Lu  <hongjiu.lu@intel.com>
11805         [BZ #19590]
11806         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11807         relocation.
11809 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11811         [BZ #18665]
11812         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11813         *herrno_p.
11814         (gaih_getanswer): Document functional behviour. Return tryagain
11815         if any result is tryagain.
11816         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11817         when freed.
11818         * resolv/res_send.c: Add copyright text.
11819         (__libc_res_nsend): Document that MAXPACKET is expected.
11820         (send_vc): Document. Remove buffer reuse.
11821         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11822         size of the buffer. Add Dprint for truncated UDP buffer.
11824 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11826         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11827         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11828         * INSTALL: Regenerate.
11830 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11831             Jonathan Wakely  <jwakely@redhat.com>
11832             Carlos O'Donell  <carlos@redhat.com>
11834         [BZ 19439]
11835         * math/Makefile (tests): Add test-math-isinff.
11836         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11837         * math/bits/mathcalls.h [__USE_MISC]: Use
11838         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11839         functions not in C++11 and which don't conflict e.g. isinff,
11840         isinfl etc.
11841         * math/test-math-isinff.cc: New file.
11843 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11845         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11847 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11849         [BZ #19529]
11850         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11852 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11854         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11856 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11858         [BZ #19550]
11859         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11860         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11861         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11862         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11863         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11864         New syscall entry.
11865         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11866         New syscall entry.
11867         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11868         syscall entry.
11870 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11872         [BZ #18240]
11873         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11874         unsigned int wraparound.
11876 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11878         [BZ #18240]
11879         * misc/bug18240.c: New test.
11880         * misc/Makefile (tests): Add it.
11882 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11883             Joseph Myers  <joseph@codesourcery.com>
11885         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11886         load in branch delay slot when less than a word of input left.
11888 2016-01-27  Andreas Schwab  <schwab@suse.de>
11890         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11891         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11892         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11893         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11895 2016-01-26  David S. Miller  <davem@davemloft.net>
11897         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11899 2016-01-25  David S. Miller  <davem@davemloft.net>
11901         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11902         __sqrtl_finite.
11903         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11904         instead using versioned_symbol.
11905         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11906         of entries.
11908         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11909         __sqrtl_finite to GLIBC_2.23
11911 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11913         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11915 2016-01-25  Andreas Schwab  <schwab@suse.de>
11917         [BZ #17514]
11918         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11919         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11920         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11921         * nptl/tst-mutex-errorcheck.c: New file.
11923 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11925         [BZ #18560]
11926         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11927         (IPCOP_semop): Likewise.
11928         (IPCOP_semget): Likewise.
11929         (IPCOP_semctl): Likewise.
11930         (IPCOP_msgsnd): Likewise.
11931         (IPCOP_msgrcv): Likewise.
11932         (IPCOP_msgget): Likewise.
11933         (IPCOP_msgctl): Likewise.
11934         (IPCOP_shmat): Likewise.
11935         (IPCOP_shmdt): Likewise.
11936         (IPCOP_shmget): Likewise.
11937         (IPCOP_shmctl): Likewise.
11939 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11941         * string/tst-endian.c: Include <libc-internal.h>.
11942         (do_test): Ignore tautological-compare warnings around
11943         "htobeXX (beXXtoh (i)) != i" and
11944         "htoleXX (leXXtoh (i)) != i" if-statements.
11946 2016-01-24  David S. Miller  <davem@davemloft.net>
11948         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11949         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11950         alias.
11951         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11952         __sqrtl_finite.
11954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11956 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11958         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11959         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11960         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11962 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11964         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11965         (thread_func): Use new function to simplify barrier check.
11966         (do_test): Use new function to simplify checking barrier exit
11967         code, and actually join the child thread.
11969 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11971         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11972         semicolon.
11973         (__libc_tend): Likewise.
11974         (__libc_tabort): Likewise.
11976 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11978         * sysdeps/nios2/libm-test-ulps: Update.
11979         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11980         (__gtsf2): Likewise.
11981         (__unorddf2): Likewise.
11982         (__unordsf2): Likewise.
11983         (__ledf2): Likewise.
11985 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11987         * nis/nis_table.c (__follow_path): Disable diagnostic for
11988         uninitialized variable that is a false positive for gcc 4.7.
11989         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11991 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11993         * sysdeps/nacl/lowlevellock-futex.h
11994         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11995         Always evaluate PRIVATE argument.
11997 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11999         [BZ #19490]
12000         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
12001         (pthread_cond_broadcast): Use ENTRY/END
12002         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
12003         (pthread_cond_signal): Likewise.
12004         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
12005         Likewise.
12006         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
12007         Likewise.
12008         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
12009         Likewise.
12011 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
12013         * sysdeps/ieee754/dbl-64/s_finite.c
12014         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
12015         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
12016         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
12017         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
12018         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
12020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12021         (__gtsf2): Add as optional for libc.so.
12022         (__unordsf2): Likewise.
12023         (__signbit): Remove for libc.so.
12024         (__signbitl): Likewise.
12026 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12028         * iconvdata/bug-iconv11.c (test_ibm93x):
12029         Use %zu printf format specifier for size_t argument.
12031 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
12033         * math/gen-libm-test.pl (parse_ulps): Do not reduce
12034         already-recorded ulps.
12035         * sysdeps/arm/libm-test-ulps: Regenerated.
12036         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12037         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12038         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12040 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12041             Paul Pluzhnikov  <ppluzhnikov@google.com>
12043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
12044         assembler not supporting AVX-512.
12046 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12048         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12050 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
12052         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12053         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12055         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12057         * sysdeps/arm/libm-test-ulps: Regenerated.
12059 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12061         [BZ #19451]
12062         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
12064 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12066         [BZ #19486]
12067         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
12068         * sysdeps/generic/fix-fp-int-convert-overflow.h
12069         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
12070         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
12071         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
12072         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
12073         Likewise.
12074         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
12075         Avoid conversions to long int where inexact exceptions
12076         could be raised.
12077         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
12078         Likewise.
12079         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
12080         Avoid conversions to long long int where inexact exceptions
12081         could be raised.
12082         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
12083         Likewise.
12085 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
12087         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
12088         * configure: Regenerated.
12090 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
12092         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
12094 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
12096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
12097         outside of comment.
12099 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12101         * nptl/tst-barrier1.c: Add description on first line.
12102         * nptl/tst-barrier2.c: Likewise.
12103         * nptl/tst-barrier3.c: Likewise.
12104         * nptl/tst-barrier4.c: Likewise.
12105         * nptl/tst-barrier5.c: Likewise.
12107 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12109         [BZ #18868]
12110         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
12112 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
12114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
12115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12116         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
12117         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
12118         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
12119         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
12120         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12121         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12122         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12123         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12124         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12126 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12128         [BZ #13065]
12129         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
12130         new implementation.
12131         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
12132         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
12133         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
12134         (BARRIER_IN_THRESHOLD): New macro.
12135         * nptl/pthread_barrierattr_setpshared.c
12136         (pthread_barrierattr_setpshared): Clean up.
12137         * nptl/tst-barrier4.c: Correct comment.
12138         * nptl/tst-barrier5.c: New file.
12139         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
12140         (gen-as-const-headers): Remove lowlevelbarrier.sym.
12141         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
12142         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
12143         * nptl/lowlevelbarrier.sym: Remove.
12144         * nptl/DESIGN-barrier.txt: Remove.
12145         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
12146         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
12147         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
12148         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
12149         error.
12150         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
12151         implementation.
12153 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12155         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
12156         (do_child): Mask SIGRTMIN while thr is running.
12158 2016-01-15  Martin Sebor  <msebor@redhat.com>
12160         [BZ #19432]
12161         * iconvdata/Makefile: Add bug-iconv11.
12162         * iconvdata/bug-iconv11.c: New test.
12163         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
12164         * iconvdata/ibm933.c: Same.
12165         * iconvdata/ibm935.c: Same.
12166         * iconvdata/ibm937.c: Same.
12167         * iconvdata/ibm939.c: Same.
12169 2016-01-15  Martin Sebor  <msebor@redhat.com>
12171         [BZ #19443]
12172         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
12173         [DEBUG] (_ufc_set_bits): Declare used.
12174         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
12175         [DEBUG] (print_all): Declare used.
12176         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
12177         operands of the ternary ?: expression to target type.
12178         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
12179         calling the undeclared abort.
12180         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
12182 2016-01-15  Martin Sebor  <msebor@redhat.com>
12184         [BZ #18755]
12185         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
12186         warnings.
12187         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
12188         (__gai_create_helper_thread): Same.
12189         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
12190         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
12191         to suppress -Wmaybe-uninitialized warnings.
12193 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
12195         [BZ #19465]
12196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
12197         inside if.
12198         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12199         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12200         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12202 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
12204         [BZ #19466]
12205         * time/tst-mktime2.c (time_t_max): Removed.
12206         (time_t_min): Likewise.
12207         (TYPE_SIGNED): New.
12208         (TYPE_MINIMUM): Likewise.
12209         (TYPE_MAXIMUM): Likewise.
12210         (TIME_T_MIN): Likewise.
12211         (TIME_T_MAX): Likewise.
12212         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
12213         and TIME_T_MIN.
12214         (do_test): Likewise.
12216 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
12218         [BZ #19467]
12219         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12220         index_Fast_Unaligned_Load flag for Excavator family CPUs.
12222 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
12224         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
12226 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
12228         * benchtests/Makefile (PYTHON): Define.
12229         (bench-func): Use $(PYTHON) to run python scripts.
12230         ($(objpfx)bench-%.c): Likewise.
12232 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
12234         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
12235         leading slash when `file_name' is "/".
12237 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
12239         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
12240         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
12241         Likewise.
12242         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
12243         Likewise.
12244         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
12247         enum constant and macro.
12248         (PTRACE_SETSIGMASK): Likewise.
12249         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12250         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12251         (PTRACE_GETSIGMASK): Likewise.
12252         (PTRACE_SETSIGMASK): Likewise.
12253         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12254         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
12255         Likewise.
12256         (PTRACE_SETSIGMASK): Likewise.
12257         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12258         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12259         (PTRACE_GETSIGMASK): Likewise.
12260         (PTRACE_SETSIGMASK): Likewise.
12261         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12262         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
12263         Likewise.
12264         (PTRACE_SETSIGMASK): Likewise.
12265         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12266         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
12267         Likewise.
12268         (PTRACE_SETSIGMASK): Likewise.
12269         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12270         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
12271         Likewise.
12272         (PTRACE_SETSIGMASK): Likewise.
12273         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12275 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
12276             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12278         [BZ #19439]
12279         * math/bits/mathcalls.h
12280         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
12281         prototype.
12282         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
12284 2016-01-11  Andreas Schwab  <schwab@suse.de>
12286         [BZ #19253]
12287         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
12288         cache when TZDEFRULES was used.
12289         * time/tst-tzname.c: New file.
12290         * time/Makefile (test): Add tst-tzname.
12291         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12292         * timezone/Makefile (test-zones): Add $(posixrules-file).
12293         ($(testdata)/$(posixrules-file)): New rule.
12295 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12297         Fix doc quoting problems with Texinfo 5
12298         Without this change, in the info file output, Texinfo 5 quotes code
12299         in text with undirected single quotes 'like this' and generates
12300         code examples that with many PDF readers cannot be cut out of PDFs
12301         and pasted into code.
12302         * manual/libc.texinfo: Configure the libc manual like the GNU
12303         Emacs manual, by using @documentencoding and setting
12304         txicodequoteundirected and txicodequotebacktick.  This way,
12305         Texinfo 5 quotes code in text with directed single quotes ‘like
12306         this’ and produces examples that can be cut out of PDFs.  This
12307         change causes Texinfo 5 to generate info files that contain UTF-8
12308         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12309         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12311 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12313         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12314         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12315         barriers to their respective compiler built-ins.
12316         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12317         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12318         * sysdeps/powerpc/sysdep.h: Likewise.
12319         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12320         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12321         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12323 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12325         * scripts/config.guess: Revert previous shebang change.
12326         * scripts/config.sub: Likewise.
12327         * scripts/mkinstalldirs: Likewise.
12329 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12331         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12332         PPC_FEATURE2_HAS_IEEE128.
12333         * sysdeps/powerpc/dl-procinfo.c:
12334         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12336 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12338         [BZ #19415]
12339         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12340         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12341         (_dl_lookup_address): Rewrite using function resolver trampoline.
12342         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12343         two bits in address.
12345 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12347         * longlong.h: Change !__SHMEDIA__ to
12348         (!defined (__SHMEDIA__) || !__SHMEDIA__).
12349         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12351 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
12352             Joseph Myers  <joseph@codesourcery.com>
12353             Mark Shinwell  <shinwell@codesourcery.com>
12354             Andrew Stubbs  <ams@codesourcery.com>
12355             Rich Felker <dalias@libc.org>
12357         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12359 2016-01-07  Richard Henderson  <rth@redhat.com>
12361         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12363 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12365         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12366         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12367         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12368         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12369         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12371 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12372             Joseph Myers  <joseph@codesourcery.com>
12374         * timezone/private.h: Update from tzcode 2015g.
12375         * timezone/tzfile.h: Likewise.
12376         * timezone/tzselect.ksh: Likewise.
12377         * timezone/zdump.c: Likewise.
12378         * timezone/zic.c: Likewise.
12379         * timezone/ialloc.c: Remove file.
12380         * timezone/scheck.c: Likewise.
12381         * timezone/Makefile (extra-objs): Remove variable.
12382         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12383         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12384         -Wno-maybe-uninitialized.
12385         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12386         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12387         (CFLAGS-ialloc.c): Remove variable.
12388         (CFLAGS-scheck.c): Likewise.
12389         * timezone/README: Update list of files from tzcode.
12391 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12393         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12394         instead of __fxprintf when _LIBC is undefined.
12396 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12398         * catgets/test-gencat.sh: Remove space after shebang.
12399         * conform/GlibcConform.pm: Likewise.
12400         * conform/check-header-lists.sh: Likewise.
12401         * conform/conformtest.pl: Likewise.
12402         * conform/linknamespace.pl: Likewise.
12403         * conform/list-header-symbols.pl: Likewise.
12404         * debug/catchsegv.sh: Likewise.
12405         * elf/genrtldtbl.awk: Likewise.
12406         * elf/tst-pathopt.sh: Likewise.
12407         * elf/tst-rtld-load-self.sh: Likewise.
12408         * grp/tst_fgetgrent.sh: Likewise.
12409         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12410         * iconvdata/gen-8bit-gap.sh: Likewise.
12411         * iconvdata/gen-8bit.sh: Likewise.
12412         * iconvdata/run-iconv-test.sh: Likewise.
12413         * intl/tst-gettext.sh: Likewise.
12414         * intl/tst-gettext2.sh: Likewise.
12415         * intl/tst-gettext4.sh: Likewise.
12416         * intl/tst-gettext6.sh: Likewise.
12417         * intl/tst-translit.sh: Likewise.
12418         * io/ftwtest-sh: Likewise.
12419         * libio/test-freopen.sh: Likewise.
12420         * locale/gen-translit.pl: Likewise.
12421         * malloc/tst-mtrace.sh: Likewise.
12422         * manual/check-safety.sh: Likewise.
12423         * manual/libc-texinfo.sh: Likewise.
12424         * manual/tsort.awk: Likewise.
12425         * manual/xtract-typefun.awk: Likewise.
12426         * nptl/tst-cancel-wrappers.sh: Likewise.
12427         * nptl/tst-tls6.sh: Likewise.
12428         * posix/globtest.sh: Likewise.
12429         * posix/tst-getconf.sh: Likewise.
12430         * posix/wordexp-tst.sh: Likewise.
12431         * scripts/check-c++-types.sh: Likewise.
12432         * scripts/check-local-headers.sh: Likewise.
12433         * scripts/config.guess: Likewise.
12434         * scripts/config.sub: Likewise.
12435         * scripts/cpp: Likewise.
12436         * scripts/cross-test-ssh.sh: Likewise.
12437         * scripts/documented.sh: Likewise.
12438         * scripts/evaluate-test.sh: Likewise.
12439         * scripts/gen-libc-abis: Likewise.
12440         * scripts/gen-sorted.awk: Likewise.
12441         * scripts/list-fixed-bugs.py: Likewise.
12442         * scripts/merge-test-results.sh: Likewise.
12443         * scripts/mkinstalldirs: Likewise.
12444         * scripts/rellns-sh: Likewise.
12445         * scripts/test-installation.pl: Likewise.
12446         * scripts/update-copyrights: Likewise.
12447         * stdio-common/tst-printf.sh: Likewise.
12448         * stdio-common/tst-unbputc.sh: Likewise.
12449         * stdlib/tst-fmtmsg.sh: Likewise.
12450         * stdlib/tst-setcontext3.sh: Likewise.
12451         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12452         * sysdeps/unix/make-syscalls.sh: Likewise.
12454 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12456         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12457         asm stw with atomic_exchange_rel.  Add explanatory comment.
12458         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12459         Likewise.
12461 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12463         [BZ #19122]
12464         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12465         * sysdeps/generic/dl-unistd.h: New file.
12466         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12468 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12470          [BZ #19122]
12471          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12472          * sysdeps/generic/dl-mman.h: New file.
12473          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12475 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12477         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12478         trailing whitespace removed.
12479         * scripts/config.guess: Update to version 2016-01-01.
12480         * scripts/config.sub: Update to version 2016-01-01.
12481         * scripts/move-if-change: Update from gnulib.
12483 2016-01-04  Anton Blanchard  <anton@samba.org>
12485         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12486         for array indices.
12487         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12489 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12491         * NEWS: Update copyright dates.
12492         * catgets/gencat.c (print_version): Likewise.
12493         * csu/version.c (banner): Likewise.
12494         * debug/catchsegv.sh: Likewise.
12495         * debug/pcprofiledump.c (print_version): Likewise.
12496         * debug/xtrace.sh (do_version): Likewise.
12497         * elf/ldconfig.c (print_version): Likewise.
12498         * elf/ldd.bash.in: Likewise.
12499         * elf/pldd.c (print_version): Likewise.
12500         * elf/sotruss.sh: Likewise.
12501         * elf/sprof.c (print_version): Likewise.
12502         * iconv/iconv_prog.c (print_version): Likewise.
12503         * iconv/iconvconfig.c (print_version): Likewise.
12504         * locale/programs/locale.c (print_version): Likewise.
12505         * locale/programs/localedef.c (print_version): Likewise.
12506         * login/programs/pt_chown.c (print_version): Likewise.
12507         * malloc/memusage.sh (do_version): Likewise.
12508         * malloc/memusagestat.c (print_version): Likewise.
12509         * malloc/mtrace.pl: Likewise.
12510         * manual/libc.texinfo: Likewise.
12511         * nptl/version.c (banner): Likewise.
12512         * nscd/nscd.c (print_version): Likewise.
12513         * nss/getent.c (print_version): Likewise.
12514         * nss/makedb.c (print_version): Likewise.
12515         * posix/getconf.c (main): Likewise.
12516         * scripts/test-installation.pl: Likewise.
12517         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12519         * All files with FSF copyright notices: Update copyright dates
12520         using scripts/update-copyrights.
12521         * intl/plural.c: Regenerated.
12522         * locale/programs/charmap-kw.h: Likewise.
12523         * locale/programs/locfile-kw.h: Likewise.
12525 2016-01-02  Helge Deller  <deller@gmx.de>
12527         [BZ #19285]
12528         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12529         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12530         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12531         (MADV_xxK_PAGES): Remove.
12533 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12535         [BZ #15421]
12536         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12537         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12538         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12539         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12541 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12543         [BZ #19408]
12544         * sysdeps/unix/sysv/linux/personality.c: New file.
12545         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12546         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12547         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12548         (sysdep_routines): Add personality.
12549         (tests): Add tst-personality.
12550         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12551         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12552         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12553         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12554         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12555         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12556         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12559         Likewise.
12560         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12561         Likewise.
12562         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12563         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12564         Likewise.
12566 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12568         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12569         (PATH_ARM_SYSTYPE): Remove.
12570         (PATH_CPUINFO): Likewise.
12571         (IO_BASE_FOOTBRIDGE): Likewise.
12572         (IO_SHIFT_FOOTBRIDGE): Likewise.
12573         (struct platform): Likewise.
12574         (init_iosys): Remove compatibility code for 2.4 kernels.
12575         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12577 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12579         * malloc/tst-malloc-thread-fail.c: New file.
12580         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12581         (tst-malloc-thread-fail): Link against libpthread.
12583 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12585         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12586         (get_parser): New function.
12587         (main): New function.
12589 2015-12-29  Rob Wu  <rob@robwu.nl>
12591         [BZ #19369]
12592         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12594 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12596         [BZ #19270]
12597         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12599 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12601         [BZ #15421]
12602         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12604 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12606         [BZ #13690]
12607         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12608         after releasing it.
12609         (__lll_robust_unlock): Likewise.
12610         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12611         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12612         (lll_robust_unlock): Likewise.
12613         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12614         Prevent warnings in callers.
12616 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12618         * malloc/arena.c (list_lock): Update comment.
12620 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12622         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12623         __parse_hwcap_and_convert_at_platform to libc.a.
12625 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12627         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12628         platform and feature support for POWER9.
12629         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12630         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12631         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12632         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12633         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12634         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12635         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12636         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12638 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12640         Harmonize generic stdio-lock support with nptl
12642         This fixes build when _IO_funlockfile is a macro, fixes build where
12643         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12644         stack unwind.
12646         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12647         _IO_release_lock ): Use cleanup attribute on new
12648         _IO_acquire_lock_file variable instead of assuming that
12649         _IO_release_lock will be called.
12650         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12651         _IO_acquire_lock_needs_exceptions_enabled.
12652         (_IO_acquire_lock_clear_flags2): New macro.
12654 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12656         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12658 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12660         [BZ #19182]
12661         * malloc/arena.c (list_lock): Document lock ordering requirements.
12662         (free_list_lock): New lock.
12663         (ptmalloc_lock_all): Comment on free_list_lock.
12664         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12665         (detach_arena): Update comment.  free_list_lock is now needed.
12666         (_int_new_arena): Use free_list_lock around detach_arena call.
12667         Acquire arena lock after list_lock.  Add comment, including FIXME
12668         about incorrect synchronization.
12669         (get_free_list): Switch to free_list_lock.
12670         (reused_arena): Acquire free_list_lock around detach_arena call
12671         and attached threads counter update.  Add two FIXMEs about
12672         incorrect synchronization.
12673         (arena_thread_freeres): Switch to free_list_lock.
12674         * malloc/malloc.c (struct malloc_state): Update comments to
12675         mention free_list_lock.
12677 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12679         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12680         Remove functions.
12681         (sloww, sloww1): Accept argument to offset quadrant.
12682         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12683         quadrant.
12684         (__sin, __cos): Consolidate common code into new functions.
12685         (reduce_sincos_1, do_sincos_1): New functions.
12686         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12689         code to new functions.
12690         (reduce_sincos_2, do_sincos_2): New functions.
12691         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12693         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12694         common code for sincos.
12695         (__cos) [!IN_SINCOS]: Likewise.
12696         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12697         New function.
12698         (__sincos): Use it.
12700 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12702         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12703         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12704         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12706 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12708         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12710         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12711         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12712         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12713         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12714         index_Prefer_No_VZEROUPPER): New feature.
12715         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12716         Prefer_No_VZEROUPPER for Knights Landing.
12718 015-12-18  Torvald Riegel  <triegel@redhat.com>
12720         * math/atest-exp2.c (mp_exp_m1): Remove.
12722 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12724         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12725         syscalls.
12726         (__SYSCALL0): New macro.
12727         (__SYSCALL1): Likewise.
12728         (__SYSCALL2): Likewise.
12729         (__SYSCALL3): Likewise.
12730         (__SYSCALL4): Likewise.
12731         (__SYSCALL5): Likewise.
12732         (__SYSCALL6): Likewise.
12733         (__SYSCALL_CONCAT_X): Likewise.
12734         (__SYSCALL_CONCAT): Likewise.
12735         (__SYSCALL_DIST): Likewise.
12736         (__SYSCALL_CALL): Likewise.
12738 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12740         [BZ #19363]
12741         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12743 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12745         [BZ #19375]
12746         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12747         negative subnormals.
12749 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12752         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12753         (INTERNAL_SYSCALL_NCS): Use it.
12754         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12756 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12758         [BZ #19243]
12759         * malloc/arena.c (get_free_list): Remove assert and adjust
12760         reference count handling.  Add comment about reused_arena
12761         interaction.
12762         (reused_arena): Add comments abount get_free_list interaction.
12763         * malloc/tst-malloc-thread-exit.c: New file.
12764         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12765         (tst-malloc-thread-exit): Link against libpthread.
12767 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12769         [BZ #19367]
12770         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12771         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12772         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12773         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12774         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12776 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12778         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12779         Silvermont optimizations for Knights Landing.
12781 2015-12-15  Andreas Schwab  <schwab@suse.de>
12783         [BZ #17197]
12784         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12785         immediately after emitting SI.
12786         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12787         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12788         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12789         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12790         * iconvdata/bug-iconv10.c: New file.
12791         * iconvdata/Makefile (tests): Add bug-iconv10.
12792         ($(objpfx)bug-iconv10.out): New rule.
12794 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12796         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12797         aliasing violation.
12799 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12801         [BZ #18472]
12802         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12803         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12804         conditionals for them.
12805         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12806         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12807         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12808         sys/kdaemon.h.
12809         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12810         compat-only syscall, obsoleted in glibc 2.23.
12811         (create_module): Likewise.
12812         (get_kernel_syms): Likewise.
12813         (query_module): Likewise.
12814         (uselib): Likewise.
12815         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12817 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12819         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12820         <linux/version.h>.
12821         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12822         conditional code.
12823         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12824         and ioshift_name initialization.
12826 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12828         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12829         Fix indentation.
12831 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12833         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12835 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12837         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12839 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12840             Jakub Wilk  <jwilk@debian.org>
12842         [BZ #19347]
12843         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12844         to change the group of the device to the tty group.
12846 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12848         Split large string section; add truncation advice
12849         * manual/examples/strncat.c: Remove.
12850         This example was misleading, as the code would have undefined
12851         behavior if "hello" was longer than SIZE.  Anyway, the manual
12852         shouldn't encourage strncpy+strncat for this sort of thing.
12853         * manual/string.texi (Copying Strings and Arrays): Split into
12854         three sections Copying Strings and Arrays, Concatenating Strings,
12855         and Truncating Strings, as this section was way too long.  All
12856         cross-referenced changed.  Add advice about string-truncation
12857         functions.  Remove misleading strncat example.
12859 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12861         * manual/nss.texi (NSS Modules Interface): Document
12862         NSS_STATUS_NOTFOUND and SUCCESS.
12864 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12866         [BZ 18568]
12867         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12868         201505L, for Unicode 8.
12870 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12872         * locale/C-translit.h: Regenerate.
12874 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12876         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12877         and U+0153.
12879 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12881         [BZ #19351]
12882         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12883         expanding log(1+z), compare z rather than its square with epsilon
12884         to determine when to avoid evaluating the expansion.
12886         [BZ #19350]
12887         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12888         Increase overflow threshold.
12890         [BZ #19349]
12891         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12892         when small.
12894         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12895         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12896         New macro.
12897         [__LINUX_KERNEL_VERSION >= 0x040300]
12898         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12899         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12900         Likewise.
12901         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12902         Likewise.
12903         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12904         Likewise.
12905         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12906         Likewise.
12907         [__LINUX_KERNEL_VERSION >= 0x040300]
12908         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12909         [__LINUX_KERNEL_VERSION >= 0x040300]
12910         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12911         [__LINUX_KERNEL_VERSION >= 0x040300]
12912         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12913         [__LINUX_KERNEL_VERSION >= 0x040300]
12914         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12915         [__LINUX_KERNEL_VERSION >= 0x040300]
12916         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12917         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12918         Likewise.
12919         [__LINUX_KERNEL_VERSION >= 0x040300]
12920         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12921         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12922         Likewise.
12923         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12924         Likewise.
12925         [__LINUX_KERNEL_VERSION >= 0x040300]
12926         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12927         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12928         Likewise.
12929         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12930         Likewise.
12931         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12933         Likewise.
12934         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12935         Likewise.
12936         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12937         Likewise.
12938         [__LINUX_KERNEL_VERSION >= 0x040300]
12939         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12940         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12941         Likewise.
12942         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12943         Likewise.
12944         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12945         Likewise.
12946         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12947         Likewise.
12948         [__LINUX_KERNEL_VERSION >= 0x040300]
12949         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12950         [__LINUX_KERNEL_VERSION >= 0x040300]
12951         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12952         [__LINUX_KERNEL_VERSION >= 0x040300]
12953         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12954         [__LINUX_KERNEL_VERSION >= 0x040300]
12955         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12956         [__LINUX_KERNEL_VERSION >= 0x040300]
12957         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12958         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12959         Likewise.
12960         [__LINUX_KERNEL_VERSION >= 0x040300]
12961         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12963         Likewise.
12964         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12965         Likewise.
12966         [__LINUX_KERNEL_VERSION >= 0x040300]
12967         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12969         Likewise.
12970         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12971         Likewise.
12972         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12973         (__ASSUME_SOCKET_SYSCALL): Likewise.
12974         (__ASSUME_BIND_SYSCALL): Likewise.
12975         (__ASSUME_CONNECT_SYSCALL): Likewise.
12976         (__ASSUME_LISTEN_SYSCALL): Likewise.
12977         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12978         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12979         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12980         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12981         (__ASSUME_SEND_SYSCALL): Likewise.
12982         (__ASSUME_SENDTO_SYSCALL): Likewise.
12983         (__ASSUME_RECV_SYSCALL): Likewise.
12984         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12985         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12986         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12987         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12988         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12989         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12990         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12991         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12992         Likewise.
12993         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12994         Likewise.
12995         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12996         Likewise.
12997         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12998         Likewise.
12999         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
13000         Likewise.
13001         [__LINUX_KERNEL_VERSION >= 0x020625]
13002         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13003         [__LINUX_KERNEL_VERSION >= 0x020625]
13004         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13005         [__LINUX_KERNEL_VERSION >= 0x020625]
13006         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13007         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
13008         Likewise.
13009         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
13010         Likewise.
13011         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
13012         Likewise.
13013         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
13014         Likewise.
13015         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
13016         Likewise.
13017         [__LINUX_KERNEL_VERSION >= 0x020625]
13018         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13019         [__LINUX_KERNEL_VERSION >= 0x020625]
13020         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13021         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
13022         Likewise.
13023         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
13024         Likewise.
13026 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
13028         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
13029         record the current if the current ABI and CPU support the FP64
13030         extension.
13031         (has-modd-spreg): Define to record the current if the current ABI and
13032         CPU support 32-bit floating point values in odd FPU registers.
13033         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13034         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
13035         $(has-modd-spreg) equals yes.
13036         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
13037         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
13038         $(has-modd-spreg) equal yes.
13040 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
13042         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
13043         basename.
13045 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
13047         * benchtests/Makefile (bench-math): Move ffs and ffsll...
13048         (bench-string): ... here.
13049         (bench): Add bench-string.
13050         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
13051         to *-benchset to reflect what they are.
13052         (benchset): Adjust.
13054         * benchtests/sincos-inputs: Add inputs from sin-inputs and
13055         cos-inputs.
13057 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
13059         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
13060         __attribute__ ((__simd__)) for vector math function declarations.
13062 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13064         Fix typo in strncat, wcsncat manual entries
13065         * manual/string.texi (Copying and Concatenation): Fix typos in
13066         sample implementations of strncat and wcsncat, by having them use
13067         the old value of the destination length, not the new one.
13069 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
13071         [BZ #16961]
13072         [BZ #16962]
13073         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
13074         string on the stack for strtod.
13075         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
13076         a string on the stack for strtof.
13077         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
13078         constructing a string on the stack for strtold.
13079         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
13080         __strtold_nan to GLIBC_PRIVATE.
13081         * math/test-nan-overflow.c: New file.
13082         * math/test-nan-payload.c: Likewise.
13083         * math/Makefile (tests): Add test-nan-overflow and
13084         test-nan-payload.
13086 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13088         Consistency about byte vs character in string.texi
13089         * manual/string.texi (String and Array Utilities):
13090         Distinguish more carefully among bytes, multibyte characters,
13091         and wide characters.  Use "byte" when talking about C 'char',
13092         to distinguish it more clearly from multibyte characters.
13093         Say "wide character" or "multibyte character" instead of
13094         "character", when a wide or multibyte character is intended.
13095         Similarly for "multibyte string" versus "string".
13096         Define these terms more carefully.
13098 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
13100         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
13101         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
13102         Likewise.
13103         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13104         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13105         * sysdeps/sh/math_private.h: New file.
13106         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
13107         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
13108         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
13109         long double function name.
13110         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13111         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13112         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13113         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13114         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
13116         Remove __finitel, __isinfl, and __isnanl.
13117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13118         Likewise.
13119         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13121         Remove __finitel.
13122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13123         Likewise.
13124         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13126 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
13128         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
13129         installed libmvec_nonshared.a.
13131 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13133         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
13134         (sysdep_routines): Likewise.
13135         (sysdep-rtld-routines): Likewise.
13136         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
13137         [$(subdir) = nptl](tests-static): test-get_hwcap-static
13138         * sysdeps/powerpc/Versions: Added new
13139         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
13140         * sysdeps/powerpc/hwcapinfo.c: New file.
13141         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
13142         and parse hwcap, hwcap2 and platform number information.
13143         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
13144         to store HWCAP+HWCAP2 and platform number.
13145         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
13146         for HWCAP+HWCAP2 and platform number in the TCB.
13147         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
13148         the HWCAP, HWCAP2 and platform number in the TCB.
13149         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
13150         (TLS_INIT_TP): Included calls to add the hwcap and
13151         at_platform values in the TCB in TP initialization.
13152         (TLS_DEFINE_INIT_TP): Likewise.
13153         (THREAD_GET_HWCAP): New macro.
13154         (THREAD_SET_HWCAP): Likewise.
13155         (THREAD_GET_AT_PLATFORM): Likewise.
13156         (THREAD_SET_AT_PLATFORM): Likewise.
13157         * sysdeps/powerpc/powerpc32/dl-machine.h:
13158         (dl_platform_init): New function that calls
13159         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
13160         powerpc32.
13161         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
13162         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
13163         this functionality, static linking case.
13164         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
13165         linking case.
13166         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
13167         __parse_hwcap_and_convert_at_platform for the static linking case.
13168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
13169         Included the new __parse_hwcap_and_convert_at_platform symbol in the
13170         ABI list for GLIBC 2.23.
13171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
13172         Likewise.
13173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
13174         Likewise.
13176 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
13178         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
13179         * configure: Regenerate.
13180         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
13181         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
13183 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
13185         * iconvdata/ibm930.c: Add comment explaining encoding uses.
13186         * iconvdata/ibm933.c: Likewise.
13187         * iconvdata/ibm935.c: Likewise.
13188         * iconvdata/ibm937.c: Likewise.
13189         * iconvdata/ibm939.c: Likewise.
13191 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13193         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
13194         pthread_join.
13195         * nptl/tst-cancel21.c (tf): Likewise.
13197 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
13199         [BZ #19313]
13200         * bits/typesizes.h (__CPU_MASK_TYPE): New.
13201         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13202         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13203         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
13204         Likewise.
13205         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
13206         Likewise.
13207         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
13208         Likewise.
13209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
13210         Likewise.
13211         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
13212         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
13213         unsigned long int with __CPU_MASK_TYPE.
13215 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13217         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13219 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
13221         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
13222         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
13223         t512.x.
13224         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
13226 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
13228         [BZ #19214]
13229         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
13230         argument to return extended model.  Update family and model
13231         with extended family and model when family == 0x0f.
13232         (init_cpu_features): Updated.
13234 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13236         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
13237         signed off_t, so 32bit bigger than 2GiB values are fine actually.
13239         * sysdeps/mach/hurd/mmap64.c: New file.
13241 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
13243         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
13244         rights for its main user thread in NEWTASK.
13246 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
13248         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
13249         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
13251 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
13253         [BZ #14259]
13254         * Makeconfig: Rename localedir to complocaledir.
13255         Rename inst_localedir to inst_complocaledir.
13256         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
13257         * config.make.in: Use complocaledir and libc_cv_complocaledir.
13258         * configure.ac: Use libc_cv_complocaledir.
13259         * configure: Regenerate.
13260         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
13261         -DCOMPLOCALEDIR.
13262         * locale/findlocale.c: Use COMPLOCALEDIR.
13263         * locale/loadarchive.c: Likewise.
13264         * locale/programs/locale.c: Likewise.
13265         * locale/programs/localedef.c: Likewise.
13266         * locale/programs/locarchive.c: Likewise.
13267         * localedata/Makefile: Use inst_complocaledir.
13268         * sysdeps/gnu/configure: Regenerate.
13269         * sysdeps/hppa/configure: Regenerate.
13270         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13271         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13273         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13274         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13275         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13276         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13278 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
13280         [BZ #19058]
13281         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
13282         AS_NEEDED.
13283         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
13284         workaround.
13285         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
13286         libmvec-static-only-routines): Added new file.
13287         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
13289 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13291         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13292         of interrupted RPC instead of restoring it.
13294         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13295         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13296         libc_hidden_def.
13297         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13298         into initialized data instead of common. Define rtld_hidden_data_def.
13299         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13300         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13301         libc_hidden_def.
13302         (if_freenameindex): Add libc_hidden_weak.
13303         (if_nameindex): Add libc_hidden_weak.
13304         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13305         __open64.
13306         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13307         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13308         * sysdeps/mach/nanosleep.c: Include <time.h>
13309         (__nanosleep): Rename to __libc_nanosleep.
13310         (__nanosleep): Add weak_alias.
13311         (nanosleep): Update alias.
13313 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13315         * stdlib/strtod_nan.c: New file.
13316         * stdlib/strtod_nan_double.h: Likewise.
13317         * stdlib/strtod_nan_float.h: Likewise.
13318         * stdlib/strtod_nan_main.c: Likewise.
13319         * stdlib/strtod_nan_narrow.h: Likewise.
13320         * stdlib/strtod_nan_wide.h: Likewise.
13321         * stdlib/strtof_nan.c: Likewise.
13322         * stdlib/strtold_nan.c: Likewise.
13323         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13324         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13325         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13326         * wcsmbs/wcstod_nan.c: Likewise.
13327         * wcsmbs/wcstof_nan.c: Likewise.
13328         * wcsmbs/wcstold_nan.c: Likewise.
13329         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13330         strtold_nan.
13331         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13332         wcstof_nan.
13333         * include/stdlib.h (__strtof_nan): Declare and use
13334         libc_hidden_proto.
13335         (__strtod_nan): Likewise.
13336         (__strtold_nan): Likewise.
13337         (__wcstof_nan): Likewise.
13338         (__wcstod_nan): Likewise.
13339         (__wcstold_nan): Likewise.
13340         * include/wchar.h (____wcstoull_l_internal): Declare.
13341         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13342         (____strtoull_l_internal): Remove declaration.
13343         (STRTOF_NAN): Define macro.
13344         (SET_MANTISSA): Remove macro.
13345         (STRTOULL): Likewise.
13346         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13347         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13348         (STRTOF_NAN): Define macro.
13349         (SET_MANTISSA): Remove macro.
13350         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13351         (SET_MANTISSA): Remove macro.
13352         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13353         macro.
13354         (SET_MANTISSA): Remove macro.
13355         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13356         macro.
13357         (SET_MANTISSA): Remove macro.
13358         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13359         (SET_MANTISSA): Remove macro.
13360         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13361         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13362         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13364         [BZ #19266]
13365         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13366         upper case and lower case letters inside NAN(), not using TOLOWER.
13367         * stdlib/tst-strtod-nan-locale-main.c: New file.
13368         * stdlib/tst-strtod-nan-locale.c: Likewise.
13369         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13370         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13371         Depend on $(gen-locales).
13372         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13373         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13374         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13375         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13376         Depend on $(gen-locales).
13377         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13379 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13381         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13383         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13385         __finitel, __isinfl, and __isnanl.
13386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13387         Likewise.
13388         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13390         __finitel.
13391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13392         Likewise.
13393         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13395 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13397         * malloc/memusage.c (me): Remove redundant getenv call.
13399 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13401         [BZ #19143]
13402         [BZ #19164]
13403         * nptl/check-cpuset.h: Remove.
13404         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13405         Remove CPU set size check.
13406         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13407         Likewise.
13408         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13409         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13410         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13411         (__pthread_setaffinity_new): Remove CPU set size check.
13412         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13413         (__kernel_cpumask_size): Remove.
13414         (__sched_setaffinity_new): Remove CPU set size check.
13415         * manual/threads.texi (Default Thread Attributes): Remove stale
13416         reference to check_cpuset_attr, determine_cpumask_size in comment.
13417         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13418         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13419         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13420         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13421         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13422         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13423         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13424         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13425         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13426         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13427         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13428         skeleton test file.
13429         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13430         tst-affinity-pid.
13432 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13434         * scripts/update-abilist.sh: New file.
13435         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13436         * Makerules (update-all-abi-%, update-all-abi)
13437         (subdir_update-all-abi): New targets.
13438         * elf/Makefile (update-all-abi): New target.
13440 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13442         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13443         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13444         (__libc_lock_define_initialized): Use it.
13445         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13446         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13447         * malloc/malloc.c (main_arena): Likewise.
13448         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13449         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13451 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13453         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13454         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13455         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13456         (PTRACE_O_MASK): Update value.
13457         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13458         New value in enum __ptrace_setoptions.
13459         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13460         (PTRACE_O_MASK): Update value.
13461         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13462         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13463         (PTRACE_O_MASK): Update value.
13464         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13465         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13466         (PTRACE_O_MASK): Update value.
13467         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13468         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13469         (PTRACE_O_MASK): Update value.
13470         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13471         New value in enum __ptrace_setoptions.
13472         (PTRACE_O_MASK): Update value.
13473         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13474         New value in enum __ptrace_setoptions.
13475         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13476         (PTRACE_O_MASK): Update value.
13478         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13479         New macro.
13480         (PACKET_AUXDATA): Likewise.
13481         (PACKET_ORIGDEV): Likewise.
13482         (PACKET_VERSION): Likewise.
13483         (PACKET_HDRLEN): Likewise.
13484         (PACKET_RESERVE): Likewise.
13485         (PACKET_TX_RING): Likewise.
13486         (PACKET_LOSS): Likewise.
13487         (PACKET_VNET_HDR): Likewise.
13488         (PACKET_TX_TIMESTAMP): Likewise.
13489         (PACKET_TIMESTAMP): Likewise.
13490         (PACKET_FANOUT): Likewise.
13491         (PACKET_TX_HAS_OFF): Likewise.
13492         (PACKET_QDISC_BYPASS): Likewise.
13493         (PACKET_ROLLOVER_STATS): Likewise.
13494         (PACKET_FANOUT_DATA): Likewise.
13495         (PACKET_MR_UNICAST): Likewise.
13497         [BZ #19242]
13498         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13499         (TOUPPER): Likewise.
13500         * stdlib/tst-strtol-locale-main.c: New file.
13501         * stdlib/tst-strtol-locale.c: Likewise.
13502         * stdlib/Makefile (tests): Add tst-strtol-locale.
13503         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13504         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13505         Depend on $(gen-locales).
13506         * wcsmbs/tst-wcstol-locale.c: New file.
13507         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13508         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13509         tr_TR.ISO-8859-9.
13510         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13511         Depend on $(gen-locales).
13513 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13515         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13516         __glibc_likely instead of __builtin_expect.  After falling back to
13517         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13518         system interface to register the code pages as occupied.
13520 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13522         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13523         [!ARM_MATH_PRIVATE_H].
13524         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13525         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13526         [!HPPA_MATH_PRIVATE_H].
13527         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13528         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13529         to [!I386_MATH_PRIVATE_H].
13530         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13531         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13532         Change guard to [!M68K_MATH_PRIVATE_H].
13533         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13534         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13535         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13536         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13537         macro.
13538         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13539         [!MIPS_MATH_PRIVATE_H].
13540         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13541         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13542         [!NIO2_MATH_PRIVATE_H].
13543         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13544         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13545         [!TILE_MATH_PRIVATE_H].
13546         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13548         [BZ #15421]
13549         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13550         initialize with 0 and define as weak alias of __signgam.
13551         * include/math.h [!_ISOMAC] (__signgam): Declare.
13552         * math/Makefile (libm-calls): Add w_lgamma_compat.
13553         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13554         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13555         test-signgam-ullong-init.
13556         (tests-static): Add test-signgam-uchar-static,
13557         test-signgam-uchar-init-static, test-signgam-uint-static,
13558         test-signgam-uint-init-static, test-signgam-ullong-static and
13559         test-signgam-ullong-init-static.
13560         (CFLAGS-test-signgam-uchar.c): New variable.
13561         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13562         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13563         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13564         (CFLAGS-test-signgam-uint.c): Likewise.
13565         (CFLAGS-test-signgam-uint-init.c): Likewise.
13566         (CFLAGS-test-signgam-uint-static.c): Likewise.
13567         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13568         (CFLAGS-test-signgam-ullong.c): Likewise.
13569         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13570         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13571         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13572         * math/Versions (libm): Add GLIBC_2.23.
13573         * math/lgamma-compat.h: New file.
13574         * math/test-signgam-main.c: Likewise.
13575         * math/test-signgam-uchar-init-static.c: Likewise.
13576         * math/test-signgam-uchar-init.c: Likewise.
13577         * math/test-signgam-uchar-static.c: Likewise.
13578         * math/test-signgam-uchar.c: Likewise.
13579         * math/test-signgam-uint-init-static.c: Likewise.
13580         * math/test-signgam-uint-init.c: Likewise.
13581         * math/test-signgam-uint-static.c: Likewise.
13582         * math/test-signgam-uint.c: Likewise.
13583         * math/test-signgam-ullong-init-static.c: Likewise.
13584         * math/test-signgam-ullong-init.c: Likewise.
13585         * math/test-signgam-ullong-static.c: Likewise.
13586         * math/test-signgam-ullong.c: Likewise.
13587         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13588         wrapper of w_lgamma_main.c.
13589         * math/w_lgamma_compat.c: New file.
13590         * math/w_lgamma_compatf.c: Likewise.
13591         * math/w_lgamma_compatl.c: Likewise.
13592         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13593         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13594         defining compatibility symbols.
13595         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13596         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13597         wrapper of w_lgammaf_main.c.
13598         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13599         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13600         defining compatibility symbols.
13601         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13602         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13603         wrapper of w_lgammal_main.c.
13604         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13605         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13606         defining compatibility symbols.
13607         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13608         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13609         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13610         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13611         <lgamma-compat.h>.
13612         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13613         (__ieee754_gamma): Define as alias.
13614         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13615         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13616         <lgamma-compat.h>.
13617         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13618         (__ieee754_gammaf): Define as alias.
13619         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13620         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13621         <lgamma-compat.h>.
13622         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13623         (__ieee754_gammal): Define as alias.
13624         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13625         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13626         <math/w_lgamma_compat.c>.
13627         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13628         Define as alias of __lgamma_compat and use in defining lgammal.
13629         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13630         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13631         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13632         (USE_AS_COMPAT): New macro.
13633         (LGAMMA_OLD_VER): Undefine and redefine.
13634         (lgammal): Do not define here.
13635         (gammal): Only define here if [GAMMA_ALIAS].
13636         * conform/linknamespace.pl (@whitelist): Remove signgam.
13637         * sysdeps/nacl/libm.abilist: Update.
13638         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13639         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13640         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13641         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13642         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13643         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13644         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13645         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13646         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13651         Likewise.
13652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13653         Likewise.
13654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13655         Likewise.
13656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13657         Likewise.
13658         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13659         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13660         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13661         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13662         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13664         Likewise.
13665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13666         Likewise.
13667         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13668         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13669         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13671 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13673         [BZ #16364]
13674         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13675         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13677 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13679         * sysdeps/s390/fpu/bits/mathinline.h:
13680         Use __asm__ [__volatile__] instead of asm [volatile].
13681         * sysdeps/s390/abort-instr.h: Likewise.
13682         * sysdeps/s390/atomic-machine.h: Likewise.
13683         * sysdeps/s390/bits/string.h: Likewise.
13684         * sysdeps/s390/dl-tls.h: Likewise.
13685         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13686         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13687         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13688         * sysdeps/s390/fpu/fesetround.c: Likewise.
13689         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13690         * sysdeps/s390/fpu/s_fma.c: Likewise.
13691         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13692         * sysdeps/s390/memusage.h: Likewise.
13693         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13694         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13695         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13696         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13697         * sysdeps/s390/nptl/tls.h: Likewise.
13698         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13699         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13700         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13701         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13702         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13703         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13704         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13705         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13706         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13707         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13708         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13709         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13710         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13711         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13712         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13713         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13714         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13715         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13716         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13717         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13718         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13720         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13722 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13723             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13725         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13726         Add lwarx hint, and use macro for acquire instruction.
13727         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13728         Likewise.
13729         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13730         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13731         update to use new atomic macros.
13733 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13735         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13736         (__lll_trylock_elision): Fix setting of adapt_count.
13737         * sysdeps/unix/sysv/linux/powerpc/htm.h
13738         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13739         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13740         (_ABORT_SYSCALL): Renumber, and clarify definition.
13741         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13743 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13745         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13746         after system headers to prevent MIN/MAX redefinition.  Define
13747         HAVE_ALLOCA to preserve builtin alloca usage.
13749 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13751         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13752         static and don't set or restore rounding.
13753         (__cos)[IN_SINCOS]: Likewise.
13754         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13755         (__sincos): Set and restore rounding mode.  Remove check for infinite
13756         or NaN input.
13758         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13760         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13761         as used.
13763 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13765         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13767 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13769         * config.make.in (have-glob-dat-reloc): New.
13770         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13771         target supports GLOB_DAT relocaton. AC_SUBST.
13772         * configure: Regenerated.
13773         * elf/Makefile (tests): Add tst-prelink.
13774         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13775         (tst-prelink-ENV): New.
13776         ($(objpfx)tst-prelink-conflict.out): Likewise.
13777         ($(objpfx)tst-prelink-cmp.out): Likewise.
13778         * sysdeps/x86/tst-prelink.c: Moved to ...
13779         * elf/tst-prelink.c: Here.
13780         * sysdeps/x86/tst-prelink.exp: Moved to ...
13781         * elf/tst-prelink.exp: Here.
13782         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13783         (tst-prelink-ENV): Removed.
13784         ($(objpfx)tst-prelink-conflict.out): Likewise.
13785         ($(objpfx)tst-prelink-cmp.out): Likewise.
13786         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13788 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13790         [BZ #14551]
13791         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13792         (__mpn_construct_long_double): If high part overflows to infinity,
13793         set errno and recompute overflowed result of the correct sign.
13794         * sysdeps/ieee754/ldbl-128ibm/Makefile
13795         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13796         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13797         $(libm).
13798         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13800 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13802         [BZ #15479]
13803         [BZ #19238]
13804         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13805         floating-point state after first operation on input.  Restore full
13806         state rather than just rounding mode.
13807         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13808         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13809         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13811         [BZ #19235]
13812         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13813         add 0.5 to integer arguments.
13814         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13815         Likewise.
13816         (.LC2): New object.
13818 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13820         * scripts/pylintrc (reports): Set to no.
13822 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13824         * elf/dl-load.c (open_verify): Take new argument FD.
13825         Skip __open call if passed FD is not -1.
13826         (_dl_map_object, open_path): Update callers.
13827         * elf/dl-sysdep-open.h: New file.
13828         * elf/dl-load.c: Include it.
13829         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13830         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13831         * sysdeps/nacl/dl-sysdep-open.h: New file.
13832         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13833         from libc to rtld.
13835 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13837         [BZ #19228]
13838         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13839         and restore full floating-point state.
13840         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13841         Likewise.
13842         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13843         Likewise.
13844         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13845         Likewise.
13846         * math/test-nearbyint-except-2.c: New file.
13847         * math/Makefile (tests): Add test-nearbyint-except-2.
13849 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13851         [BZ #19178]
13852         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13853         (tst-prelink-ENV): New.
13854         ($(objpfx)tst-prelink-conflict.out): Likewise.
13855         ($(objpfx)tst-prelink-cmp.out): Likewise.
13856         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13857         * sysdeps/x86/tst-prelink.c: New file.
13858         * sysdeps/x86/tst-prelink.exp: Likewise.
13860 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13862         * math/auto-libm-test-in: Add another test of pow.
13863         * math/auto-libm-test-out: Regenerated.
13864         * math/libm-test.inc (pow_test_data): Add another test.
13866 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13868         [BZ #19219]
13869         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13870         weak_alias to nearbyintl.
13872 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13874         * sysdeps/aarch64/bits/string.h: New file.
13875         (_STRING_ARCH_unaligned): Define.
13877 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13879         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13880         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13881         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13882         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13885 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13887         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13888         for original name of the DSO.  Add it to the name list of the DSO
13889         if it is actually given.
13890         (_dl_map_object): Keep track of whether an audit module rewrote
13891         the file name.  If yes, pass the original name to
13892         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13893         debugging is enabled, log the change of the file name.
13894         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13895         _dl_map_object_from_fd.
13896         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13897         * elf/tst-audit11.c: New file
13898         * elf/tst-auditmod11.c: New file.
13899         * elf/tst-audit11mod1.c: New file.
13900         * elf/tst-audit11mod2.c: New file.
13901         * elf/tst-audit11mod2.map: New file.
13902         * elf/tst-audit12.c: New file
13903         * elf/tst-auditmod12.c: New file.
13904         * elf/tst-audit12mod1.c: New file.
13905         * elf/tst-audit12mod2.c: New file.
13906         * elf/tst-audit12mod2.map: New file.
13907         * elf/tst-audit12mod3.c: New file.
13909 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13911         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13912         Don't create weak aliases,
13913         because versioned symbols are created later.
13914         * sysdeps/s390/s390-32/setjmp.S
13915         (setjmp, _setjmp): Remove weak and rename to an unique name
13916         in SHARED case due to existing versioned symbols.
13917         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13918         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13919         (getcontext): Create weak alias only in non SHARED case.
13920         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13922 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13924         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13925         (__ASSUME_*_SYSCALL) Define new macros.
13926         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13927         Remove socketcall syscalls.
13928         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13929         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13930         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13931         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13932         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13933         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13935 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13937         [BZ #12926]
13938         Terminate process on invalid netlink response.
13939         * sysdeps/unix/sysv/linux/netlinkaccess.h
13940         (__netlink_assert_response): Declare.
13941         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13942         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13943         (sysdep_routines): Add netlink_assert_response.
13944         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13945         __netlink_assert_response.
13946         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13947         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13948         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13949         __netlink_assert_response.
13951 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13953         [BZ #19178]
13954         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13955         (RTYPE_CLASS_PLT): Likewise.
13956         (RTYPE_CLASS_COPY): Likewise.
13957         (RTYPE_CLASS_TLS): Likewise.
13958         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13959         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13960         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13961         DL_DEBUG_PRELINK.
13963 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13965         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13966         calls with argument -0.5.
13967         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13969         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13970         (libc_cv_z_nodlopen): Likewise.
13971         (libc_cv_z_initfirst): Likewise.
13972         * configure: Regenerated.
13974 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13976         Simplify abilist format to be line-based.
13977         * scripts/abilist.awk: Collect descriptors in the descs variable.
13978         (emit): Write descs variable and sort it
13979         externally, with sort.
13980         * sysdeps/**/*.abilist: Convert to new format.
13982 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13984         [BZ #11460]
13985         * io/Makefile (routines): Add fts64.
13986         (tests): Add tst-fts and tst-fts-lfs.
13987         (CFLAGS-fts64.c): New.
13988         * io/Versions (GLIBC_2.23): New.
13989         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13990         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13991         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13992         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13993         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13994         (FTSENT64): Likewise.
13995         (fts64_children): Likewise.
13996         (fts64_close): Likewise.
13997         (fts64_open): Likewise.
13998         (fts64_read): Likewise.
13999         (fts64_set): Likewise.
14000         * io/fts64.c: New file.
14001         * io/tst-fts.c: New test.
14002         * io/tst-fts-lfs.c: Likewise.
14003         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
14004         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
14005         fts64_set.
14006         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14007         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14008         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14009         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14010         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14011         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14012         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14013         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14014         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14015         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14016         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14017         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14018         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14020         Likewise.
14021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14022         Likewise.
14023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14025         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14026         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14027         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14028         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14029         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14032         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14033         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14034         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14035         * sysdeps/wordsize-64/fts.c: New file.
14036         * sysdeps/wordsize-64/fts64.c: Likewise.
14037         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
14038         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
14039         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
14040         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
14042 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
14044         * math/libm-test.inc (NON_FINITE): New macro.
14045         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
14046         * math/gen-libm-test.pl (show_exceptions): Add argument
14047         $non_finite.
14048         (parse_args): Update call to show_exceptions.
14049         * math/test-math-finite.h: New file.
14050         * math/test-math-no-finite.h: Likewise.
14051         * math/test-double-finite.c: Likewise.
14052         * math/test-float-finite.c: Likewise.
14053         * math/test-ldouble-finite.c: Likewise.
14054         * math/test-double.c: Include "test-math-no-finite.h".
14055         * math/test-float.c: Include "test-math-no-finite.h".
14056         * math/test-ldouble.c: Include "test-math-no-finite.h".
14057         * math/test-math-inline.h (TEST_FINITE): New macro.
14058         * math/test-math-vector.h (TEST_FINITE): Likewise.
14059         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
14060         (libm-tests): Add test-float-finite and test-double-finite.
14061         ($(objpfx)test-float-finite.o): New dependency on
14062         $(objpfx)libm-test.stmp.
14063         ($(objpfx)test-double-finite.o): Likewise.
14064         ($(objpfx)test-ldouble-finite.o): Likewise.
14065         (libm-test-no-inline-cflags): New variable.
14066         (libm-test-finite-cflags): Likewise.
14067         (CFLAGS-test-float-finite.c): Likewise.
14068         (CFLAGS-test-double-finite.c): Likewise.
14069         (CFLAGS-test-ldouble-finite.c): Likewise.
14070         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
14071         (CFLAGS-test-double.c): Likewise.
14072         (CFLAGS-test-ldouble.c): Likewise.
14074 2015-11-05  Roland McGrath  <roland@hack.frob.com>
14076         * io/fcntl.c (__fcntl): Add ... to prototype.
14077         * misc/ioctl.c (__ioctl): Likewise.
14078         * misc/syscall.c (syscall): Likewise.
14080 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
14082         * scripts/list-fixed-bugs.py: New file.
14084         [BZ #19213]
14085         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
14086         returned for argument 1.
14087         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
14088         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
14089         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
14090         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
14091         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
14092         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
14094         [BZ #19211]
14095         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
14096         __USE_XOPEN], not if [!__USE_ISOC99].
14097         (lgammaf): Likewise.
14098         (lgammal): Likewise.
14099         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
14100         (gammaf): Likewise.
14101         (gammal): Likewise.
14102         * math/test-signgam-finite-c11.c: New file.
14103         * math/test-signgam-finite-c99.c: Likewise.
14104         * math/test-signgam-finite.c: Likewise.
14105         * math/Makefile (tests): Add test-signgam-finite,
14106         test-signgam-finite-c99 and test-signgam-finite-c11.
14107         (CFLAGS-test-signgam-finite.c): New variable.
14108         (CFLAGS-test-signgam-finite-c99.c): Likewise.
14109         (CFLAGS-test-signgam-finite-c11.c): Likewise.
14111         [BZ #19212]
14112         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
14113         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
14114         500].
14115         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
14116         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
14117         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
14118         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
14119         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
14120         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
14121         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
14122         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
14123         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
14124         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
14126         [BZ #19209]
14127         * math/bits/math-finite.h (ldexp): Remove declaration.
14128         (ldexpf): Likewise.
14129         (ldexpl): Likewise.
14131         [BZ #19205]
14132         * math/bits/math-finite.h (acosf): Condition declaration on
14133         [__USE_ISOC99].
14134         (acosl): Likewise.
14135         (acoshf): Likewise.
14136         (acoshl): Likewise.
14137         (asinf): Likewise.
14138         (asinl): Likewise.
14139         (atan2f): Likewise.
14140         (atan2l): Likewise.
14141         (atanhf): Likewise.
14142         (atanhl): Likewise.
14143         (coshf): Likewise.
14144         (coshl): Likewise.
14145         (expf): Likewise.
14146         (expl): Likewise.
14147         (fmodf): Likewise.
14148         (fmodl): Likewise.
14149         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
14150         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
14151         (j0l): Likewise.
14152         (y0f): Likewise.
14153         (y0l): Likewise.
14154         (j1f): Likewise.
14155         (j1l): Likewise.
14156         (y1f): Likewise.
14157         (y1l): Likewise.
14158         (jnf): Likewise.
14159         (jnl): Likewise.
14160         (ynf): Likewise.
14161         (ynl): Likewise.
14162         (lgammaf_r): Condition declaration on [__USE_ISOC99].
14163         (lgammal_r): Likewise.
14164         (__lgamma_r_finite): New declaration.
14165         (__lgammaf_r_finite): Likewise.
14166         (__lgammal_r_finite): Likewise.
14167         (lgamma): Use __lgamma_r_finite.
14168         (lgammaf): Condition definition on [__USE_ISOC99].  Use
14169         __lgammaf_r_finite.
14170         (lgammal): Condition definition on [__USE_ISOC99].  Use
14171         __lgammal_r_finite.
14172         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
14173         __lgamma_r_finite.
14174         (gammaf): Condition definition on [__USE_ISOC99].  Use
14175         __lgammaf_r_finite.
14176         (gammal): Condition definition on [__USE_ISOC99].  Use
14177         __lgammal_r_finite.
14178         (logf): Condition declaration on [__USE_ISOC99].
14179         (logl): Likewise.
14180         (log10f): Likewise.
14181         (log10l): Likewise.
14182         (ldexpf): Likewise.
14183         (ldexpl): Likewise.
14184         (powf): Likewise.
14185         (powl): Likewise.
14186         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
14187         __USE_ISOC99].
14188         (remainderf): Condition declaration on [__USE_ISOC99].
14189         (remainderl): Likewise.
14190         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
14191         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
14192         (scalbl): Likewise.
14193         (sinhf): Condition declaration on [__USE_ISOC99].
14194         (sinhl): Likewise.
14195         (sqrtf): Likewise.
14196         (sqrtl): Likewise.
14198 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14200         * sysdeps/arm/atomic-machine.h
14201         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14202         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14203         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
14204         Remove conditional code.
14205         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14206         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14207         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
14208         Change conditional to [__ASSEMBLER__].
14209         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14210         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
14211         [!__ASSEMBLER__].
14212         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
14213         code.
14214         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
14215         conditional macro definitions.
14216         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
14217         (__arch_compare_and_exchange_val_16_acq): Likewise.
14218         (__arch_compare_and_exchange_val_32_acq): Likewise.
14219         (atomic_exchange_and_add): Likewise.
14220         (atomic_add): Likewise.
14221         (atomic_add_negative): Likewise.
14222         (atomic_add_zero): Likewise.
14223         (atomic_bit_set): Likewise.
14224         (atomic_bit_test_set): Likewise.
14225         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
14226         code unconditional.
14227         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14229         * math/test-math-errno.h: New file.
14230         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
14231         empty.
14232         (TEST_ERRNO): New macro.
14233         (TEST_EXCEPTIONS): Likewise.
14234         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
14235         (TEST_EXCEPTIONS): Likewise.
14236         * math/test-math-vector.h (TEST_ERRNO): Likewise.
14237         * math/test-double.c: Include "test-math-errno.h".
14238         * math/test-float.c: Likewise.
14239         * math/test-ldouble.c: Likewise.
14240         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
14241         code unconditional.
14242         (test_exceptions): Only run code if TEST_EXCEPTIONS.
14243         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
14244         unconditional.
14245         (test_errno): Only run code if TEST_ERRNO.
14246         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
14248 2015-11-04  Florian Weimer  <fweimer@redhat.com>
14250         * nptl/tst-once5.cc: Remove attribution.
14252 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14254         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
14255         sqrt, tan, tanh, y0, y1 and yn.
14256         * math/auto-libm-test-out: Regenerated.
14257         * math/libm-test.inc (scalb_test_data): Add more tests.
14258         (scalbn_test_data): Likewise.
14259         (scalbln_test_data): Likewise.
14260         (signbit_test_data): Likewise.
14261         (sin_test_data): Likewise.
14262         (sincos_test_data): Likewise.
14263         (sinh_test_data): Likewise.
14264         (sqrt_test_data): Likewise.
14265         (tan_test_data): Likewise.
14266         (tanh_test_data): Likewise.
14267         (tgamma_test_data): Likewise.
14268         (y0_test_data): Likewise.
14269         (y1_test_data): Likewise.
14270         (yn_test_data): Likewise.
14271         (significand_test_data): Likewise.
14272         * sysdeps/i386/fpu/libm-test-ulps: Update.
14274 2015-11-03  David Kastrup  <dak@gnu.org>
14276         [BZ #18604]
14277         * assert/assert.h (assert): Don't macro-expand failed assertion
14278         expression in error message.
14279         * malloc/malloc.c (assert): Likewise.
14281 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
14283         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
14284         test.
14285         * configure: Regenerated.
14287 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
14289         * math/libm-test.inc (modf_test_data): Add more tests.
14290         (nearbyint_test_data): Likewise.
14291         (nextafter_test_data): Likewise.
14292         (nexttoward_test_data): Likewise.
14293         (pow_test_data): Likewise.
14294         (remainder_test_data): Likewise.
14295         (remquo_test_data): Likewise.
14296         (rint_test_data): Likewise.
14298         [BZ #19201]
14299         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14300         Check for zero remainder in case of large exponents and ensure
14301         correct sign of result in that case.
14302         * math/libm-test.inc (remainder_test_data): Add more tests.
14304         [BZ #6799]
14305         * math/s_nextafter.c: Include <errno.h>.
14306         (__nextafter): Set errno on overflow and underflow.
14307         * math/s_nexttowardf.c: Include <errno.h>.
14308         (__nexttowardf): Set errno on overflow and underflow.
14309         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14310         (__nextafterl): Set errno on overflow and underflow.
14311         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14312         (__nexttoward): Set errno on overflow and underflow.
14313         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14314         (__nexttowardf): Set errno on overflow and underflow.
14315         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14316         (__nextafterf): Set errno on overflow and underflow.
14317         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14318         (__nextafterl): Set errno on overflow and underflow.
14319         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14320         (__nexttoward): Set errno on overflow and underflow.
14321         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14322         (__nexttowardf): Set errno on overflow and underflow.
14323         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14324         (__nextafterl): Set errno on overflow and underflow.
14325         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14326         (__nexttoward): Set errno on overflow and underflow.
14327         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14328         (__nexttowardf): Set errno on overflow and underflow.
14329         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14330         (__nexttoward): Set errno on overflow and underflow.
14331         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14332         (__nexttowardf): Set errno on overflow and underflow.
14333         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14334         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14335         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14336         (__nextafterl): Set errno on overflow and underflow.
14337         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14338         setting to be missing on overflow.  Add more tests.
14339         (nexttoward_test_data): Likewise.
14341         * configure.ac (libc_cv_initfini_array): Remove configure test.
14342         * configure: Regenerated.
14344 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14346         [BZ #19189]
14347         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14348         non-finite argument handle arguments with negative sign.
14350         * math/libm-test.inc (j0_test_data): Do not test sign of zero
14351         result from infinite argument.
14352         (j1_test_data): Likewise.
14353         (jn_test_data): Likewise.
14354         (y0_test_data): Likewise.
14355         (y1_test_data): Likewise.
14356         (yn_test_data): Likewise.
14358         [BZ #16171]
14359         * math/w_remainder.c (drem): Define as weak alias of __remainder.
14360         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14361         * math/w_remainderf.c (dremf): Define as weak alias of
14362         __remainderf.
14363         * math/w_remainderl.c (dreml): Define as weak alias of
14364         __remainderl.
14365         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14366         __remainder.
14367         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14368         __remainderf.
14369         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14370         __remainderl.
14371         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14372         weak alias of remainderl.
14373         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14374         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14375         alias of __remainder.
14376         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14377         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14378         strong alias of __remainderl.
14379         (dreml): Use long_double_symbol.
14380         * math/Makefile (libm-calls): Remove w_drem.
14381         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14382         (CFLAGS-nldbl-drem.c): Remove variable.
14383         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14384         * math/w_drem.c: Remove file.
14385         * math/w_dremf.c: Likewise.
14386         * math/w_dreml.c: Likewise.
14387         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14388         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14389         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14391         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14392         * sysdeps/i386/configure: Regenerated.
14393         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14394         * sysdeps/x86_64/configure: Regenerated.
14396         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14397         test.
14398         (libc_cv_visibility_attribute): Likewise.
14399         (libc_cv_protected_data): Test unconditionally.
14400         (libc_cv_broken_visibility_attribute): Remove configure test.
14401         (libc_cv_have_sdata_section): Test unconditionally.
14402         * configure: Regenerated.
14404         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14405         * include/scratch_buffer.h: Include <stddef.h> instead of
14406         <libc-internal.h>.
14407         (struct scratch_buffer): Use max_align_t instead of
14408         libc_max_align_t.
14410 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14412         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14413         instead of extend_alloca.  Change control flow to avoid a goto.
14414         Remove assert which is trivially always true.
14416 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14418         [BZ #16068]
14419         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14420         (FE_ALL_EXCEPT_X86): New macro.
14421         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14422         FE_ALL_EXCEPT.  Ensure precision control is included in
14423         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14424         handle "denormal operand exception" and clear FZ and DAZ bits.
14425         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14426         (FE_ALL_EXCEPT_X86): New macro.
14427         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14428         FE_ALL_EXCEPT.  Ensure precision control is included in
14429         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14430         handle "denormal operand exception" and clear FZ and DAZ bits.
14431         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14432         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14433         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14434         test-fenv-x87 and test-fenv-sse-2.
14435         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14437         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14438         * math/test-double.h (BUILD_COMPLEX): New macro.
14439         * math/test-float.h (BUILD_COMPLEX): Likewise.
14440         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14442         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14443         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14444         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14446         instead of DBL_DENORM_MIN in comment.
14447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14448         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14449         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14450         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14452         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14454 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14456         [BZ# 19048]
14457         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14458         attached_threads member.
14459         (main_arena): Initialize attached_threads.
14460         * malloc/arena.c (list_lock): Update comment.
14461         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14462         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14463         (deattach_arena): New function.
14464         (_int_new_arena): Initialize arena reference count and deattach
14465         replaced arena.
14466         (get_free_list, reused_arena): Update reference count and deattach
14467         replaced arena.
14468         (arena_thread_freeres): Update arena reference count and only put
14469         unreferenced arenas on the free list.
14471 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14473         [BZ #19181]
14474         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14475         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14476         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14477         * math/test-fenv-clear-main.c: New file.
14478         * math/test-fenv-clear.c: Likewise.
14479         * math/Makefile (tests): Add test-fenv-clear.
14480         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14481         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14482         test-fenv-clear-sse.
14483         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14485         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14486         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14487         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14489 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14491         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14492         static libc.
14494 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14496         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14497         test.
14498         * sysdeps/i386/configure: Regenerated.
14499         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14500         test.
14501         * sysdeps/x86_64/configure: Regenerated.
14502         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14504         memset-avx2 unconditionally instead of conditionally on
14505         [$(config-cflags-avx2) = yes].
14506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14507         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14508         unconditional.
14509         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14510         * sysdeps/x86_64/multiarch/memset_chk.S
14511         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14512         to [IS_IN (libc) && SHARED].
14514 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14516         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14517         configure test.
14518         * sysdeps/arm/configure: Regenerated.
14519         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14520         Define variable if not already defined.
14522         [BZ #17404]
14523         * sysdeps/mips/atomic-machine.h
14524         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14525         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14526         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14528         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14529         unconditional.
14530         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14531         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14532         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14533         unconditional.
14534         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14535         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14536         unconditional.
14537         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14538         * stdlib/setenv.c
14539         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14540         code unconditional.
14541         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14542         Remove conditional code.
14543         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14544         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14545         unconditional.
14546         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14547         code.
14548         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14549         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14550         unconditional.
14551         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14552         code.
14553         * sysdeps/ieee754/ldbl-128/k_tanl.c
14554         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14555         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14556         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14557         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14558         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14559         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14560         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14561         unconditional.
14562         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14563         code.
14564         * sysdeps/ieee754/ldbl-96/k_tanl.c
14565         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14566         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14568         * nptl/tst-initializers1-c11.c: New file.
14569         * nptl/tst-initializers1-gnu11.c: Likewise.
14570         * nptl/Makefile (tests): Add these new tests.
14571         (CFLAGS-tst-initializers1-c11.c): New variable.
14572         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14574         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14575         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14576         instead of -std=gnu99.
14577         * configure.ac (systemtap): Test with -std=gnu11 instead of
14578         -std=gnu99.
14579         * configure: Regenerated.
14580         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14581         in compilation command in comment.
14583         * sysdeps/nptl/configure.ac: Remove file.
14584         * sysdeps/nptl/configure: Remove generated file.
14585         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14586         * configure: Regenerated.
14587         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14588         * config.make.in (have-forced-unwind): Remove variable.
14589         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14590         unconditional.
14591         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14592         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14593         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14594         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14595         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14596         unconditional.
14598 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14600         [BZ #19174]
14601         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14602         .skip_lock_out_of_tbegin_retries.
14603         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14604         (__lll_lock_elision): Likewise, and respect a value of
14605         try_tbegin <= 0.
14607 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14609         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14610         statement.
14612 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14614         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14615         variable.
14616         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14617         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14619         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14620         of -std=c1x -D_ISOC11_SOURCE.
14622         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14623         * configure: Regenerated.
14624         * manual/install.texi (Tools for Compilation): Document
14625         requirement for GCC 4.7 or later.
14626         * INSTALL: Regenerated.
14628 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14630         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14631         on CNT to a conditional jump to 'puntdata'.
14633 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14635         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14636         (libc_cv_gcc_tls_model_attr): Likewise.
14637         * configure: Regenerated.
14639         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14640         * configure: Regenerated.
14641         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14643 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14645         * configure.ac (old_glibc_headers): Remove configure test.
14646         * configure: Regenerated.
14647         * config.make.in (old-glibc-headers): Remove variable.
14648         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14649         (install): Remove dependency on remove-old-headers.
14650         (headers2_0): Remove variable.
14651         (remove-old-headers): Remove rule.
14653         * configure.ac (libc_cv_dot_text): Remove configure test.
14654         (libc_cv_asm_set_directive): Use .text instead of
14655         ${libc_cv_dot_text} in configure test.
14656         * configure: Regenerated.
14658 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14660         [BZ #19168]
14661         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14663 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14665         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14666         not support static linking.
14667         * configure: Regenerate.
14669 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14671         * math/libm-test.inc (check_float_internal): Do not special-case
14672         errors up to 0.5 ulp.
14674         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14675         log2.
14676         * math/auto-libm-test-out: Regenerated.
14677         * math/libm-test.inc (MAX_EXP): New macro.
14678         (ilogb_test_data): Add more tests.
14679         (isfinite_test_data): Likewise.
14680         (isgreater_test_data): Likewise.
14681         (isgreaterequal_test_data): Likewise.
14682         (isinf_test_data): Likewise.
14683         (isless_test_data): Likewise.
14684         (islessequal_test_data): Likewise.
14685         (islessgreater_test_data): Likewise.
14686         (isnan_test_data): Likewise.
14687         (isnormal_test_data): Likewise.
14688         (issignaling_test_data): Likewise.
14689         (isunordered_test_data): Likewise.
14690         (j0_test_data): Likewise.
14691         (j1_test_data): Likewise.
14692         (jn_test_data): Likewise.
14693         (lgamma_test_data): Likewise.
14694         (log_test_data): Likewise.
14695         (log10_test_data): Likewise.
14696         (log1p_test_data): Likewise.
14697         (log2_test_data): Likewise.
14698         (logb_test_data): Likewise.
14699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14701         [BZ #18611]
14702         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14703         avoid excess range and precision on underflow.
14704         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14705         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14706         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14707         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14708         underflow.
14709         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14711         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14712         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14713         * math/auto-libm-test-in: Do not allow missing errno setting for
14714         tests of j1 and jn.
14715         * math/auto-libm-test-out: Regenerated.
14717 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14719         [BZ #15491]
14720         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14721         floating-point environment instead of clearing all exceptions.
14722         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14723         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14724         merging in "invalid" exceptions from frndint.
14725         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14726         * math/test-nearbyint-except.c: New file.
14727         * math/Makefile (tests): Add test-nearbyint-except.
14729 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14731         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14733         * sysdeps/tile/libm-test-ulps: Regenerated.
14735 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14738         (__NR_sync_file_range2): Assume it is always defined.
14739         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14740         (__NR_sync_file_range): Assume it is always defined.
14742 2015-10-22  Andreas Schwab  <schwab@suse.de>
14744         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14745         INTERNAL_SYSCALL_ERRNO.
14746         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14747         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14748         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14749         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14750         Likewise.
14751         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14753 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14755         * io/tst-fcntl.c (fd): New static variable.
14756         (do_prepare): Open temporary file here....
14757         (do_test): ...not here.
14759         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14761 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14763         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14764         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14765         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14766         Moved before "#ifdef __ASSEMBLER__".
14768 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14770         [BZ #19156]
14771         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14772         arguments very close to 0.
14774 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14776         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14777         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14779 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14781         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14782         New.  Defined for GCC 5 and above when not compiling for
14783         profiling.
14784         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14786         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14787         Renamed to ...
14788         (CFLAGS-epoll_pwait.o): This.
14789         (CFLAGS-mmap.c): Renamed to ...
14790         (CFLAGS-mmap.o): This.
14791         (CFLAGS-mmap64.c): Renamed to ...
14792         (CFLAGS-mmap64.o): This.
14793         (CFLAGS-epoll_pwait.os): New.
14794         (CFLAGS-mmap.os): Likewise.
14795         (CFLAGS-mmap64.os): Likewise.
14796         (CFLAGS-semtimedop.os): Likewise.
14797         (CFLAGS-semtimedop.c): Renamed to ...
14798         (CFLAGS-semtimedop.o): This.
14800 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14802         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14803         warning message.
14805 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14807         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14808         * Makefile ($(objpfx)c++-types-check.out): Filter out
14809         $(+gccwarn-c) instead of -Wstrict-prototypes.
14811         * io/fts.c (fts_open): Convert to prototype-style function
14812         definition.
14813         * malloc/mcheck.c (mcheck): Likewise.
14814         (mcheck_pedantic): Likewise.
14815         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14816         internal_function.
14817         (re_search_internal): Likewise.
14818         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14819         prototype-style function definition.
14820         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14821         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14822         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14823         (xdr_utmpptr): Likewise.
14824         (xdr_utmparr): Likewise.
14825         (xdr_utmpidle): Likewise.
14826         (xdr_utmpidleptr): Likewise.
14827         (xdr_utmpidlearr): Likewise.
14829         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14830         log, log10 and log2.
14831         * math/auto-libm-test-out: Regenerated.
14832         * math/libm-test.inc (fmod_test_data): Add more tests.
14833         (fpclassify_test_data): Likewise.
14834         (frexp_test_data): Likewise.
14835         (hypot_test_data): Likewise.
14836         (ilogb_test_data): Likewise.
14838 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14840         * debug/fortify_fail.c (__fortify_fail): Convert to
14841         prototype-style function definition.  Use internal_function.
14842         * libio/genops.c (save_for_backup): Convert to prototype-style
14843         function definition.
14844         * libio/wgenops.c (save_for_wbackup): Likewise.
14845         * login/grantpt.c (grantpt): Likewise.
14846         * login/ptsname.c (ptsname): Likewise.
14847         (__ptsname_r): Likewise.
14848         * login/unlockpt.c (unlockpt): Likewise.
14849         * mach/msgserver.c (__mach_msg_server): Likewise.
14850         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14851         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14852         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14853         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14854         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14855         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14856         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14857         Likewise.
14858         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14859         internal_function.
14860         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14861         prototype-style function definition.
14862         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14863         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14864         (__pthread_create_2_0): Likewise.
14865         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14866         * nptl/register-atfork.c (__register_atfork): Likewise.
14867         * posix/glob.c (glob): Likewise.
14868         * posix/regcomp.c (re_comp): Likewise.
14869         * posix/regexec.c (re_exec): Likewise.
14870         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14871         [!__STDC__]: Remove conditional code.
14872         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14873         [!__STDC__]: Remove conditional code.
14874         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14875         [!__STDC__]: Remove conditional code.
14876         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14877         [!__STDC__]: Remove conditional code.
14878         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14879         [!__STDC__]: Remove conditional code.
14880         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14881         [!__STDC__]: Remove conditional code.
14882         * stdlib/mul.c [__STDC__]: Make code unconditional.
14883         [!__STDC__]: Remove conditional code.
14884         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14885         [!__STDC__]: Remove conditional code.
14886         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14887         [!__STDC__]: Remove conditional code.
14888         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14889         function definition.
14890         (STRTOF): Likewise.
14891         * stdlib/strtod_l.c (__STRTOF): Likewise.
14892         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14893         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14894         (__strtol_l): Likewise.
14895         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14896         [!__STDC__]: Remove conditional code.
14897         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14898         definition.
14899         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14900         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14901         type.
14902         (__strcasecmp): Convert to prototype-style function definition.
14903         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14904         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14905         type.
14906         (__strncasecmp): Convert to prototype-style function definition.
14907         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14908         * sunrpc/xdr.c (xdr_union): Likewise.
14909         * sunrpc/xdr_array.c (xdr_array): Likewise.
14910         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14911         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14912         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14913         Likewise.
14914         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14915         Likewise.
14916         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14917         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14918         Likewise.
14919         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14920         (LOCALE_PARAM_PROTO): Likewise.
14921         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14922         argument type.
14923         (ut_argument_spec): Remove macro.
14924         (ut_argument_spec_iso): Rename to ut_argument_spec.
14925         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14926         prototype-style function definition.
14927         (memcpy_uppcase): Likewise.
14928         (__strftime_internal): Likewise.
14929         (my_strftime): Likewise.
14930         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14931         (LOCALE_PARAM_DECL): Likewise.
14932         [_LIBC] (LOCALE_PARAM): Include argument type.
14933         (__strptime_internal): Convert to prototype-style function
14934         definition.
14935         (strptime): Likewise.
14936         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14937         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14938         type.
14939         (__wcscasecmp): Convert to prototype-style function definition.
14940         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14941         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14942         type.
14943         (__wcsncasecmp): Convert to prototype-style function definition.
14945         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14946         function definition.
14947         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14948         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14949         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14950         * elf/dl-minimal.c (_itoa): Likewise.
14951         * hurd/hurdmalloc.c (malloc): Likewise.
14952         (free): Likewise.
14953         (realloc): Likewise.
14954         * inet/inet6_option.c (inet6_option_space): Likewise.
14955         (inet6_option_init): Likewise.
14956         (inet6_option_append): Likewise.
14957         (inet6_option_alloc): Likewise.
14958         (inet6_option_next): Likewise.
14959         (inet6_option_find): Likewise.
14960         * io/ftw.c (FTW_NAME): Likewise.
14961         (NFTW_NAME): Likewise.
14962         (NFTW_NEW_NAME): Likewise.
14963         (NFTW_OLD_NAME): Likewise.
14964         * libio/iofwide.c (_IO_fwide): Likewise.
14965         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14966         (_IO_str_init_static): Likewise.
14967         (_IO_str_init_readonly): Likewise.
14968         (_IO_str_overflow): Likewise.
14969         (_IO_str_underflow): Likewise.
14970         (_IO_str_count): Likewise.
14971         (_IO_str_seekoff): Likewise.
14972         (_IO_str_pbackfail): Likewise.
14973         (_IO_str_finish): Likewise.
14974         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14975         (_IO_wstr_overflow): Likewise.
14976         (_IO_wstr_underflow): Likewise.
14977         (_IO_wstr_count): Likewise.
14978         (_IO_wstr_seekoff): Likewise.
14979         (_IO_wstr_pbackfail): Likewise.
14980         (_IO_wstr_finish): Likewise.
14981         * locale/programs/localedef.c (normalize_codeset): Likewise.
14982         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14983         (add_locales_to_archive): Likewise.
14984         (delete_locales_from_archive): Likewise.
14985         * malloc/malloc.c (__libc_mallinfo): Likewise.
14986         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14987         * misc/tsearch.c (__tfind): Likewise.
14988         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14989         * nptl/pthread_attr_getdetachstate.c
14990         (__pthread_attr_getdetachstate): Likewise.
14991         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14992         Likewise.
14993         * nptl/pthread_attr_getinheritsched.c
14994         (__pthread_attr_getinheritsched): Likewise.
14995         * nptl/pthread_attr_getschedparam.c
14996         (__pthread_attr_getschedparam): Likewise.
14997         * nptl/pthread_attr_getschedpolicy.c
14998         (__pthread_attr_getschedpolicy): Likewise.
14999         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
15000         Likewise.
15001         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
15002         Likewise.
15003         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
15004         Likewise.
15005         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
15006         Likewise.
15007         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
15008         (__pthread_attr_init_2_0): Likewise.
15009         * nptl/pthread_attr_setdetachstate.c
15010         (__pthread_attr_setdetachstate): Likewise.
15011         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
15012         Likewise.
15013         * nptl/pthread_attr_setinheritsched.c
15014         (__pthread_attr_setinheritsched): Likewise.
15015         * nptl/pthread_attr_setschedparam.c
15016         (__pthread_attr_setschedparam): Likewise.
15017         * nptl/pthread_attr_setschedpolicy.c
15018         (__pthread_attr_setschedpolicy): Likewise.
15019         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
15020         Likewise.
15021         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
15022         Likewise.
15023         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
15024         Likewise.
15025         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
15026         Likewise.
15027         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
15028         Likewise.
15029         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
15030         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15031         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
15032         use internal_function.
15033         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
15034         prototype-style function definition.
15035         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
15036         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
15037         internal_function.
15038         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
15039         Convert to prototype-style function definition.
15040         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15041         Likewise.
15042         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
15043         Likewise.
15044         (__pthread_mutex_unlock): Likewise.
15045         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
15046         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
15047         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
15048         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
15049         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
15050         * nss/makedb.c (process_input): Likewise.
15051         * posix/fnmatch.c (__strchrnul): Likewise.
15052         (__wcschrnul): Likewise.
15053         (fnmatch): Likewise.
15054         * posix/fnmatch_loop.c (FCT): Likewise.
15055         * posix/glob.c (globfree): Likewise.
15056         (__glob_pattern_type): Likewise.
15057         (__glob_pattern_p): Likewise.
15058         * posix/regcomp.c (re_compile_pattern): Likewise.
15059         (re_set_syntax): Likewise.
15060         (re_compile_fastmap): Likewise.
15061         (regcomp): Likewise.
15062         (regerror): Likewise.
15063         (regfree): Likewise.
15064         * posix/regexec.c (regexec): Likewise.
15065         (re_match): Likewise.
15066         (re_search): Likewise.
15067         (re_match_2): Likewise.
15068         (re_search_2): Likewise.
15069         (re_search_stub): Likewise.  Use internal_function
15070         (re_copy_regs): Likewise.
15071         (re_set_registers): Convert to prototype-style function
15072         definition.
15073         (prune_impossible_nodes): Likewise.  Use internal_function.
15074         * resolv/inet_net_pton.c (inet_net_pton): Convert to
15075         prototype-style function definition.
15076         (inet_net_pton_ipv4): Likewise.
15077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15078         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
15079         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
15080         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
15081         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15082         Make variadic.
15083         * time/strptime_l.c (localtime_r): Convert to prototype-style
15084         function definition.
15085         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15086         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15087         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15088         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15090         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
15091         definition.
15092         (_ufc_doit_r): Likewise.
15093         * crypt/crypt_util.c (_ufc_copymem): Likewise.
15094         (_ufc_output_conversion_r): Likewise.
15095         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
15096         * inet/rcmd.c (rcmd_af): Likewise.
15097         (rcmd): Likewise.
15098         (ruserok_af): Likewise.
15099         (ruserok): Likewise.
15100         (ruserok2_sa): Likewise.
15101         (ruserok_sa): Likewise.
15102         (iruserok_af): Likewise.
15103         (iruserok): Likewise.
15104         (__ivaliduser): Likewise.
15105         (__validuser2_sa): Likewise.
15106         * inet/rexec.c (rexec_af): Likewise.
15107         (rexec): Likewise.
15108         * inet/ruserpass.c (ruserpass): Likewise.
15109         * locale/programs/xmalloc.c (xcalloc): Likewise.
15110         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
15111         * math/w_drem.c (__drem): Likewise.
15112         * math/w_dremf.c (__dremf): Likewise.
15113         * math/w_dreml.c (__dreml): Likewise.
15114         * misc/daemon.c (daemon): Likewise.
15115         * resolv/res_debug.c (p_fqnname): Likewise.
15116         * stdlib/div.c (div): Likewise.
15117         * string/memcmp.c (memcmp_bytes): Likewise.
15118         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
15119         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
15121         * crypt/cert.c (main): Convert to prototype-style function
15122         definition.
15123         * io/pipe.c (__pipe): Likewise.
15124         * io/pipe2.c (__pipe2): Likewise.
15125         * misc/futimesat.c (futimesat): Likewise.
15126         * misc/utimes.c (__utimes): Likewise.
15127         * posix/execve.c (__execve): Likewise.
15128         * posix/execvp.c (execvp): Likewise.
15129         * posix/execvpe.c (__execvpe): Likewise.
15130         * posix/fexecve.c (fexecve): Likewise.
15131         * socket/socketpair.c (socketpair): Likewise.
15132         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15133         * stdlib/erand48.c (erand48): Likewise.
15134         * stdlib/erand48_r.c (__erand48_r): Likewise.
15135         * stdlib/jrand48.c (jrand48): Likewise.
15136         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
15137         * stdlib/lcong48.c (lcong48): Likewise.
15138         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
15139         * stdlib/nrand48.c (nrand48): Likewise.
15140         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
15141         * stdlib/seed48.c (seed48): Likewise.
15142         * stdlib/seed48_r.c (__seed48_r): Likewise.
15143         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
15144         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
15145         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
15147 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15149         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
15150         * configure: Regenerated.
15151         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
15152         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
15153         unconditional.
15154         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15155         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15156         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15157         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
15158         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
15159         unconditional.
15160         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15162         * posix/Makefile (CFLAGS-regex.c): Remove variable.
15163         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
15165         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
15166         function definition.
15167         * crypt/crypt_util.c (__encrypt_r): Likewise.
15168         * libio/genops.c (_IO_no_init): Likewise.
15169         * libio/iofopncook.c (_IO_fopencookie): Likewise.
15170         (_IO_old_fopencookie): Likewise.
15171         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15172         * libio/iogetline.c (_IO_getline): Likewise.
15173         (_IO_getline_info): Likewise.
15174         * libio/iogetwline.c (_IO_getwline): Likewise.
15175         (_IO_getwline_info): Likewise.
15176         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
15177         * libio/vswprintf.c (_IO_vswprintf): Likewise.
15178         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
15179         (find_entry): Likewise.
15180         (iterate_table): Likewise.
15181         (lookup): Likewise.
15182         * login/forkpty.c (forkpty): Likewise.
15183         * misc/hsearch_r.c (__hsearch_r): Likewise.
15184         * misc/select.c (__select): Likewise.
15185         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
15186         Likewise.
15187         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
15188         Likewise.
15189         * nptl/old_pthread_cond_timedwait.c
15190         (__pthread_cond_timedwait_2_0): Likewise.
15191         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
15192         * nptl/pthread_barrierattr_getpshared.c
15193         (pthread_barrierattr_getpshared): Likewise.
15194         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
15195         Likewise.
15196         * nptl/pthread_mutex_setprioceiling.c
15197         (pthread_mutex_setprioceiling): Likewise.
15198         * nptl/pthread_mutexattr_getprioceiling.c
15199         (pthread_mutexattr_getprioceiling): Likewise.
15200         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
15201         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15202         Likewise.
15203         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15204         Likewise.
15205         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
15206         Likewise.
15207         * socket/recvfrom.c (__recvfrom): Likewise.
15208         * socket/sendto.c (__sendto): Likewise.
15209         * socket/setsockopt.c (__setsockopt): Likewise.
15210         * stdio-common/_itoa.c (_itoa): Likewise.
15211         * stdio-common/_itowa.c (_itowa): Likewise.
15212         * stdio-common/reg-printf.c (__register_printf_specifier):
15213         Likewise.
15214         (__register_printf_function): Likewise.
15215         * stdio-common/tempname.c (__path_search): Likewise.
15216         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
15217         * stdlib/mul_1.c (mpn_mul_1): Likewise.
15218         * stdlib/random_r.c (__initstate_r): Likewise.
15219         * stdlib/setenv.c (__add_to_environ): Likewise.
15220         * stdlib/submul_1.c (mpn_submul_1): Likewise.
15221         * streams/getpmsg.c (getpmsg): Likewise.
15222         * streams/putmsg.c (putmsg): Likewise.
15223         * streams/putpmsg.c (putpmsg): Likewise.
15224         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
15225         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15226         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
15227         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15228         * sunrpc/pm_getport.c (pmap_getport): Likewise.
15229         * sunrpc/svc_udp.c (cache_get): Likewise.
15230         * sunrpc/xdr_array.c (xdr_vector): Likewise.
15231         * sysdeps/mach/hurd/getcwd.c
15232         (__canonicalize_directory_name_internal): Likewise.
15233         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
15234         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
15235         * sysdeps/mach/hurd/select.c (__select): Likewise.
15236         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15237         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15238         * sysdeps/sparc/nptl/pthread_barrier_init.c
15239         (__pthread_barrier_init): Likewise.
15240         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
15241         (__pthread_cond_timedwait): Likewise.
15242         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
15243         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
15244         Likewise.
15245         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
15246         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
15247         Likewise.
15248         * sysvipc/semtimedop.c (semtimedop): Likewise.
15249         * time/setitimer.c (__setitimer): Likewise.
15250         * time/strftime_l.c (emacs_strftime): Likewise.
15252 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15254         * config.make.in (have-ssp): Delete.
15255         (stack-protector): New variable.
15256         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
15257         cache test for -fstack-protector-strong.  Export stack_protector to
15258         the best ssp flag.
15259         * configure: Regenerated.
15260         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
15261         * nscd/Makefile (CFLAGS-nscd): Likewise.
15262         * resolv/Makefile (CFLAGS-libresolv): Likewise.
15264 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
15266         [BZ #19122]
15267         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
15268         attribute_hidden.
15270 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15272         [BZ #18743]
15273         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
15274         code to...
15275         (ELIDE_LOCK): ...here.
15276         (__get_new_count): New function with part of the code from
15277         __elide_lock that updates the value of adapt_count after a
15278         transaction abort.
15279         (__elided_trylock): Moved this code to...
15280         (ELIDE_TRYLOCK): ...here.
15282 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15284         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
15285         * configure: Regenerate.
15286         * INSTALL: Regenerate.
15287         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
15288         and tweak grammar.
15290 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
15292         * login/programs/pt_chown.c: Include signal.h
15293         (main): Clear any signal mask from the parent process.
15295 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15297         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15298         * configure: Regenerated.
15299         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15300         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15301         $(gnu89-inline-CFLAGS).
15303         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15304         test.
15305         (libc_cv_asm_weakext_directive): Likewise.
15306         * configure: Regenerated.
15307         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15308         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15309         * include/libc-symbols.h
15310         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15311         #error.
15312         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15313         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15315         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15316         prototype-style function definition.
15317         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15318         * sysdeps/i386/ffs.c (__ffs): Likewise.
15319         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15320         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15321         Likewise.
15322         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15323         Likewise.
15324         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15325         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15326         Likewise.
15327         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15328         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15329         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15330         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15331         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15332         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15333         * sysdeps/mach/hurd/access.c (__access): Likewise.
15334         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15335         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15336         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15337         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15338         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15339         (cthread_getspecific): Likewise.
15340         (cthread_setspecific): Likewise.
15341         (__libc_getspecific): Likewise.
15342         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15343         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15344         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15345         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15346         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15347         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15348         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15349         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15350         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15351         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15352         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15353         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15354         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15355         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15356         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15357         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15358         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15359         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15360         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15361         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15362         * sysdeps/mach/hurd/link.c (__link): Likewise.
15363         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15364         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15365         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15366         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15367         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15368         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15369         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15370         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15371         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15372         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15373         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15374         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15375         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15376         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15377         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15378         * sysdeps/mach/hurd/send.c (__send): Likewise.
15379         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15380         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15381         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15382         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15383         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15384         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15385         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15386         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15387         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15388         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15389         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15390         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15391         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15392         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15393         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15394         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15395         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15396         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15397         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15398         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15399         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15400         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15401         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15402         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15403         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15404         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15405         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15406         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15407         * sysdeps/posix/alarm.c (alarm): Likewise.
15408         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15409         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15410         * sysdeps/posix/dup.c (__dup): Likewise.
15411         * sysdeps/posix/dup2.c (__dup2): Likewise.
15412         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15413         (main): Likewise.
15414         * sysdeps/posix/flock.c (__flock): Likewise.
15415         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15416         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15417         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15418         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15419         * sysdeps/posix/isatty.c (__isatty): Likewise.
15420         * sysdeps/posix/killpg.c (killpg): Likewise.
15421         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15422         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15423         * sysdeps/posix/raise.c (raise): Likewise.
15424         * sysdeps/posix/remove.c (remove): Likewise.
15425         * sysdeps/posix/rename.c (rename): Likewise.
15426         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15427         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15428         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15429         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15430         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15431         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15432         * sysdeps/posix/sigset.c (sigset): Likewise.
15433         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15434         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15435         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15436         * sysdeps/posix/time.c (time): Likewise.
15437         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15438         (ttyname): Likewise.
15439         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15440         * sysdeps/posix/utime.c (utime): Likewise.
15441         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15442         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15443         Likewise.
15444         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15445         (pthread_spin_trylock): Likewise.
15446         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15447         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15448         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15449         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15450         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15451         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15452         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15453         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15454         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15455         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15456         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15457         * sysdeps/s390/ffs.c (__ffs): Likewise.
15458         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15459         Likewise.
15460         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15461         Likewise.
15462         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15463         Likewise.
15464         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15465         (pthread_barrier_destroy): Likewise.
15466         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15467         (__pthread_barrier_wait): Likewise.
15468         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15469         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15470         (__pthread_barrier_wait): Likewise.
15471         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15472         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15473         (memcmp_not_common_alignment): Likewise.
15474         (MEMCMP): Likewise.
15475         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15476         (_wordcopy_fwd_dest_aligned): Likewise.
15477         (_wordcopy_bwd_aligned): Likewise.
15478         (_wordcopy_bwd_dest_aligned): Likewise.
15479         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15480         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15481         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15482         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15483         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15484         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15485         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15486         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15487         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15488         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15489         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15490         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15491         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15492         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15493         * sysdeps/unix/stime.c (stime): Likewise.
15494         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15495         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15496         Likewise.  Use internal_function.
15497         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15498         Convert to prototype-style function definition.
15499         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15500         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15501         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15502         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15503         Likewise.  Use internal_function.
15504         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15505         prototype-style function definition
15506         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15507         Likewise.
15508         (__getlogin_r): Likewise.
15509         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15510         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15511         (__pthread_cond_broadcast): Likewise.
15512         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15513         (__pthread_cond_destroy): Likewise.
15514         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15515         (__pthread_cond_init): Likewise.
15516         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15517         (__pthread_cond_signal): Likewise.
15518         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15519         (__pthread_cond_wait): Likewise.
15520         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15521         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15522         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15523         Likewise.
15524         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15525         Likewise.
15526         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15527         Likewise.
15528         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15529         Likewise.
15530         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15532         (__ftruncate64): Likewise.
15533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15534         (truncate64): Likewise.
15535         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15536         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15537         (pthread_getcpuclockid): Likewise.
15538         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15539         Likewise.
15540         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15541         Likewise.
15542         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15543         Likewise.
15544         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15545         Likewise.
15546         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15547         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15548         (__libc_sigaction): Likewise.
15549         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15550         Likewise.
15551         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15552         (__sigprocmask): Likewise.
15553         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15554         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15555         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15556         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15557         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15558         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15559         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15560         Likewise.
15561         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15562         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15563         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15564         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15565         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15566         Likewise.
15567         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15568         (__sigprocmask): Likewise.
15569         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15570         (cfgetispeed): Likewise.
15571         (cfsetospeed): Likewise.
15572         (cfsetispeed): Likewise.
15573         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15574         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15575         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15576         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15577         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15578         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15579         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15580         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15581         Likewise.
15582         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15583         Likewise.
15584         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15585         Likewise.
15586         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15587         Likewise.
15588         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15590 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15592         sunrpc: Rewrite with explicit TLS access using __thread.
15593         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15594         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15595         directly.
15596         (__rpc_thread_variables): Access thread_rpc_vars directly.
15597         Eliminate redundant assignment of the tvp variable.
15599 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15601         malloc: Rewrite with explicit TLS access using __thread.
15602         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15603         (tsd_setspecific, tsd_getspecific): Remove.
15604         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15605         (tsd_setspecific, tsd_getspecific): Likewise.
15606         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15607         (tsd_setspecific, tsd_getspecific): Likewise.
15608         * malloc/arena.c (thread_arena): New TLS variable.
15609         (arena_key): Remove variable.
15610         (arena_get): Use thread_arena.
15611         (arena_lookup): Remove macro.
15612         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15613         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15614         (_int_new_arena, get_free_list, reused_arena)
15615         (arena_thread_freeres): Use thread_arena.
15616         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15617         tsd_getspecific, tsd_setspecific from safety annotations.
15618         (Allocating Cleared Space): Remove arena_lookup from safety
15619         annotations.
15621 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15623         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15624         struct scratch_buffer instead of extend_alloca.
15626 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15628         * sysdeps/unix/sysv/linux/kernel-features.h
15629         (__ASSUME_SOCK_CLOEXEC): Remove.
15630         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15631         (__have_paccept): Remove unused macro.
15632         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15633         * misc/syslog.c (openlog_internal): Remove fallback code for
15634         !__ASSUME_SOCK_CLOEXEC.
15635         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15636         missing SOCK_CLOEXEC.
15637         * nscd/connections.c (have_sock_cloexec): Remove definition.
15638         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15639         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15640         !__ASSUME_SOCK_CLOEXEC.
15641         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15642         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15643         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15644         definition.
15645         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15646         code for !__ASSUME_SOCK_CLOEXEC.
15648 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15650         [BZ #18982]
15651         * manual/stdio.texi (Variable Arguments Output): Add portability
15652         note, explaining that vfprintf clobbers the va_list pointer.
15654 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15656         * math/libm-test.inc (fabs_test_data): Add more tests.
15657         (fdim_test_data): Likewise.
15658         (fma_test_data): Likewise.
15659         (fmax_test_data): Likewise.
15660         (fmin_test_data): Likewise.
15661         (fmod_test_data): Likewise.
15663 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15665         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15666         data.
15668 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15670         * math/libm-test.inc (ceil_test_data): Add more tests and more
15671         expectations for "inexact".
15672         (floor_test_data): Add more tests.
15673         (round_test_data): Likewise.
15674         (trunc_test_data): Likewise.
15676         * crypt/cert.c (good_bye): Convert to prototype-style function
15677         definition.
15678         (get8): Likewise.
15679         (put8): Likewise.
15680         * crypt/crypt-entry.c (crypt): Likewise.
15681         (__fcrypt): Likewise.
15682         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15683         (_ufc_set_bits): Likewise.
15684         (_ufc_clearmem): Likewise.
15685         (__init_des_r): Likewise.
15686         (shuffle_sb): Likewise.
15687         (shuffle_sb): Likewise.
15688         (_ufc_setup_salt_r): Likewise.
15689         (_ufc_mk_keytab_r): Likewise.
15690         (_ufc_dofinalperm_r): Likewise.
15691         (encrypt): Likewise.
15692         (__setkey_r): Likewise.
15693         (setkey): Likewise.
15694         * crypt/md5.c (md5_init_ctx): Likewise.
15695         (md5_read_ctx): Likewise.
15696         (md5_finish_ctx): Likewise.
15697         (md5_stream): Likewise.
15698         (md5_buffer): Likewise.
15699         (md5_process_bytes): Likewise.
15700         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15701         (__sha256_finish_ctx): Likewise.
15702         (__sha256_process_bytes): Likewise.
15703         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15704         (__sha512_finish_ctx): Likewise.
15705         (__sha512_process_bytes): Likewise.
15706         * ctype/isctype.c (__isctype): Likewise.
15707         * debug/backtrace.c (__backtrace): Likewise.
15708         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15709         * debug/fgets_chk.c (__fgets_chk): Likewise.
15710         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15711         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15712         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15713         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15714         * debug/memset_chk.c (__memset_chk): Likewise.
15715         * debug/strcat_chk.c (__strcat_chk): Likewise.
15716         * debug/strncat_chk.c (__strncat_chk): Likewise.
15717         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15718         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15719         * dirent/dirfd.c (dirfd): Likewise.
15720         * dirent/getdents.c (__getdirentries): Likewise.
15721         * dirent/getdents64.c (getdirentries64): Likewise.
15722         * dirent/rewinddir.c (__rewinddir): Likewise.
15723         * dirent/seekdir.c (seekdir): Likewise.
15724         * dirent/telldir.c (telldir): Likewise.
15725         * elf/sln.c (makesymlinks): Likewise.
15726         (makesymlink): Likewise.
15727         * gmon/gmon.c (__moncontrol): Likewise.
15728         (__monstartup): Likewise.
15729         (write_hist): Likewise.
15730         (write_call_graph): Likewise.
15731         (write_bb_counts): Likewise.
15732         * grp/setgroups.c (setgroups): Likewise.
15733         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15734         * inet/inet_net.c (inet_network): Likewise.
15735         * inet/inet_netof.c (inet_netof): Likewise.
15736         * inet/rcmd.c (rresvport_af): Likewise.
15737         (rresvport): Likewise.
15738         * io/access.c (__access): Likewise.
15739         * io/chdir.c (__chdir): Likewise.
15740         * io/chmod.c (__chmod): Likewise.
15741         * io/chown.c (__chown): Likewise.
15742         * io/close.c (__close): Likewise.
15743         * io/creat.c (creat): Likewise.
15744         * io/creat64.c (creat64): Likewise.
15745         * io/dup.c (__dup): Likewise.
15746         * io/dup2.c (__dup2): Likewise.
15747         * io/dup3.c (__dup3): Likewise.
15748         * io/euidaccess.c (__euidaccess): Likewise.
15749         * io/faccessat.c (faccessat): Likewise.
15750         * io/fchmod.c (__fchmod): Likewise.
15751         * io/fchmodat.c (fchmodat): Likewise.
15752         * io/fchown.c (__fchown): Likewise.
15753         * io/fchownat.c (fchownat): Likewise.
15754         * io/fcntl.c (__fcntl): Likewise.
15755         * io/flock.c (__flock): Likewise.
15756         * io/fts.c (fts_load): Likewise.
15757         (fts_close): Likewise.
15758         (fts_read): Likewise.
15759         (fts_set): Likewise.
15760         (fts_children): Likewise.
15761         (fts_build): Likewise.
15762         (fts_stat): Likewise.
15763         (fts_sort): Likewise.
15764         (fts_alloc): Likewise.
15765         (fts_lfree): Likewise.
15766         (fts_palloc): Likewise.
15767         (fts_padjust): Likewise.
15768         (fts_maxarglen): Likewise.
15769         (fts_safe_changedir): Likewise.
15770         * io/getwd.c (getwd): Likewise.
15771         * io/isatty.c (__isatty): Likewise.
15772         * io/lchown.c (__lchown): Likewise.
15773         * io/link.c (__link): Likewise.
15774         * io/linkat.c (linkat): Likewise.
15775         * io/lseek.c (__libc_lseek): Likewise.
15776         * io/mkdir.c (__mkdir): Likewise.
15777         * io/mkdirat.c (mkdirat): Likewise.
15778         * io/mkfifo.c (mkfifo): Likewise.
15779         * io/mkfifoat.c (mkfifoat): Likewise.
15780         * io/open.c (__libc_open): Likewise.
15781         * io/open64.c (__libc_open64): Likewise.
15782         * io/readlink.c (__readlink): Likewise.
15783         * io/readlinkat.c (readlinkat): Likewise.
15784         * io/rmdir.c (__rmdir): Likewise.
15785         * io/symlink.c (__symlink): Likewise.
15786         * io/symlinkat.c (symlinkat): Likewise.
15787         * io/ttyname.c (ttyname): Likewise.
15788         * io/ttyname_r.c (__ttyname_r): Likewise.
15789         * io/umask.c (__umask): Likewise.
15790         * io/unlink.c (__unlink): Likewise.
15791         * io/unlinkat.c (unlinkat): Likewise.
15792         * io/utime.c (utime): Likewise.
15793         * libio/clearerr.c (clearerr): Likewise.
15794         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15795         * libio/feof.c (_IO_feof): Likewise.
15796         * libio/feof_u.c (feof_unlocked): Likewise.
15797         * libio/ferror.c (_IO_ferror): Likewise.
15798         * libio/ferror_u.c (ferror_unlocked): Likewise.
15799         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15800         * libio/fileno.c (__fileno): Likewise.
15801         * libio/fputc.c (fputc): Likewise.
15802         * libio/fputc_u.c (fputc_unlocked): Likewise.
15803         * libio/fputwc.c (fputwc): Likewise.
15804         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15805         * libio/freopen.c (freopen): Likewise.
15806         * libio/freopen64.c (freopen64): Likewise.
15807         * libio/fseek.c (fseek): Likewise.
15808         * libio/fseeko.c (fseeko): Likewise.
15809         * libio/fseeko64.c (fseeko64): Likewise.
15810         * libio/ftello.c (__ftello): Likewise.
15811         * libio/ftello64.c (ftello64): Likewise.
15812         * libio/fwide.c (fwide): Likewise.
15813         * libio/genops.c (_IO_un_link): Likewise.
15814         (_IO_link_in): Likewise.
15815         (_IO_least_marker): Likewise.
15816         (_IO_switch_to_main_get_area): Likewise.
15817         (_IO_switch_to_backup_area): Likewise.
15818         (_IO_switch_to_get_mode): Likewise.
15819         (_IO_free_backup_area): Likewise.
15820         (_IO_switch_to_put_mode): Likewise.
15821         (__overflow): Likewise.
15822         (__underflow): Likewise.
15823         (__uflow): Likewise.
15824         (_IO_setb): Likewise.
15825         (_IO_doallocbuf): Likewise.
15826         (_IO_default_underflow): Likewise.
15827         (_IO_default_uflow): Likewise.
15828         (_IO_default_xsputn): Likewise.
15829         (_IO_sgetn): Likewise.
15830         (_IO_default_xsgetn): Likewise.
15831         (_IO_sync): Likewise.
15832         (_IO_default_setbuf): Likewise.
15833         (_IO_default_seekpos): Likewise.
15834         (_IO_default_doallocate): Likewise.
15835         (_IO_init): Likewise.
15836         (_IO_old_init): Likewise.
15837         (_IO_default_sync): Likewise.
15838         (_IO_default_finish): Likewise.
15839         (_IO_default_seekoff): Likewise.
15840         (_IO_sputbackc): Likewise.
15841         (_IO_sungetc): Likewise.
15842         (_IO_set_column): Likewise.
15843         (_IO_set_column): Likewise.
15844         (_IO_adjust_column): Likewise.
15845         (_IO_get_column): Likewise.
15846         (_IO_init_marker): Likewise.
15847         (_IO_remove_marker): Likewise.
15848         (_IO_marker_difference): Likewise.
15849         (_IO_marker_delta): Likewise.
15850         (_IO_seekmark): Likewise.
15851         (_IO_unsave_markers): Likewise.
15852         (_IO_nobackup_pbackfail): Likewise.
15853         (_IO_default_pbackfail): Likewise.
15854         (_IO_default_seek): Likewise.
15855         (_IO_default_stat): Likewise.
15856         (_IO_default_read): Likewise.
15857         (_IO_default_write): Likewise.
15858         (_IO_default_showmanyc): Likewise.
15859         (_IO_default_imbue): Likewise.
15860         (_IO_iter_next): Likewise.
15861         (_IO_iter_file): Likewise.
15862         * libio/getc.c (_IO_getc): Likewise.
15863         * libio/getwc.c (_IO_getwc): Likewise.
15864         * libio/iofclose.c (_IO_new_fclose): Likewise.
15865         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15866         * libio/iofflush.c (_IO_fflush): Likewise.
15867         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15868         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15869         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15870         * libio/iofgets.c (_IO_fgets): Likewise.
15871         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15872         * libio/iofgetws.c (fgetws): Likewise.
15873         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15874         * libio/iofopen64.c (_IO_fopen64): Likewise.
15875         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15876         (_IO_cookie_write): Likewise.
15877         (_IO_cookie_seek): Likewise.
15878         (_IO_cookie_close): Likewise.
15879         (_IO_cookie_seekoff): Likewise.
15880         (_IO_old_cookie_seek): Likewise.
15881         * libio/iofputs.c (_IO_fputs): Likewise.
15882         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15883         * libio/iofputws.c (fputws): Likewise.
15884         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15885         * libio/iofread.c (_IO_fread): Likewise.
15886         * libio/iofread_u.c (__fread_unlocked): Likewise.
15887         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15888         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15889         * libio/ioftell.c (_IO_ftell): Likewise.
15890         * libio/iofwrite.c (_IO_fwrite): Likewise.
15891         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15892         * libio/iogets.c (_IO_gets): Likewise.
15893         * libio/iopadn.c (_IO_padn): Likewise.
15894         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15895         (_IO_new_popen): Likewise.
15896         (_IO_new_proc_close): Likewise.
15897         * libio/ioputs.c (_IO_puts): Likewise.
15898         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15899         (_IO_seekoff): Likewise.
15900         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15901         (_IO_seekpos): Likewise.
15902         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15903         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15904         * libio/ioungetc.c (_IO_ungetc): Likewise.
15905         * libio/ioungetwc.c (ungetwc): Likewise.
15906         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15907         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15908         * libio/iowpadn.c (_IO_wpadn): Likewise.
15909         * libio/libc_fatal.c (__libc_fatal): Likewise.
15910         * libio/memstream.c (__open_memstream): Likewise.
15911         (_IO_mem_sync): Likewise.
15912         (_IO_mem_finish): Likewise.
15913         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15914         (_IO_old_file_close_it): Likewise.
15915         (_IO_old_file_finish): Likewise.
15916         (_IO_old_file_fopen): Likewise.
15917         (_IO_old_file_attach): Likewise.
15918         (_IO_old_file_setbuf): Likewise.
15919         (_IO_old_do_write): Likewise.
15920         (old_do_write): Likewise.
15921         (_IO_old_file_underflow): Likewise.
15922         (_IO_old_file_overflow): Likewise.
15923         (_IO_old_file_sync): Likewise.
15924         (_IO_old_file_seekoff): Likewise.
15925         (_IO_old_file_write): Likewise.
15926         (_IO_old_file_xsputn): Likewise.
15927         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15928         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15929         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15930         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15931         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15932         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15933         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15934         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15935         (_IO_old_popen): Likewise.
15936         (_IO_old_proc_close): Likewise.
15937         * libio/oldpclose.c (__old_pclose): Likewise.
15938         * libio/pclose.c (__new_pclose): Likewise.
15939         * libio/peekc.c (_IO_peekc_locked): Likewise.
15940         * libio/putc.c (_IO_putc): Likewise.
15941         * libio/putc_u.c (putc_unlocked): Likewise.
15942         * libio/putchar.c (putchar): Likewise.
15943         * libio/putchar_u.c (putchar_unlocked): Likewise.
15944         * libio/putwc.c (putwc): Likewise.
15945         * libio/putwc_u.c (putwc_unlocked): Likewise.
15946         * libio/putwchar.c (putwchar): Likewise.
15947         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15948         * libio/rewind.c (rewind): Likewise.
15949         * libio/setbuf.c (setbuf): Likewise.
15950         * libio/setlinebuf.c (setlinebuf): Likewise.
15951         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15952         * libio/vscanf.c (_IO_vscanf): Likewise.
15953         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15954         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15955         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15956         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15957         (_IO_switch_to_main_wget_area): Likewise.
15958         (_IO_switch_to_wbackup_area): Likewise.
15959         (_IO_wsetb): Likewise.
15960         (_IO_wdefault_pbackfail): Likewise.
15961         (_IO_wdefault_finish): Likewise.
15962         (_IO_wdefault_uflow): Likewise.
15963         (__woverflow): Likewise.
15964         (__wuflow): Likewise.
15965         (__wunderflow): Likewise.
15966         (_IO_wdefault_xsputn): Likewise.
15967         (_IO_wdefault_xsgetn): Likewise.
15968         (_IO_wdoallocbuf): Likewise.
15969         (_IO_wdefault_doallocate): Likewise.
15970         (_IO_switch_to_wget_mode): Likewise.
15971         (_IO_free_wbackup_area): Likewise.
15972         (_IO_switch_to_wput_mode): Likewise.
15973         (_IO_sputbackwc): Likewise.
15974         (_IO_sungetwc): Likewise.
15975         (_IO_adjust_wcolumn): Likewise.
15976         (_IO_init_wmarker): Likewise.
15977         (_IO_wmarker_delta): Likewise.
15978         (_IO_seekwmark): Likewise.
15979         (_IO_unsave_wmarkers): Likewise.
15980         * libio/wmemstream.c (open_wmemstream): Likewise.
15981         (_IO_wmem_sync): Likewise.
15982         (_IO_wmem_finish): Likewise.
15983         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15984         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15985         * locale/programs/simple-hash.c (init_hash): Likewise.
15986         (delete_hash): Likewise.
15987         (insert_entry): Likewise.
15988         (set_entry): Likewise.
15989         (next_prime): Likewise.
15990         (is_prime): Likewise.
15991         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15992         (xmalloc): Likewise.
15993         (xrealloc): Likewise.
15994         * locale/programs/xstrdup.c (xstrdup): Likewise.
15995         * localedata/collate-test.c (xstrcoll): Likewise.
15996         * localedata/xfrm-test.c (xstrcmp): Likewise.
15997         * login/getlogin_r.c (__getlogin_r): Likewise.
15998         * login/getpt.c (__posix_openpt): Likewise.
15999         * login/login_tty.c (login_tty): Likewise.
16000         * login/setlogin.c (setlogin): Likewise.
16001         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
16002         (mach_msg_destroy_port): Likewise.
16003         (mach_msg_destroy_memory): Likewise.
16004         * malloc/mcheck.c (flood): Likewise.
16005         * misc/acct.c (acct): Likewise.
16006         * misc/brk.c (__brk): Likewise.
16007         * misc/chflags.c (chflags): Likewise.
16008         * misc/chroot.c (chroot): Likewise.
16009         * misc/fchflags.c (fchflags): Likewise.
16010         * misc/fstab.c (getfsspec): Likewise.
16011         (getfsfile): Likewise.
16012         * misc/fsync.c (fsync): Likewise.
16013         * misc/ftruncate.c (__ftruncate): Likewise.
16014         * misc/ftruncate64.c (__ftruncate64): Likewise.
16015         * misc/getdomain.c (getdomainname): Likewise.
16016         (getdomainname): Likewise.
16017         * misc/gethostname.c (__gethostname): Likewise.
16018         * misc/getpass.c (getpass): Likewise.
16019         * misc/getttyent.c (skip): Likewise.
16020         (value): Likewise.
16021         * misc/gtty.c (gtty): Likewise.
16022         * misc/hsearch.c (hsearch): Likewise.
16023         (hcreate): Likewise.
16024         * misc/hsearch_r.c (__hcreate_r): Likewise.
16025         (__hdestroy_r): Likewise.
16026         * misc/ioctl.c (__ioctl): Likewise.
16027         * misc/mkdtemp.c (mkdtemp): Likewise.
16028         * misc/mkostemp.c (mkostemp): Likewise.
16029         * misc/mkostemp64.c (mkostemp64): Likewise.
16030         * misc/mkostemps.c (mkostemps): Likewise.
16031         * misc/mkostemps64.c (mkostemps64): Likewise.
16032         * misc/mkstemp.c (mkstemp): Likewise.
16033         * misc/mkstemp64.c (mkstemp64): Likewise.
16034         * misc/mkstemps.c (mkstemps): Likewise.
16035         * misc/mkstemps64.c (mkstemps64): Likewise.
16036         * misc/mktemp.c (__mktemp): Likewise.
16037         * misc/preadv.c (preadv): Likewise.
16038         * misc/preadv64.c (preadv64): Likewise.
16039         * misc/pwritev.c (pwritev): Likewise.
16040         * misc/pwritev64.c (pwritev64): Likewise.
16041         * misc/readv.c (__readv): Likewise.
16042         * misc/revoke.c (revoke): Likewise.
16043         * misc/setdomain.c (setdomainname): Likewise.
16044         * misc/setegid.c (setegid): Likewise.
16045         * misc/seteuid.c (seteuid): Likewise.
16046         * misc/sethostid.c (sethostid): Likewise.
16047         * misc/sethostname.c (sethostname): Likewise.
16048         * misc/setregid.c (__setregid): Likewise.
16049         * misc/setreuid.c (__setreuid): Likewise.
16050         * misc/sstk.c (sstk): Likewise.
16051         * misc/stty.c (stty): Likewise.
16052         * misc/syscall.c (syscall): Likewise.
16053         * misc/syslog.c (setlogmask): Likewise.
16054         * misc/truncate.c (__truncate): Likewise.
16055         * misc/truncate64.c (truncate64): Likewise.
16056         * misc/ualarm.c (ualarm): Likewise.
16057         * misc/usleep.c (usleep): Likewise.
16058         * misc/ustat.c (ustat): Likewise.
16059         * misc/writev.c (__writev): Likewise.
16060         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
16061         * nptl/old_pthread_cond_broadcast.c
16062         (__pthread_cond_broadcast_2_0): Likewise.
16063         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
16064         Likewise.
16065         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
16066         Likewise.
16067         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
16068         Likewise.
16069         * nptl/pt-raise.c (raise): Likewise.
16070         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
16071         Likewise.
16072         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
16073         * nptl/pthread_barrierattr_destroy.c
16074         (pthread_barrierattr_destroy): Likewise.
16075         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
16076         Likewise.
16077         * nptl/pthread_barrierattr_setpshared.c
16078         (pthread_barrierattr_setpshared): Likewise.
16079         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16080         Likewise.
16081         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
16082         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
16083         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
16084         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
16085         Likewise.
16086         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
16087         Likewise.
16088         * nptl/pthread_condattr_getpshared.c
16089         (pthread_condattr_getpshared): Likewise.
16090         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
16091         Likewise.
16092         * nptl/pthread_condattr_setpshared.c
16093         (pthread_condattr_setpshared): Likewise.
16094         * nptl/pthread_detach.c (pthread_detach): Likewise.
16095         * nptl/pthread_equal.c (__pthread_equal): Likewise.
16096         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
16097         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
16098         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
16099         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
16100         Likewise.
16101         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
16102         Likewise.
16103         * nptl/pthread_mutex_getprioceiling.c
16104         (pthread_mutex_getprioceiling): Likewise.
16105         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
16106         Likewise.
16107         * nptl/pthread_mutexattr_getprotocol.c
16108         (pthread_mutexattr_getprotocol): Likewise.
16109         * nptl/pthread_mutexattr_getpshared.c
16110         (pthread_mutexattr_getpshared): Likewise.
16111         * nptl/pthread_mutexattr_getrobust.c
16112         (pthread_mutexattr_getrobust): Likewise.
16113         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16114         Likewise.
16115         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
16116         Likewise.
16117         * nptl/pthread_mutexattr_setprioceiling.c
16118         (pthread_mutexattr_setprioceiling): Likewise.
16119         * nptl/pthread_mutexattr_setprotocol.c
16120         (pthread_mutexattr_setprotocol): Likewise.
16121         * nptl/pthread_mutexattr_setpshared.c
16122         (pthread_mutexattr_setpshared): Likewise.
16123         * nptl/pthread_mutexattr_setrobust.c
16124         (pthread_mutexattr_setrobust): Likewise.
16125         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
16126         Likewise.
16127         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
16128         Likewise.
16129         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
16130         Likewise.
16131         * nptl/pthread_rwlockattr_getkind_np.c
16132         (pthread_rwlockattr_getkind_np): Likewise.
16133         * nptl/pthread_rwlockattr_getpshared.c
16134         (pthread_rwlockattr_getpshared): Likewise.
16135         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
16136         Likewise.
16137         * nptl/pthread_rwlockattr_setkind_np.c
16138         (pthread_rwlockattr_setkind_np): Likewise.
16139         * nptl/pthread_rwlockattr_setpshared.c
16140         (pthread_rwlockattr_setpshared): Likewise.
16141         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
16142         Likewise.
16143         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
16144         Likewise.
16145         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
16146         Likewise.
16147         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
16148         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
16149         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
16150         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
16151         * nptl/sem_close.c (sem_close): Likewise.
16152         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
16153         * nptl/sem_init.c (__old_sem_init): Likewise.
16154         * nptl/sigaction.c (__sigaction): Likewise.
16155         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16156         * posix/_exit.c (_exit): Likewise.
16157         * posix/alarm.c (alarm): Likewise.
16158         * posix/confstr.c (confstr): Likewise.
16159         * posix/fpathconf.c (__fpathconf): Likewise.
16160         * posix/getgroups.c (__getgroups): Likewise.
16161         * posix/getpgid.c (__getpgid): Likewise.
16162         * posix/group_member.c (__group_member): Likewise.
16163         * posix/pathconf.c (__pathconf): Likewise.
16164         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
16165         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
16166         * posix/setgid.c (__setgid): Likewise.
16167         * posix/setpgid.c (__setpgid): Likewise.
16168         * posix/setuid.c (__setuid): Likewise.
16169         * posix/sleep.c (__sleep): Likewise.
16170         * posix/sysconf.c (__sysconf): Likewise.
16171         * posix/times.c (__times): Likewise.
16172         * posix/uname.c (__uname): Likewise.
16173         * posix/waitid.c (__waitid): Likewise.
16174         * pwd/getpw.c (__getpw): Likewise.
16175         * resolv/base64.c (b64_pton): Likewise.
16176         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
16177         * resolv/gethnamaddr.c (Dprintf): Likewise.
16178         (gethostbyname): Likewise.
16179         (gethostbyname2): Likewise.
16180         (gethostbyaddr): Likewise.
16181         (_sethtent): Likewise.
16182         (_gethtbyname): Likewise.
16183         (_gethtbyname2): Likewise.
16184         (_gethtbyaddr): Likewise.
16185         (map_v4v6_address): Likewise.
16186         (map_v4v6_hostent): Likewise.
16187         (addrsort): Likewise.
16188         (ht_sethostent): Likewise.
16189         (ht_gethostbyname): Likewise.
16190         (ht_gethostbyaddr): Likewise.
16191         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
16192         (inet_net_ntop_ipv4): Likewise.
16193         * resolv/inet_neta.c (inet_neta): Likewise.
16194         * resolv/inet_ntop.c (inet_ntop): Likewise.
16195         (inet_ntop4): Likewise.
16196         (inet_ntop6): Likewise.
16197         * resolv/inet_pton.c (__inet_pton): Likewise.
16198         (inet_pton4): Likewise.
16199         (inet_pton6): Likewise.
16200         * resolv/res_debug.c (loc_aton): Likewise.
16201         (loc_ntoa): Likewise.
16202         * resource/getpriority.c (__getpriority): Likewise.
16203         * resource/getrusage.c (__getrusage): Likewise.
16204         * resource/nice.c (nice): Likewise.
16205         * resource/setpriority.c (__setpriority): Likewise.
16206         * resource/setrlimit64.c (setrlimit64): Likewise.
16207         * resource/vlimit.c (vlimit): Likewise.
16208         * resource/vtimes.c (vtimes): Likewise.
16209         * rt/aio_error.c (aio_error): Likewise.
16210         * rt/aio_return.c (aio_return): Likewise.
16211         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
16212         * signal/kill.c (__kill): Likewise.
16213         * signal/killpg.c (killpg): Likewise.
16214         * signal/raise.c (raise): Likewise.
16215         * signal/sigaction.c (__sigaction): Likewise.
16216         * signal/sigaddset.c (sigaddset): Likewise.
16217         * signal/sigaltstack.c (sigaltstack): Likewise.
16218         * signal/sigandset.c (sigandset): Likewise.
16219         * signal/sigblock.c (__sigblock): Likewise.
16220         * signal/sigdelset.c (sigdelset): Likewise.
16221         * signal/sigempty.c (sigemptyset): Likewise.
16222         * signal/sigfillset.c (sigfillset): Likewise.
16223         * signal/sighold.c (sighold): Likewise.
16224         * signal/sigignore.c (sigignore): Likewise.
16225         * signal/sigintr.c (siginterrupt): Likewise.
16226         * signal/sigisempty.c (sigisemptyset): Likewise.
16227         * signal/sigismem.c (sigismember): Likewise.
16228         * signal/signal.c (signal): Likewise.
16229         * signal/sigorset.c (sigorset): Likewise.
16230         * signal/sigpause.c (__sigpause): Likewise.
16231         * signal/sigpending.c (sigpending): Likewise.
16232         * signal/sigprocmask.c (__sigprocmask): Likewise.
16233         * signal/sigrelse.c (sigrelse): Likewise.
16234         * signal/sigreturn.c (__sigreturn): Likewise.
16235         * signal/sigset.c (sigset): Likewise.
16236         * signal/sigsetmask.c (__sigsetmask): Likewise.
16237         * signal/sigstack.c (sigstack): Likewise.
16238         * signal/sigsuspend.c (__sigsuspend): Likewise.
16239         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
16240         * signal/sysv_signal.c (__sysv_signal): Likewise.
16241         * socket/accept.c (accept): Likewise.
16242         * socket/accept4.c (__libc_accept4): Likewise.
16243         * socket/bind.c (__bind): Likewise.
16244         * socket/connect.c (__connect): Likewise.
16245         * socket/getpeername.c (getpeername): Likewise.
16246         * socket/getsockname.c (__getsockname): Likewise.
16247         * socket/getsockopt.c (getsockopt): Likewise.
16248         * socket/listen.c (__listen): Likewise.
16249         * socket/recv.c (__recv): Likewise.
16250         * socket/recvmsg.c (__recvmsg): Likewise.
16251         * socket/send.c (__send): Likewise.
16252         * socket/sendmsg.c (__sendmsg): Likewise.
16253         * socket/shutdown.c (shutdown): Likewise.
16254         * socket/sockatmark.c (sockatmark): Likewise.
16255         * socket/socket.c (__socket): Likewise.
16256         * stdio-common/ctermid.c (ctermid): Likewise.
16257         * stdio-common/cuserid.c (cuserid): Likewise.
16258         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
16259         * stdio-common/remove.c (remove): Likewise.
16260         * stdio-common/rename.c (rename): Likewise.
16261         * stdio-common/renameat.c (renameat): Likewise.
16262         * stdio-common/tempname.c (__gen_tempname): Likewise.
16263         * stdio-common/xbug.c (InitBuffer): Likewise.
16264         (AppendToBuffer): Likewise.
16265         (ReadFile): Likewise.
16266         * stdlib/a64l.c (a64l): Likewise.
16267         * stdlib/drand48_r.c (drand48_r): Likewise.
16268         * stdlib/getcontext.c (getcontext): Likewise.
16269         * stdlib/getenv.c (getenv): Likewise.
16270         * stdlib/l64a.c (l64a): Likewise.
16271         * stdlib/llabs.c (llabs): Likewise.
16272         * stdlib/lldiv.c (lldiv): Likewise.
16273         * stdlib/lrand48_r.c (lrand48_r): Likewise.
16274         * stdlib/mrand48_r.c (mrand48_r): Likewise.
16275         * stdlib/putenv.c (putenv): Likewise.
16276         * stdlib/random.c (__srandom): Likewise.
16277         (__initstate): Likewise.
16278         (__setstate): Likewise.
16279         * stdlib/random_r.c (__srandom_r): Likewise.
16280         (__setstate_r): Likewise.
16281         (__random_r): Likewise.
16282         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
16283         * stdlib/setcontext.c (setcontext): Likewise.
16284         * stdlib/setenv.c (setenv): Likewise.
16285         (unsetenv): Likewise.
16286         * stdlib/srand48.c (srand48): Likewise.
16287         * stdlib/srand48_r.c (__srand48_r): Likewise.
16288         * stdlib/swapcontext.c (swapcontext): Likewise.
16289         * stdlib/system.c (__libc_system): Likewise.
16290         * stdlib/tst-strtod.c (expand): Likewise.
16291         * stdlib/tst-strtol.c (expand): Likewise.
16292         * stdlib/tst-strtoll.c (expand): Likewise.
16293         * streams/fattach.c (fattach): Likewise.
16294         * streams/fdetach.c (fdetach): Likewise.
16295         * streams/getmsg.c (getmsg): Likewise.
16296         * streams/isastream.c (isastream): Likewise.
16297         * string/ffs.c (__ffs): Likewise.
16298         * string/ffsll.c (ffsll): Likewise.
16299         * string/memcmp.c (memcmp_common_alignment): Likewise.
16300         (memcmp_not_common_alignment): Likewise.
16301         (MEMCMP): Likewise.
16302         * string/memcpy.c (memcpy): Likewise.
16303         * string/memmove.c (MEMMOVE): Likewise.
16304         * string/memset.c (memset): Likewise.
16305         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16306         * string/strchrnul.c (STRCHRNUL): Likewise.
16307         * string/strerror.c (strerror): Likewise.
16308         * string/strndup.c (__strndup): Likewise.
16309         * string/strverscmp.c (__strverscmp): Likewise.
16310         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16311         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16312         (clnttcp_freeres): Likewise.
16313         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16314         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16315         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16316         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16317         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16318         (xdr_callhdr): Likewise.
16319         * sunrpc/rpcinfo.c (udpping): Likewise.
16320         (tcpping): Likewise.
16321         (pstatus): Likewise.
16322         (pmapdump): Likewise.
16323         (brdcst): Likewise.
16324         (deletereg): Likewise.
16325         (getprognum): Likewise.
16326         (getvers): Likewise.
16327         (get_inet_address): Likewise.
16328         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16329         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16330         (svcudp_stat): Likewise.
16331         (svcudp_recv): Likewise.
16332         (svcudp_reply): Likewise.
16333         (svcudp_getargs): Likewise.
16334         (svcudp_freeargs): Likewise.
16335         (svcudp_destroy): Likewise.
16336         * sunrpc/xdr.c (xdr_bytes): Likewise.
16337         (xdr_netobj): Likewise.
16338         (xdr_string): Likewise.
16339         (xdr_wrapstring): Likewise.
16340         * sunrpc/xdr_float.c (xdr_float): Likewise.
16341         (xdr_double): Likewise.
16342         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16343         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16344         * sysvipc/ftok.c (ftok): Likewise.
16345         * sysvipc/msgctl.c (msgctl): Likewise.
16346         * sysvipc/msgget.c (msgget): Likewise.
16347         * sysvipc/msgrcv.c (msgrcv): Likewise.
16348         * sysvipc/msgsnd.c (msgsnd): Likewise.
16349         * sysvipc/semget.c (semget): Likewise.
16350         * sysvipc/semop.c (semop): Likewise.
16351         * sysvipc/shmat.c (shmat): Likewise.
16352         * sysvipc/shmctl.c (shmctl): Likewise.
16353         * sysvipc/shmdt.c (shmdt): Likewise.
16354         * sysvipc/shmget.c (shmget): Likewise.
16355         * termios/cfmakeraw.c (cfmakeraw): Likewise.
16356         * termios/speed.c (cfgetospeed): Likewise.
16357         (cfgetispeed): Likewise.
16358         (cfsetospeed): Likewise.
16359         (cfsetispeed): Likewise.
16360         * termios/tcflow.c (tcflow): Likewise.
16361         * termios/tcflush.c (tcflush): Likewise.
16362         * termios/tcgetattr.c (__tcgetattr): Likewise.
16363         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16364         * termios/tcgetsid.c (tcgetsid): Likewise.
16365         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16366         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16367         * time/adjtime.c (__adjtime): Likewise.
16368         * time/dysize.c (dysize): Likewise.
16369         * time/ftime.c (ftime): Likewise.
16370         * time/getitimer.c (__getitimer): Likewise.
16371         * time/gettimeofday.c (__gettimeofday): Likewise.
16372         * time/gmtime.c (__gmtime_r): Likewise.
16373         (gmtime): Likewise.
16374         * time/localtime.c (__localtime_r): Likewise.
16375         (localtime): Likewise.
16376         * time/offtime.c (__offtime): Likewise.
16377         * time/settimeofday.c (__settimeofday): Likewise.
16378         * time/stime.c (stime): Likewise.
16379         * time/strftime_l.c (tm_diff): Likewise.
16380         (iso_week_days): Likewise.
16381         * time/strptime.c (strptime): Likewise.
16382         * time/time.c (time): Likewise.
16383         * time/timespec_get.c (timespec_get): Likewise.
16384         * time/tzset.c (tzset_internal): Likewise.
16385         (compute_change): Likewise.
16386         (__tz_compute): Likewise.
16387         * wcsmbs/btowc.c (__btowc): Likewise.
16388         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16389         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16390         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16391         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16392         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16393         * wcsmbs/wcscat.c (__wcscat): Likewise.
16394         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16395         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16396         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16397         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16398         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16399         * wcsmbs/wcslen.c (__wcslen): Likewise.
16400         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16401         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16402         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16403         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16404         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16405         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16406         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16407         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16408         * wcsmbs/wcstok.c (wcstok): Likewise.
16409         * wcsmbs/wctob.c (wctob): Likewise.
16410         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16411         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16412         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16413         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16414         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16415         * wcsmbs/wmemset.c (__wmemset): Likewise.
16416         * wctype/wcfuncs.c (__towlower): Likewise.
16417         (__towupper): Likewise.
16419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16420         (lll_unlock_elision): Add adapt_count parameter.
16422 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16424         * sysdeps/nptl/configure.ac: Do not give errors based on the
16425         results of top-level configure tests.
16426         * sysdeps/nptl/configure: Regenerated.
16428         * configure.ac (libc_cv_Bgroup): Remove configure test.
16429         * configure: Regenerated.
16430         * config.make.in (have-Bgroup): Remove variable.
16432         * configure.ac (sizeof_long_double): Remove configure test.
16433         * configure: Regenerated.
16434         * config.make.in (sizeof-long-double): Remove variable.
16436         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16437         * configure: Regenerated.
16438         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16439         variable.
16440         (exceptions): Likewise.
16441         * sysdeps/arm/configure: Regenerated.
16442         * config.make.in (exceptions): Remove variable.
16443         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16444         $(exceptions).
16445         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16446         (CFLAGS-vdprintf_chk.c): Likewise.
16447         (CFLAGS-printf_chk.c): Likewise.
16448         (CFLAGS-fprintf_chk.c): Likewise.
16449         (CFLAGS-vprintf_chk.c): Likewise.
16450         (CFLAGS-vfprintf_chk.c): Likewise.
16451         (CFLAGS-gets_chk.c): Likewise.
16452         (CFLAGS-fgets_chk.c): Likewise.
16453         (CFLAGS-fgets_u_chk.c): Likewise.
16454         (CFLAGS-fread_chk.c): Likewise.
16455         (CFLAGS-fread_u_chk.c): Likewise.
16456         (CFLAGS-wprintf_chk.c): Likewise.
16457         (CFLAGS-fwprintf_chk.c): Likewise.
16458         (CFLAGS-vwprintf_chk.c): Likewise.
16459         (CFLAGS-vfwprintf_chk.c): Likewise.
16460         (CFLAGS-fgetws_chk.c): Likewise.
16461         (CFLAGS-fgetws_u_chk.c): Likewise.
16462         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16463         (CFLAGS-fputc.c): Likewise.
16464         (CFLAGS-fputwc.c): Likewise.
16465         (CFLAGS-freopen64.c): Likewise.
16466         (CFLAGS-freopen.c): Likewise.
16467         (CFLAGS-fseek.c): Likewise.
16468         (CFLAGS-fseeko64.c): Likewise.
16469         (CFLAGS-fseeko.c): Likewise.
16470         (CFLAGS-ftello64.c): Likewise.
16471         (CFLAGS-ftello.c): Likewise.
16472         (CFLAGS-fwide.c): Likewise.
16473         (CFLAGS-genops.c): Likewise.
16474         (CFLAGS-getc.c): Likewise.
16475         (CFLAGS-getchar.c): Likewise.
16476         (CFLAGS-getwc.c): Likewise.
16477         (CFLAGS-getwchar.c): Likewise.
16478         (CFLAGS-iofclose.c): Likewise.
16479         (CFLAGS-iofflush.c): Likewise.
16480         (CFLAGS-iofgetpos64.c): Likewise.
16481         (CFLAGS-iofgetpos.c): Likewise.
16482         (CFLAGS-iofgets.c): Likewise.
16483         (CFLAGS-iofgetws.c): Likewise.
16484         (CFLAGS-iofputs.c): Likewise.
16485         (CFLAGS-iofputws.c): Likewise.
16486         (CFLAGS-iofread.c): Likewise.
16487         (CFLAGS-iofsetpos64.c): Likewise.
16488         (CFLAGS-iofsetpos.c): Likewise.
16489         (CFLAGS-ioftell.c): Likewise.
16490         (CFLAGS-iofwrite.c): Likewise.
16491         (CFLAGS-iogetdelim.c): Likewise.
16492         (CFLAGS-iogetline.c): Likewise.
16493         (CFLAGS-iogets.c): Likewise.
16494         (CFLAGS-iogetwline.c): Likewise.
16495         (CFLAGS-ioputs.c): Likewise.
16496         (CFLAGS-ioseekoff.c): Likewise.
16497         (CFLAGS-ioseekpos.c): Likewise.
16498         (CFLAGS-iosetbuffer.c): Likewise.
16499         (CFLAGS-iosetvbuf.c): Likewise.
16500         (CFLAGS-ioungetc.c): Likewise.
16501         (CFLAGS-ioungetwc.c): Likewise.
16502         (CFLAGS-oldfileops.c): Likewise.
16503         (CFLAGS-oldiofclose.c): Likewise.
16504         (CFLAGS-oldiofgetpos64.c): Likewise.
16505         (CFLAGS-oldiofgetpos.c): Likewise.
16506         (CFLAGS-oldiofsetpos64.c): Likewise.
16507         (CFLAGS-oldiofsetpos.c): Likewise.
16508         (CFLAGS-peekc.c): Likewise.
16509         (CFLAGS-putc.c): Likewise.
16510         (CFLAGS-putchar.c): Likewise.
16511         (CFLAGS-putwc.c): Likewise.
16512         (CFLAGS-putwchar.c): Likewise.
16513         (CFLAGS-rewind.c): Likewise.
16514         (CFLAGS-wfileops.c): Likewise.
16515         (CFLAGS-wgenops.c): Likewise.
16516         (CFLAGS-oldiofopen.c): Likewise.
16517         (CFLAGS-iofopen.c): Likewise.
16518         (CFLAGS-iofopen64.c): Likewise.
16519         (CFLAGS-oldtmpfile.c): Likewise.
16520         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16521         (CFLAGS-fprintf.c): Likewise.
16522         (CFLAGS-printf.c): Likewise.
16523         (CFLAGS-vfwprintf.c): Likewise.
16524         (CFLAGS-vfscanf.c): Likewise.
16525         (CFLAGS-vfwscanf.c): Likewise.
16526         (CFLAGS-fscanf.c): Likewise.
16527         (CFLAGS-scanf.c): Likewise.
16528         (CFLAGS-isoc99_vfscanf.c): Likewise.
16529         (CFLAGS-isoc99_vscanf.c): Likewise.
16530         (CFLAGS-isoc99_fscanf.c): Likewise.
16531         (CFLAGS-isoc99_scanf.c): Likewise.
16532         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16533         (CFLAGS-isoc99_fwscanf.c): Likewise.
16534         (CFLAGS-isoc99_vwscanf.c): Likewise.
16535         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16537         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16538         after mkstemp64.
16539         * login/tst-utmp.c (do_prepare): Likewise.
16540         * rt/tst-aio.c (do_prepare): Likewise.
16541         * rt/tst-aio64.c (do_prepare): Likewise.
16543 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16545         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16546         (__lll_lock_elision): Remove adapt_count decrement...
16547         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16548         (__lll_trylock_elision): Likewise.
16549         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16550         (__lll_unlock_elision): ... to here. And utilize
16551         new adapt_count parameter.
16552         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16553         (__lll_unlock_elision): Update to include adapt_count
16554         parameter.
16555         (lll_unlock_elision): Pass pointer to adapt_count
16556         variable.
16558 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16560         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16561         Add elision adapt_count parameter to list of arguments.
16562         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16563         (lll_unlock_elision): Update with new parameter list
16564         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16565         (lll_unlock_elision): Likewise.
16566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16567         (lll_unlock_elision): Likewise.
16569 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16571         [BZ #19122]
16572         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16573         attribute_hidden.
16575         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16576         attribute_hidden.
16577         [IS_IN (rtld)] (__strdup): Likewise.
16578         [IS_IN (rtld)] (__strerror_r): Likewise.
16579         [IS_IN (rtld)] (__strsep_g): Likewise.
16580         [IS_IN (rtld)] (memchr): Likewise.
16581         [IS_IN (rtld)] (memcmp): Likewise.
16582         [IS_IN (rtld)] (memcpy): Likewise.
16583         [IS_IN (rtld)] (memmove): Likewise.
16584         [IS_IN (rtld)] (memset): Likewise.
16585         [IS_IN (rtld)] (rawmemchr): Likewise.
16586         [IS_IN (rtld)] (stpcpy): Likewise.
16587         [IS_IN (rtld)] (strchr): Likewise.
16588         [IS_IN (rtld)] (strcmp): Likewise.
16589         [IS_IN (rtld)] (strlen): Likewise.
16590         [IS_IN (rtld)] (strnlen): Likewise.
16591         [IS_IN (rtld)] (strsep): Likewise.
16593         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16594         attribute_hidden.
16595         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16597         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16598         attribute_hidden.
16599         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16601         * include/setjmp.h (__longjmp): Add attribute_hidden.
16602         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16604         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16605         Add attribute_hidden.
16607         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16608         [IS_IN (rtld)] (__open): Likewise.
16609         [IS_IN (rtld)] (__fcntl): Likewise.
16611         * include/dirent.h (__opendirat): Add attribute_hidden.
16612         (__getdents): Likewise.
16613         (__getdents64): Likewise.
16614         (__alloc_dir): Likewise.
16615         [IS_IN (rtld)] (__closedir): Likewise.
16616         [IS_IN (rtld)] (__fdopendir): Likewise.
16617         [IS_IN (rtld)] (__readdir): Likewise.
16618         [IS_IN (rtld)] (__readdir64): Likewise.
16619         [IS_IN (rtld)] (__rewinddir): Likewise.
16621         * include/dlfcn.h (_dl_catch_error): Moved to ...
16622         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16623         attribute_hidden.
16625         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16626         (_itoa_word): Likewise.
16628         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16629         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16630         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16631         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16632         (_dl_higher_prime_number): Likewise.
16633         (_dl_debug_printf_c): Likewise.
16634         (_dl_signal_cerror): Likewise.
16635         (_dl_receive_error): Likewise.
16636         (_dl_reloc_bad_type): Likewise.
16637         (_dl_resolve_conflicts): Likewise.
16638         (_dl_check_all_versions): Likewise.
16639         (_dl_check_map_versions): Likewise.
16640         (_dl_sort_fini): Likewise.
16641         (_dl_debug_initialize): Likewise.
16642         (_dl_init_paths): Likewise.
16643         (_dl_show_auxv): Likewise.
16644         (_dl_next_ld_env_entry): Likewise.
16645         (_dl_important_hwcaps): Likewise.
16646         (_dl_load_cache_lookup): Likewise.
16647         (_dl_update_slotinfo): Likewise.
16648         (_dl_show_scope): Likewise.
16650         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16651         attribute_hidden.
16652         (_wordcopy_fwd_dest_aligned): Likewise.
16653         (_wordcopy_bwd_aligned): Likewise.
16654         (_wordcopy_bwd_dest_aligned): Likewise.
16656         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16657         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16658         Likewise.
16659         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16660         Likewise.
16661         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16663 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16666         GCC 5 requirement.
16668 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16670         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16671         test.
16672         * sysdeps/i386/configure: Regenerated.
16673         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16674         code unconditional.
16676         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16677         test.
16678         (libc_cv_asm_popsection_directive): Likewise.
16679         * configure: Regenerated.
16680         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16681         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16682         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16683         (__make_section_unallocated): Make definition unconditional.
16684         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16685         Remove conditional definition.
16686         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16687         (__make_section_unallocated): Likewise.
16689         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16690         * configure: Regenerated.
16691         * config.make.in (static-libgcc): Remove variable.
16692         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16693         $(static-libgcc).
16694         (build-module-helper): Likewise.
16696         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16697         * configure: Regenerated.
16699 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16701         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16702         (struct char_buffer): New type.
16703         (char_buffer_start, char_buffer_size, char_buffer_error)
16704         (char_buffer_rewind, char_buffer_add): New functions.
16705         (ADDW): Remove macro, replaced by the char_buffer_add function.
16706         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16707         of extend_alloca.  Make control flow more explicit.
16709 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16711         [BZ #19137]
16712         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16713         Add -fomit-frame-pointer.
16714         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16716 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16718         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16719         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16720         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16721         only if !__GNUC_PREREQ (5,0).
16722         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16723         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16724         (INTERNAL_SYSCALL_NCS): Likewise.
16725         (LOADREGS_0): New macro for GCC 5.
16726         (ASMARGS_0): Likewise.
16727         (LOADREGS_1): Likewise.
16728         (ASMARGS_1): Likewise.
16729         (LOADREGS_2): Likewise.
16730         (ASMARGS_2): Likewise.
16731         (LOADREGS_3): Likewise.
16732         (ASMARGS_3): Likewise.
16733         (LOADREGS_4): Likewise.
16734         (ASMARGS_4): Likewise.
16735         (LOADREGS_5): Likewise.
16736         (ASMARGS_5): Likewise.
16737         (LOADREGS_6): Likewise.
16738         (ASMARGS_6): Likewise.
16740 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16742         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16743         -fomit-frame-pointer.
16744         (CFLAGS-mmap64.c): Likewise.
16745         (CFLAGS-semtimedop.c): Likewise.
16746         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16747         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16748         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16749         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16751 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16753         [BZ #18928]
16754         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16755         _dl_pointer_guard member.
16756         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16757         initializer.
16758         (security_init): Always set up pointer guard.
16759         (process_envvars): Do not process LD_POINTER_GUARD.
16761 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16763         [BZ #19134]
16764         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16765         (.LC2): Likewise.
16766         (.LC3): Likewise.
16767         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16769 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16771         [BZ #19129]
16772         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16773         r0 and r1.
16775 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16777         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16779 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16781         * include/stap-probe.h: Fix macro definition formatting.
16783 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16785         [BZ #19074]
16786         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16787         load and store num_ifs.
16789 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16791         [BZ #18822]
16792         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16793         (__sched_getaffinity_new): Add libc_hidden_proto and
16794         libc_hidden_def.
16796 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16798         [BZ #19007]
16799         * scripts/localplt.awk: Also allow GOT references.
16800         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16801         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16802         with "+ REL R_386_GLOB_DAT".
16803         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16804         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16806 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16808         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16809         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16810         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16811         Likewise.
16812         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16813         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16814         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16815         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16816         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16817         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16818         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16819         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16820         Likewise.
16821         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16823 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16825         [BZ #19125]
16826         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16827         <math_private.h> and <stdint.h>.
16828         (__llround): Avoid conversions to and from long long int, and
16829         subtractions, where those might raise spurious exceptions.
16830         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16831         <math_private.h> and <stdint.h>.
16832         (__llroundf): Avoid conversions to and from long long int, and
16833         subtractions, where those might raise spurious exceptions.
16835 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16837         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16838         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16839         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16840         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16841         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16842         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16843         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16844         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16845         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16846         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16847         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16848         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16849         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16850         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16851         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16852         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16853         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16854         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16855         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16856         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16857         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16858         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16859         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16860         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16861         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16862         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16863         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16864         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16865         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16866         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16867         (__xstat64_conv): Likewise.
16868         (__xstat32_conv): Likewise.
16870 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16872         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16873         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16874         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16875         <sysdeps/unix/sysv/linux/sysdep.h>.
16876         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16877         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16878         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16879         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16880         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16881         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16882         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16883         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16884         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16887         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16888         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16889         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16890         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16892         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16893         (sysdep-dl-routines): Add sysdep.
16894         [$(subdir) == nptl] (libpthread-routines): Likewise.
16895         [$(subdir) == rt] (librt-routines): Likewise.
16896         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16897         PIC when branching to SYSCALL_ERROR_LABEL.
16898         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16899         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16900         <sysdeps/unix/sysv/linux/sysdep.h>.
16901         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16902         (SYSCALL_ERROR_ERRNO): Removed.
16903         (SYSCALL_ERROR_HANDLER): Changed to empty.
16904         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16905         (__syscall_error): New prototype.
16906         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16907         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16909 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16911         [BZ #19124]
16912         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16913         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16914         _dl_runtime_resolve_avx.
16915         (_dl_runtime_profile_avx512): Make it a hidden alias of
16916         _dl_runtime_profile_avx.
16918 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16920         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16921         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16922         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16923         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16925         [BZ #16422]
16926         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16927         New configure test.
16928         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16929         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16930         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16931         <math_private.h> and <stdint.h>.
16932         (__llrint): Avoid conversions to long long int where those might
16933         raise spurious exceptions.
16934         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16935         <math_private.h> and <stdint.h>.
16936         (__llrintf): Avoid conversions to long long int where those might
16937         raise spurious exceptions.
16939 2015-10-12  Andreas Schwab  <schwab@suse.de>
16941         [BZ #18969]
16942         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16943         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16944         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16945         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16946         $(gen-locales).
16947         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16948         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16949         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16950         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16951         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16952         $(gen-locales).
16953         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16954         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16955         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16956         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16957         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16958         ($(objpfx)tst-ftell-active-handler.out)
16959         ($(objpfx)tst-ftell-append.out)
16960         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16961         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16962         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16963         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16964         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16965         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16966         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16967         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16968         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16969         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16970         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16971         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16972         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16973         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16974         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16975         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16976         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16977         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16978         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16979         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16980         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16981         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16982         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16983         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16984         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16985         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16986         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16987         $(gen-locales).
16988         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16989         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16990         $(gen-locales).
16991         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16992         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16993         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16994         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16995         $(gen-locales).
16996         * libio/tst_wprintf2.c (main): Use explicit locale.
16997         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16999 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17001         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
17002         __msg_sig_post.
17003         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
17005 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
17007         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17008         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17010         * sysdeps/arm/libm-test-ulps: Regenerated.
17012         [BZ #15470]
17013         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
17015         [BZ #16399]
17016         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
17017         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
17018         and <fix-fp-int-convert-overflow.h>.
17019         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17020         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17021         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
17022         and <fix-fp-int-convert-overflow.h>.
17023         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
17024         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17025         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
17026         <fix-fp-int-convert-overflow.h>.
17027         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17028         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17029         * sysdeps/ieee754/dbl-64/s_lround.c: Include
17030         <fix-fp-int-convert-overflow.h>.
17031         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
17032         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17033         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
17034         and <fix-fp-int-convert-overflow.h>.
17035         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17036         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17037         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
17038         <limits.h> and <fix-fp-int-convert-overflow.h>.
17039         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17040         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17041         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
17042         and <fix-fp-int-convert-overflow.h>.
17043         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17044         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17045         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
17046         and <fix-fp-int-convert-overflow.h>.
17047         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17048         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17049         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
17051 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
17053         [BZ #18589]
17054         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
17055         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
17056         $(gen-locales).
17058 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17059             Phil Blundell <pb@pbcl.net>
17061         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
17062         * nptl/tst-cancel26.c: New file.
17063         * nptl/tst-cancel27.c: Likewise.
17065 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
17067         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
17068         __ILP32__ isn't defined.
17069         (lrint): Likewise.
17070         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
17071         (lrintf): Likewise.
17072         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
17073         (lrintl): Likewise.
17074         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
17075         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
17076         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
17078 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17080         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17081         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17083         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
17084         file.
17085         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
17086         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17088 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
17090         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
17091         configure test.
17092         * sysdeps/i386/configure: Regenerated.
17093         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
17094         configure test.
17095         * sysdeps/x86_64/configure: Regenerated.
17096         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
17097         Make code unconditional.
17099         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
17100         test.
17101         * sysdeps/i386/configure: Regenerated.
17102         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
17103         test.
17104         * sysdeps/x86_64/configure: Regenerated.
17105         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
17106         Make code unconditional.
17107         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17108         Likewise.
17109         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
17110         Likewise.
17111         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17112         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
17113         code unconditional.
17114         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17115         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
17116         code unconditional.
17117         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17118         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
17119         code unconditional.
17120         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
17121         code unconditional.
17122         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17123         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
17124         code unconditional.
17125         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17126         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
17127         code unconditional.
17128         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17129         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
17130         code unconditional.
17131         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17132         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
17133         code unconditional.
17134         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17135         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
17137         [BZ #19095]
17138         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
17139         mantissa to long int before shifting left.
17141 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
17143         [BZ #19094]
17144         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
17145         <limits.h>.
17146         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17147         when result overflows but exception would not result from cast.
17148         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
17149         <limits.h>.
17150         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17151         when result overflows but exception would not result from cast.
17152         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
17153         <limits.h>.
17154         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17155         when result overflows but exception would not result from cast.
17156         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
17157         <limits.h>.
17158         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17159         when result overflows but exception would not result from cast.
17160         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
17161         <limits.h>.
17162         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17163         when result overflows but exception would not result from cast.
17164         * math/libm-test.inc (lrint_test_data): Add more tests.
17165         (llrint_test_data): Likewise.
17167 2015-10-08  Roland McGrath  <roland@hack.frob.com>
17169         [BZ #18872]
17170         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
17171         Move out from under [$(run-built-tests) = yes] conditional.
17172         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
17173         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
17175 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
17177         [BZ #18589]
17178         * string/Makefile (tests): Add bug-strcoll2.
17179         (LOCALES): Add cs_CZ.UTF-8.
17180         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
17182         [BZ #18589]
17183         * string/bug-strcoll2.c: New file.
17184         * locale/categories.def: Revert commit
17185         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
17186         * locale/langinfo.h: Likewise.
17187         * locale/localeinfo.h: Likewise.
17188         * locale/C-collate.c: Likewise.
17189         * locale/programs/ld-collate.c (collate_output): Likewise.
17190         * string/strcoll_l.c (STRDIFF): Likewise.
17191         (STRCOLL): Likewise.
17192         * wcsmbs/wcscoll_l.c: Likewise.
17194 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
17196         * math/libm-test.inc (lround_test_data): Do not expect the absence
17197         of "inexact" for some tests with non-integer arguments.
17198         (llround_test_data): Likewise.
17200         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
17201         test.
17202         (libc_cv_cc_sse2avx): Likewise.
17203         * sysdeps/i386/configure: Regenerated.
17204         * sysdeps/i386/i686/multiarch/Makefile
17205         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
17206         [$(subdir) = math].
17207         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
17208         code unconditional.
17209         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17210         Likewise.
17211         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
17212         Likewise.
17213         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17214         Likewise.
17215         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
17216         test.
17217         (libc_cv_cc_sse2avx): Likewise.
17218         * sysdeps/x86_64/configure: Regenerated.
17219         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
17220         unconditional.
17221         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
17222         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
17223         unconditional.
17224         (_dl_runtime_profile)
17225         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
17226         conditional code.
17227         * sysdeps/x86_64/fpu/multiarch/Makefile
17228         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
17229         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17230         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17231         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17232         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17233         * sysdeps/x86_64/fpu/multiarch/e_log.c
17234         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17235         * sysdeps/x86_64/fpu/multiarch/s_atan.c
17236         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17237         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17238         Likewise.
17239         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17240         Likewise.
17241         * sysdeps/x86_64/fpu/multiarch/s_sin.c
17242         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17243         * sysdeps/x86_64/fpu/multiarch/s_tan.c
17244         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17245         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
17246         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
17247         (HAVE_SSE2AVX_SUPPORT): Likewise.
17249 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
17251         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
17252         instead of #pragma optimize.
17254 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17256         [BZ #17195]
17257         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
17258         as is similarly done in systrim and _int_free already.
17260 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17262         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
17264 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17266         [BZ #19088]
17267         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
17268         <limits.h>.
17269         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17270         overflows but exception would not result from cast.
17271         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
17272         and <limits.h>.
17273         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17274         overflows but exception would not result from cast.
17275         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
17276         <limits.h>.
17277         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17278         overflows but exception would not result from cast.
17279         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
17280         <limits.h>.
17281         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17282         overflows but exception would not result from cast.
17283         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
17284         <limits.h>.
17285         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17286         overflows but exception would not result from cast.
17287         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
17288         <limits.h>.
17289         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17290         overflows but exception would not result from cast.
17291         * math/libm-test.inc (lround_test_data): Add more tests.
17292         (llround_test_data): Likewise.
17294 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
17296         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17297         (CFLAGS-ialloc.c): Ditto.
17298         (CFLAGS-scheck.c): Ditto.
17300 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17302         [BZ #19086]
17303         * manual/filesys.texi (Storage Allocation): Fix argument order for
17304         posix_fallocate64.
17306 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17308         [BZ #19085]
17309         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17310         exponent below 48 inside case for non-overflowing exponent.
17311         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17313 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17315         * iconvdata/cp737.h (from_idx): Add const.
17316         * iconvdata/cp775.h (from_idx): Likewise.
17318 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17320         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17321         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17322         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17324         [BZ #19079]
17325         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17326         file, conditioned on [!_LP64].
17327         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17328         [!_LP64] (__lround): Do not define as function or alias.
17329         [!_LP64] (lround): Likewise.
17330         [!_LP64] (__lroundl): Likewise.
17331         [!_LP64] (lroundl): Likewise.
17332         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17333         macro.
17334         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17335         Likewise.
17337 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17339         * math/libm-test.inc (lrint_test_data): Add more tests.
17340         (llrint_test_data): Likewise.
17341         (lround_test_data): Likewise.
17342         (llround_test_data): Likewise.
17344         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17345         (llrint_test_data): Add tests used for lrint.
17347         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17348         test.
17349         * sysdeps/i386/configure: Regenerated.
17350         * sysdeps/i386/i686/multiarch/Makefile
17351         [$(config-cflags-sse4) = yes]: Make code unconditional.
17352         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17353         Likewise.
17354         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17355         Likewise.
17356         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17357         test.
17358         * sysdeps/x86_64/configure: Regenerated.
17359         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17360         Make code unconditional.
17361         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17362         Likewise.
17363         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17364         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17366         * scripts/rpm2dynsym.sh: Remove file.
17368 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17370         * configure.ac (libc_cv_cxx_thread_local): Define.
17371         * configure: Regenerate.
17372         * config.make.in (have-cxx-thread_local): Define.
17373         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17374         (LDLIBS-tst-thread_local1): Define.
17375         (tests): Add tst-thread_local1.
17376         [have-cxx-thread_local != yes] (tests-unsupported): Add
17377         tst-thread_local1.
17378         * nptl/tst-thread_local1.cc: New file.
17380 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17382         [BZ #19078]
17383         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17384         (u_thres): Likewise.
17385         (__expl): Determine whether to call __kernel_standard_l based on
17386         value of result, not argument.
17388         * math/libm-test.inc (scalb_test_data): Add more expectations for
17389         the "inexact" exception.
17391         [BZ #19077]
17392         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17393         0.0L for argument 1.0L.
17395         [BZ #19076]
17396         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17397         constant 0.0L when computing infinite result.
17399 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17401         [BZ #10432]
17402         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17403         malloc_usable_size.
17405 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17407         [BZ #19018]
17408         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17409         Mangle function pointer before storing it.
17410         (__call_tls_dtors): Demangle function pointer before calling it.
17412 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17414         [BZ #19012]
17415         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17416         Clean up on failure.
17418 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17420         [BZ #19071]
17421         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17422         long int variable to store possibly incremented high part of
17423         mantissa.
17424         * math/libm-test.inc (lround_test_data): Add tests used for
17425         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17426         for tests requiring 64-bit long.  Do not condition tests on
17427         [TEST_FLOAT] unnecessarily.
17428         (llround_test_data): Add tests used for lround.  Add another
17429         expectation for the "inexact" exception.  Do not condition tests
17430         on [TEST_FLOAT] unnecessarily.
17432         [BZ #887]
17433         [BZ #19049]
17434         [BZ #19050]
17435         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17436         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17437         <fix-int-fp-convert-zero.h>.
17438         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17439         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17440         <fix-int-fp-convert-zero.h>.
17441         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17442         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17443         <fix-int-fp-convert-zero.h>.
17444         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17445         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17446         <fix-int-fp-convert-zero.h>.
17447         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17448         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17449         <fix-int-fp-convert-zero.h>.
17450         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17451         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17452         <fix-int-fp-convert-zero.h>.
17453         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17454         * sysdeps/ieee754/flt-32/s_erff.c: Include
17455         <fix-int-fp-convert-zero.h>.
17456         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17457         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17458         <fix-int-fp-convert-zero.h>.
17459         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17460         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17461         <fix-int-fp-convert-zero.h>.
17462         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17463         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17464         <fix-int-fp-convert-zero.h>.
17465         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17466         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17467         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17468         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17469         file.
17470         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17472 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17476 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17478         [BZ #19059]
17479         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17480         overflowing computation.
17481         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17482         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17483         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17484         Likewise.
17485         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17486         Likewise.
17487         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17488         Likewise.
17489         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17490         Likewise.
17491         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17492         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17493         Likewise.
17494         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17495         Likewise.
17496         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17498         * nss/rewrite_field.c (__nss_rewrite_field): Use
17499         internal_function.
17500         * nss/valid_field.c (__nss_valid_field): Likewise.
17501         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17503 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17505         [BZ #18724]
17506         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17507         (__nss_invalid_field_characters, __nss_valid_field)
17508         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17509         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17510         tst-field.c: New file.
17511         * nss/Makefile (routines): Add valid_field, rewrite_field.
17512         (tests-static): Define unconditionally.
17513         (tests): Include tests-static.
17514         [build-static-nss] (tests-static): Use append.
17515         [build-static-nss] (tests): Remove modification.
17516         * nss/getent.c (print_group): Call putgrent.  Report error.
17517         (print_gshadow): Call putsgent.  Report error.
17518         (print_passwd): Call putpwent.  Report error.
17519         (print_shadow): Call putspent.  Report error.
17520         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17521         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17522         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17523         name, password, directory, shell fields for valid syntax.  Rewrite
17524         GECOS field to match syntax.
17525         * pwd/Makefile (tests): Add tst-putpwent.
17526         * pwd/tst-putpwent.c: New file.
17527         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17528         Check grName, grpasswd, gr_mem fields for valid syntax.
17529         Change loop variable i to size_t.
17530         * grp/Makefile (tests): Add tst-putgrent.
17531         * grp/tst-putgrent.c: New file.
17532         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17533         valid syntax.
17534         * shadow/Makefile (tests): Add tst-putspent.
17535         * shadow/tst-putspent.c: New file.
17536         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17537         sg_mem fields for valid syntax.
17538         * gshadow/Makefile (tests): Add tst-putsgent.
17539         * gshadow/tst-putsgent.c: New file.
17541 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17543         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17544         assembly instructions.
17546 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17548         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17549         prefix from operands.
17551 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17553         [BZ #16347]
17554         [BZ #19046]
17555         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17556         <libc-internal.h>.
17557         (MAXLGM): Do not use diagnostic control macros.
17558         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17559         threshold for ldbl-128ibm.
17560         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17561         instead of multiplying by log then subtracting.
17562         * math/auto-libm-test-in: Add more tests of lgamma.
17563         * math/auto-libm-test-out: Regenerated.
17565         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17566         (TYPE_HEX_DIG): Likewise.
17567         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17568         precisions when printing floating-point numbers.
17569         (check_float_internal): Likewise.
17571 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17573         [BZ #16620]
17574         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17575         of log (10) rounded downward to 48 bits.
17576         (log10_low): Use corresponding low part of log (10).
17578         [BZ #19032]
17579         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17580         compute result as (x - x) / (x - x) not as 0 / 0.
17581         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17582         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17584         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17585         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17586         and expm1.
17587         * math/auto-libm-test-out: Regenerated.
17588         * math/libm-test.inc (acos_test_data): Add more tests.
17589         (asin_test_data): Likewise.
17590         (asinh_test_data): Likewise.
17591         (atan_test_data): Likewise.
17592         (atanh_test_data): Likewise.
17593         (atan2_test_data): Likewise.
17594         (cbrt_test_data): Likewise.
17595         (ceil_test_data): Likewise.
17596         (copysign_test_data): Likewise.
17597         (cos_test_data): Likewise.
17598         (cosh_test_data): Likewise.
17599         (erf_test_data): Likewise.
17600         (erfc_test_data): Likewise.
17601         (exp_test_data): Likewise.
17602         (exp10_test_data): Likewise.
17603         (exp2_test_data): Likewise.
17604         (expm1_test_data): Likewise.
17605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17607 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17609         [BZ #19006]
17610         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17611         to ...
17612         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17613         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17614         to ...
17615         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17616         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17617         to ...
17618         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17619         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17620         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17621         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17622         to ...
17623         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17624         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17625         Moved to ...
17626         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17627         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17628         Moved to ...
17629         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17630         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17631         to ...
17632         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17633         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17634         Moved to ...
17635         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17636         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17637         to ...
17638         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17639         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17640         Removed.
17641         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17642         Likewise.
17643         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17644         Likewise.
17645         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17646         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17647         Likewise.
17648         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17649         Likewise.
17650         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17651         Likewise.
17652         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17653         Likewise.
17654         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17655         Likewise.
17656         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17657         Likewise.
17658         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17659         Likewise.
17660         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17661         Likewise.
17662         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17663         Likewise.
17664         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17665         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17666         Likewise.
17667         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17668         Likewise.
17669         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17670         Likewise.
17671         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17672         Likewise.
17673         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17674         Likewise.
17675         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17676         Replace ../i486/pthread_cond_timedwait.S with
17677         ../pthread_cond_timedwait.S.
17679 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17681         * math/libm-test.inc (acos_test_data): Refine expectations for
17682         errno and "inexact" exceptions.
17683         (acosh_test_data): Likewise.
17684         (asin_test_data): Likewise.
17685         (asinh_test_data): Likewise.
17686         (atan_test_data): Likewise.
17687         (atanh_test_data): Likewise.
17688         (atan2_test_data): Likewise.
17689         (cbrt_test_data): Likewise.
17690         (ceil_test_data): Likewise.
17691         (copysign_test_data): Likewise.
17692         (cosh_test_data): Likewise.
17693         (erf_test_data): Likewise.
17694         (erfc_test_data): Likewise.
17695         (exp_test_data): Likewise.
17696         (exp10_test_data): Likewise.
17697         (exp2_test_data): Likewise.
17698         (expm1_test_data): Likewise.
17699         (fabs_test_data): Likewise.
17700         (floor_test_data): Likewise.
17701         (fma_test_data): Likewise.
17702         (fmax_test_data): Likewise.
17703         (fmin_test_data): Likewise.
17704         (fmod_test_data): Likewise.
17705         (fpclassify_test_data): Likewise.
17706         (frexp_test_data): Likewise.
17707         (hypot_test_data): Likewise.
17708         (ilogb_test_data): Likewise.
17709         (isgreater_test_data): Likewise.
17710         (isgreaterequal_test_data): Likewise.
17711         (isinf_test_data): Likewise.
17712         (isless_test_data): Likewise.
17713         (islessequal_test_data): Likewise.
17714         (islessgreater_test_data): Likewise.
17715         (isnan_test_data): Likewise.
17716         (isnormal_test_data): Likewise.
17717         (issignaling_test_data): Likewise.
17718         (isunordered_test_data): Likewise.
17719         (j0_test_data): Likewise.
17720         (j1_test_data): Likewise.
17721         (jn_test_data): Likewise.
17722         (lgamma_test_data): Likewise.
17723         (lrint_test_data): Likewise.
17724         (llrint_test_data): Likewise.
17725         (log_test_data): Likewise.
17726         (log10_test_data): Likewise.
17727         (log1p_test_data): Likewise.
17728         (log2_test_data): Likewise.
17729         (logb_test_data): Likewise.
17730         (lround_test_data): Likewise.
17731         (llround_test_data): Likewise.
17732         (modf_test_data): Likewise.
17733         (nearbyint_test_data): Likewise.
17734         (nextafter_test_data): Likewise.
17735         (nexttoward_test_data): Likewise.
17736         (pow_test_data): Likewise.
17737         (remainder_test_data): Likewise.
17738         (remquo_test_data): Likewise.
17739         (rint_test_data): Likewise.
17740         (round_test_data): Likewise.
17741         (signbit_test_data): Likewise.
17742         (sinh_test_data): Likewise.
17743         (sqrt_test_data): Likewise.
17744         (tanh_test_data): Likewise.
17745         (tgamma_test_data): Likewise.
17746         (trunc_test_data): Likewise.
17747         (y0_test_data): Likewise.
17748         (y1_test_data): Likewise.
17749         (yn_test_data): Likewise.
17750         (significand_test_data): Likewise.
17752 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17754         * manual/filesys.texi (Storage Allocation): Document that
17755         posix_fallocate emulation fails when fd is open with O_WRONLY.
17757 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17759         [BZ #19016]
17760         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17761         allow more cases with X^2 + Y^2 >= 0.5.
17762         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17763         normal element in sum instead of special-casing based on values of
17764         arguments.
17765         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17766         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17767         -1 as normal element in sum instead of special-casing based on
17768         values of arguments.
17769         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17770         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17771         (__x2y2m1): Update comment.
17772         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17773         as normal element in sum instead of special-casing based on values
17774         of arguments.
17775         * math/s_clog.c (__clog): Handle more cases using log1p without
17776         hypot.
17777         * math/s_clog10.c (__clog10): Likewise.
17778         * math/s_clog10f.c (__clog10f): Likewise.
17779         * math/s_clog10l.c (__clog10l): Likewise.
17780         * math/s_clogf.c (__clogf): Likewise.
17781         * math/s_clogl.c (__clogl): Likewise.
17782         * math/auto-libm-test-in: Add more tests of clog and clog10.
17783         * math/auto-libm-test-out: Regenerated.
17784         * sysdeps/i386/fpu/libm-test-ulps: Update.
17785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17787 2015-09-28  Martin Sebor  <msebor@redhat.com>
17789         [BZ #18969]
17790         * string/Makefile (LOCALES): Define.
17791         (gen-locales.mk): Include.
17792         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17793         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17794         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17795         on setlocale failure.
17797 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17799         [BZ #18985]
17800         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17801         (__strftime_internal): Likewise.
17802         * time/tst-strftime.c (do_bz18985): New test.
17803         (do_test): Call it.
17805 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17807         [BZ #18956]
17808         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17809         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17810         extracting high part.
17811         * math/auto-libm-test-in: Add another test of pow.
17812         * math/auto-libm-test-out: Regenerated.
17813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17815 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17817         [BZ #18825]
17818         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17819         New macro.
17820         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17821         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17822         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17823         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17824         DBL_NARROW_EVAL, reloading the PIC register as needed.
17825         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17826         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17827         FLT_NARROW_EVAL.  Use separate return path for case when first
17828         argument is NaN.
17829         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17830         DEFINE_LDBL_MIN.
17831         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17832         PIC register.
17833         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17834         math_check_force_underflow_nonneg.
17835         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17836         underflow for subnormal result.
17837         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17838         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17839         math_check_force_underflow_nonneg.
17840         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17841         math_check_force_underflow.
17842         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17843         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17844         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17845         DEFINE_LDBL_MIN.
17846         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17847         * math/auto-libm-test-in: Add more tests of pow.
17848         * math/auto-libm-test-out: Regenerated.
17850 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17852         * nss/bug17079.c (init_test_items): Add diagnostic for
17853         inconsistent entries.
17854         (test_buffer_size): Skip inconsistent entries.
17856 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17858         [BZ #13304]
17859         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17860         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17861         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17863         [BZ #13304]
17864         * sysdeps/microblaze/s_fma.c: New file.
17865         * sysdeps/microblaze/s_fmaf.c: Likewise.
17866         * sysdeps/microblaze/sfp-machine.h: Likewise.
17868 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17870         [BZ #17250]
17871         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17872         member.
17874 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17876         [BZ #18803]
17877         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17878         (MO): New macro.
17879         (__ieee754_hypot) [PIC]: Load PIC register.
17880         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17881         DBL_NARROW_EVAL.
17882         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17883         math_check_force_underflow_nonneg in case where result might be
17884         tiny.
17885         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17886         Likewise.
17887         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17888         Likewise.
17889         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17890         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17891         * math/auto-libm-test-in: Add more tests of hypot.
17892         * math/auto-libm-test-out: Regenerated.
17894 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17896         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17898 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17900         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17901         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17902         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17903         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17904         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17905         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17906         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17908         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17909         LOAD_PIC_REG.
17911         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17912         (FLT_CHECK_FORCE_UFLOW): Likewise.
17913         (DBL_CHECK_FORCE_UFLOW): Likewise.
17914         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17915         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17916         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17917         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17918         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17919         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17920         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17921         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17922         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17923         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17924         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17925         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17926         (flt_min): Replace with use of DEFINE_FLT_MIN.
17927         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17928         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17929         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17930         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17931         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17932         (flt_min): Replace with use of DEFINE_FLT_MIN.
17933         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17934         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17935         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17936         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17937         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17938         (flt_min): Replace with use of DEFINE_FLT_MIN.
17939         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17940         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17941         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17942         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17943         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17944         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17945         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17946         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17947         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17948         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17949         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17950         (flt_min): Replace with use of DEFINE_FLT_MIN.
17951         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17952         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17953         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17954         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17955         main computation.
17956         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17957         (flt_min): Replace with use of DEFINE_FLT_MIN.
17958         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17959         main computation.
17960         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17961         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17962         (MO): New macro.
17963         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17964         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17965         (flt_min): Replace with use of DEFINE_FLT_MIN.
17966         (MO): New macro.
17967         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17968         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17969         (__log1pl): Use MO.
17971         [BZ #19003]
17972         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17973         $(config-cflags-nofma).
17975 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17977         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17979 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17981         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17982         (TWO127): Likewise.
17984         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17985         (min_of_type): Likewise.
17986         (math_check_force_underflow): Likewise.
17987         (math_check_force_underflow_nonneg): Likewise.
17988         (math_check_force_underflow_complex): Likewise.
17989         * math/e_exp2l.c (__ieee754_exp2l): Use
17990         math_check_force_underflow_nonneg.
17991         * math/k_casinh.c (__kernel_casinh): Likewise.
17992         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17993         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17994         * math/s_catan.c (__catan): Use
17995         math_check_force_underflow_complex.
17996         * math/s_catanf.c (__catanf): Likewise.
17997         * math/s_catanh.c (__catanh): Likewise.
17998         * math/s_catanhf.c (__catanhf): Likewise.
17999         * math/s_catanhl.c (__catanhl): Likewise.
18000         * math/s_catanl.c (__catanl): Likewise.
18001         * math/s_ccosh.c (__ccosh): Likewise.
18002         * math/s_ccoshf.c (__ccoshf): Likewise.
18003         * math/s_ccoshl.c (__ccoshl): Likewise.
18004         * math/s_cexp.c (__cexp): Likewise.
18005         * math/s_cexpf.c (__cexpf): Likewise.
18006         * math/s_cexpl.c (__cexpl): Likewise.
18007         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
18008         * math/s_clog10.c (__clog10): Likewise.
18009         * math/s_clog10f.c (__clog10f): Likewise.
18010         * math/s_clog10l.c (__clog10l): Likewise.
18011         * math/s_clogf.c (__clogf): Likewise.
18012         * math/s_clogl.c (__clogl): Likewise.
18013         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
18014         * math/s_csinf.c (__csinf): Likewise.
18015         * math/s_csinh.c (__csinh): Likewise.
18016         * math/s_csinhf.c (__csinhf): Likewise.
18017         * math/s_csinhl.c (__csinhl): Likewise.
18018         * math/s_csinl.c (__csinl): Likewise.
18019         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
18020         * math/s_csqrtf.c (__csqrtf): Likewise.
18021         * math/s_csqrtl.c (__csqrtl): Likewise.
18022         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
18023         * math/s_ctanf.c (__ctanf): Likewise.
18024         * math/s_ctanh.c (__ctanh): Likewise.
18025         * math/s_ctanhf.c (__ctanhf): Likewise.
18026         * math/s_ctanhl.c (__ctanhl): Likewise.
18027         * math/s_ctanl.c (__ctanl): Likewise.
18028         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
18029         instead of volatile.
18030         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
18031         math_check_force_underflow.
18032         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18033         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
18034         volatile when forcing underflow.
18035         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18036         math_check_force_underflow_nonneg.
18037         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
18038         Likewise.
18039         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
18040         math_check_force_underflow.
18041         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18042         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18043         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18044         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
18045         math_check_force_underflow_nonneg.
18046         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
18047         math_check_force_underflow.
18048         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
18049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
18050         instead of volatile.
18051         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
18052         math_check_force_underflow.
18053         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18054         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18055         math_check_force_underflow_nonneg.
18056         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
18057         math_check_force_underflow.
18058         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18059         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18060         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
18061         math_check_force_underflow_nonneg.
18062         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18063         Likewise.
18064         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
18065         math_check_force_underflow.
18066         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18067         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18068         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
18069         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
18070         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18071         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
18072         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
18073         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
18074         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18075         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
18076         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18077         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
18078         Likewise.
18079         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
18080         math_check_force_underflow_nonneg.
18081         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18082         Likewise.
18083         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
18084         math_check_force_underflow.
18085         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18086         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
18087         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18088         Likewise.
18089         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
18090         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
18091         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
18092         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
18093         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
18094         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
18095         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
18096         instead of volatile.
18097         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
18098         math_check_force_underflow.
18099         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
18100         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
18101         math_check_force_underflow.
18102         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
18103         Likewise.
18104         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18105         Use math_check_force_underflow_nonneg.
18106         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
18107         math_check_force_underflow.
18108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18109         Likewise.
18110         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18111         Likewise.
18112         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18113         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18114         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18115         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18116         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
18117         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18118         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18119         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18120         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
18121         math_check_force_underflow_nonneg.
18122         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
18123         math_check_force_underflow.
18124         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18125         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18126         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
18127         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
18128         math_check_force_underflow_nonneg.
18129         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
18130         math_check_force_underflow.
18131         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
18133         instead of volatile.
18134         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
18135         math_check_force_underflow.
18137         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
18138         * stdlib/strtod_l.c: Include <math_private.h>.
18139         (overflow_value): Use math_narrow_eval.
18140         (underflow_value): Likewise.
18141         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18142         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18143         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18144         (__ieee754_gamma_r): Likewise.
18145         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
18146         Likewise.
18147         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18148         Likewise.
18149         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
18150         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
18151         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
18152         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
18153         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18154         (__ieee754_gammaf_r): Likewise.
18155         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18156         Likewise.
18157         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
18158         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
18159         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
18160         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
18161         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
18162         volatile.
18163         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
18164         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
18165         math_narrow_eval.
18166         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18167         Likewise.
18168         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18169         Likewise.
18170         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
18171         Likewise.
18172         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
18173         volatile.
18174         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18175         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
18176         math_narrow_eval.
18177         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18178         Likewise.
18179         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18180         Likewise.
18182 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
18184         * nptl/Versions: Remove ignored symbols.
18186 2015-09-22  Florian Weimer  <fweimer@redhat.com>
18188         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
18189         * nss/Makefile (tests): Update.
18191 2015-09-22  Florian Weimer  <fweimer@redhat.com>
18193         * nss/bug18287.c: New file.
18194         * nss/Makefile (tests): Add bug18287.
18196 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18198         * mach/Versions (__mach_host_self_): Add symbol.
18200 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18202         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
18203         vm_page_size.
18205 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18207         Really fix sysdeps/i386/fpu/s_scalbn.S build
18209         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
18210         (libc: GLIBC_2_22): Remove unused version set.
18212 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18214         * config.make.in (enable-timezone-tools): New variable.
18215         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
18216         (enable_timezone_tools): Export to generated files.
18217         * configure: Regenerate.
18218         * INSTALL: Regenerate.
18219         * manual/install.texi (--disable-timezone-tools): Document new flag.
18220         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
18221         ifeq ($(enable-timezone-tools),yes) check.
18223 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18225         * timezone/Makefile: Revert previous change.
18227         [BZ #18980]
18228         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
18229         (DEFINE_DBL_MIN): Likewise.
18230         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18231         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18232         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18233         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18234         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
18235         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18236         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18237         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
18238         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
18239         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18240         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18241         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
18242         (flt_min): Replace with use of DEFINE_FLT_MIN.
18243         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18244         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
18245         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18246         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18247         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
18248         (flt_min): Replace with use of DEFINE_FLT_MIN.
18249         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18250         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
18251         (flt_min): Replace with use of DEFINE_FLT_MIN.
18252         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18253         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
18254         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
18255         (__ieee754_hypot): Use DBL_NARROW_EVAL.
18256         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
18257         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
18258         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
18259         (__ieee754_pow): Use DBL_NARROW_EVAL.
18260         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
18261         (__ieee754_powf): Use FLT_NARROW_EVAL.
18262         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
18263         (__ieee754_expf_sse2): Convert double-precision result to single
18264         precision.
18265         * sysdeps/i386/fpu/libm-test-ulps: Update.
18267 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18269         * timezone/Makefile: Ignore unused variable errors due to private.h
18270         (time_t_min) and (time_t_max).
18271         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
18272         Likewise.
18274 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18276         [BZ #18981]
18277         * sysdeps/i386/fpu/i386-math-asm.h: New file.
18278         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
18279         (__ieee754_scalb): Use DBL_NARROW_EVAL.
18280         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
18281         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
18282         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
18283         (__scalbn): Use DBL_NARROW_EVAL.
18284         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
18285         (__scalbnf): Use FLT_NARROW_EVAL.
18287 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18289         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
18290         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18291         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18292         * stdio-common/printf_fp.c (___printf_fp):
18293         Use signbit to get the sign. Use isinf macro to allow inlining.
18294         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18295         * stdio-common/printf_size.c (__printf_size): Likewise.
18297 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18299         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18301 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18303         [BZ #18980]
18304         * sysdeps/generic/math_private.h: Include <float.h>.
18305         (math_narrow_eval): New macro.
18306         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18307         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18308         math_narrow_eval on overflowing return value.
18309         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18310         Likewise.
18311         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18312         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18313         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18314         Likewise.
18315         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18317 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18319         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18320         * math/Makefile: Remove isinf_ns.c.
18321         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18322         * math/multc3.c (__multc3): Likewise.
18323         * math/s_casin.c (__casin): Likewise.
18324         * math/s_casinf.c (__casinf): Likewise.
18325         * math/s_casinl.c (__casinl): Likewise.
18326         * math/s_cproj.c (__cproj): Likewise.
18327         * math/s_cprojf.c (__cprojf): Likewise.
18328         * math/s_cprojl.c (__cprofl): Likewise.
18329         * math/s_ctan.c (__ctan): Likewise.
18330         * math/s_ctanf.c (__ctanf): Likewise.
18331         * math/s_ctanh.c (__ctanh): Likewise.
18332         * math/s_ctanhf.c (__ctanhf): Likewise.
18333         * math/s_ctanhl.c (__ctanhl): Likewise.
18334         * math/s_ctanl.c (__ctanl): Likewise.
18335         * math/w_fmod.c (__fmod): Likewise.
18336         * math/w_fmodf.c (__fmodf): Likewise.
18337         * math/w_fmodl.c (_fmodl): Likewise.
18338         * math/w_remainder.c (__remainder): Likewise.
18339         * math/w_remainderf.c (__remainderf): Likewise.
18340         * math/w_remainderl.c (__remainderl): Likewise.
18341         * math/w_scalb.c (__scalb): Likewise.
18342         * math/w_scalbf.c (__scalbf): Likewise.
18343         * math/w_scalbl.c (__scalbl): Likewise.
18344         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18345         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18346         with isinf.
18347         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18348         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18349         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18350         __isinf_nsf with isinf.
18351         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18352         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18353         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18354         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18355         with isinf.
18356         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18357         __isinf_nsl with isinf.
18358         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18359         with isinf.
18360         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18361         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18362         __isinf_nsl with isinf.
18363         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18364         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18365         with isinf.
18367 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18369         * resolv/base64.c (rcsid): Remove unused static.
18370         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18371         static.  (tqpi1): Likewise.
18372         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18373         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18374         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18375         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18376         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18377         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18378         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18379         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18380         Likewise.
18382 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18384         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18385         <nptl/pthreadP.h>.
18386         (_longjmp_unwind): Use __libc_ptf_call.
18387         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18389 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18391         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18392         * sysdeps/arm/__longjmp.S: Likewise.
18394 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18396         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18397         Use __builtin_signbit.
18398         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18399         Use __builtin_signbitf.
18400         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18401         Use __builtin_signbitl.
18402         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18403         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18405 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18407         [BZ #15367]
18408         [BZ #17441]
18410         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18411         * math/math.h (fpclassify): Use __builtin_fpclassify when
18412         available.  (signbit): Use __builtin_signbit(f/l).
18413         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18414         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18415         (isinf): Use __builtin_isinf_sign.
18417 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18419         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18420         * benchtests/bench-math-inlines.c: New benchmark.
18421         * benchtests/bench-util.h: New file.
18422         * benchtests/bench-util.c: New file.
18423         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18425 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18427         * elf/tst-dlmopen1.c: Define TEST_SO.
18428         (do_test): Use TEST_SO.
18430         * elf/dl-load.c: Include libc-internal.h.
18431         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18433 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18435         [BZ #17887]
18436         * time/strptime_l.c (__strptime_internal): Make %z accept
18437         [+-]HH:MM time zones.
18439 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18441         [BZ #17886]
18442         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18443         valid time zone.
18445 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18447         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18448         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18449         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18450         (__ASSUME_FDATASYNC): Delete.
18452 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18454         * conform/linknamespace.pl: Require weak undefined symbols to be
18455         in the standard namespace.
18456         (%strong_syms): Rename to %seen_syms.
18457         (%strong_seen): Rename to %seen_where.
18459 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18461         [BZ #18970]
18462         * misc/error.c (error): Replace pthread_setcancelstate with
18463         __pthread_setcancelstate.
18464         (error_at_line): Likewise.
18465         * posix/wordexp.c (parse_comm): Likewise.
18466         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18467         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18468         (__pthread_setcancelstate): This.
18469         (pthread_setcancelstate): Add an alias.
18470         * nptl/nptl-init.c (pthread_functions): Replace
18471         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18472         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18473         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18474         hidden_proto.
18475         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18476         it with hidden_def.
18477         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18478         (pthread_setcancelstate): Renamed to ...
18479         (__pthread_setcancelstate): This.
18480         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18481         __libc_ptf_call with __pthread_setcancelstate.
18483 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18484             Andreas Schwab  <schwab@suse.de>
18486         [BZ #17118]
18487         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18488         result when imaginary part of argument is infinite using sine and
18489         cosine.
18490         * math/s_ctanf.c (__ctanf): Likewise.
18491         * math/s_ctanl.c (__ctanl): Likewise.
18492         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18493         of result when real part of argument is infinite using sine and
18494         cosine.
18495         * math/s_ctanhf.c (__ctanhf): Likewise.
18496         * math/s_ctanhl.c (__ctanhl): Likewise.
18497         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18498         (ctanh_test_data): Add more tests of ctanh.
18500 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18502         [BZ #15384]
18503         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18504         bit-mask as in subtraction.
18505         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18506         Likewise.
18507         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18508         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18509         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18511         [BZ #18951]
18512         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18513         underflow exception for small results.
18514         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18515         Likewise.
18516         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18517         Likewise.
18518         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18519         Likewise.
18520         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18521         Likewise.
18522         * math/auto-libm-test-in: Add more tests of tgamma.
18523         * math/auto-libm-test-out: Regenerated.
18525 2015-09-17  Andreas Schwab  <schwab@suse.de>
18527         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18529 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18531         [BZ #18977]
18532         * math/bits/mathcalls.h
18533         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18534         not declare.
18535         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18536         Likewise.
18537         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18538         Likewise.
18539         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18540         Likewise.
18541         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18542         Likewise.
18543         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18544         Likewise.
18545         * conform/data/math.h-data
18546         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18547         function.
18548         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18549         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18550         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18551         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18552         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18553         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18554         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18555         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18556         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18557         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18558         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18560         [BZ #6803]
18561         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18562         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18563         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18564         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18565         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18566         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18567         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18568         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18569         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18570         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18571         Likewise.
18572         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18573         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18574         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18575         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18576         long_double_symbol calls.
18577         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18578         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18579         strong alias of __ldexpl.
18580         (scalbnl): Define using long_double_symbol.
18581         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18582         Remove alias.
18583         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18584         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18585         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18586         (scalbln_test_data): Add more errno expectations.
18588 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18590         Cache the host port like we cache the task port.  This way we do not
18591         need to call the kernel just to get the port.  Furthermore, we no
18592         longer increase the reference count on every invocation of
18593         `mach_host_self'.
18595         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18596         Protect declarations against the macro expansion.
18597         * mach/mach_init.c (__mach_host_self_): New variable.
18598         (mach_init): Initialize `__mach_host_self_'.
18599         * mach/mach_init.h (__mach_host_self_): New declaration.
18600         (__mach_host_self, mach_host_self): New macros.
18601         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18602         Release reference.
18604 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18606         [BZ #4404]
18607         * po/de.po: Update from Translation Project.
18609         [BZ #16415]
18610         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18611         (__expm1l): Remove code to handle positive infinity and overflow.
18612         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18613         variable.
18614         (__expm1l): Remove code to handle positive infinity and overflow.
18616 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18617             Paul Pluzhnikov  <ppluzhnikov@google.com>
18619         [BZ #18872]
18620         * stdio-common/Makefile (tst-printf-bz18872): New test.
18621         (tst-printf-bz18872-mem.out): Likewise.
18622         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18623         * stdio-common/vfprintf.c: Fix memory leaks.
18625 2015-09-16  Andreas Schwab  <schwab@suse.de>
18627         [BZ #17244]
18628         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18629         Remove extra va_start/va_end calls.
18631         [BZ #17243]
18632         * posix/execl.c (execl): Add missing va_end.
18633         * posix/execle.c (execle): Likewise.
18634         * posix/execlp.c (execlp): Likewise.
18636 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18638         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18639         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18641 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18643         [BZ #18967]
18644         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18645         undefine around includes of <bits/mathcalls.h>.
18646         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18647         not declare function.
18648         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18649         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18650         (scalb): Likewise.
18651         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18652         not define macro.
18653         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18654         variable.
18655         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18656         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18657         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18659         [BZ #18857]
18660         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18661         return non-finite argument without doing ordered comparisons on
18662         it.
18664         [BZ #16296]
18665         * math/fenv.h (fegetround): Use __attribute_pure__.
18666         * include/fenv.h (__fegetround): Likewise.
18668         [BZ #18595]
18669         * math/s_ctan.c (__ctan): Force underflow exception for results
18670         whose real or imaginary part has small absolute value.
18671         * math/s_ctanf.c (__ctanf): Likewise.
18672         * math/s_ctanh.c (__ctanh): Likewise.
18673         * math/s_ctanhf.c (__ctanhf): Likewise.
18674         * math/s_ctanhl.c (__ctanhl): Likewise.
18675         * math/s_ctanl.c (__ctanl): Likewise.
18676         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18677         and ctanh.  Add more tests of ctan and ctanh.
18679         [BZ #15918]
18680         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18681         handling of cases where one argument is an infinity.
18683         [BZ #18875]
18684         [BZ #18966]
18685         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18686         (MO): New macro.
18687         (__ieee754_exp10): For small results, force underflow exception
18688         and remove excess range and precision from return value.
18689         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18690         (MO): New macro.
18691         (__ieee754_exp10f): For small results, force underflow exception
18692         and remove excess range and precision from return value.
18693         * math/auto-libm-test-in: Add more tests of exp10.
18694         * math/auto-libm-test-out: Regenerated.
18696 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18698         [BZ #18875]
18699         [BZ #18961]
18700         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18701         (MO): New macro.
18702         (__ieee754_exp): For small results, force underflow exception and
18703         remove excess range and precision from return value.
18704         (__exp_finite): Likewise.
18705         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18706         (MO): New macro.
18707         (__ieee754_expf): For small results, force underflow exception and
18708         remove excess range and precision from return value.
18709         (__expf_finite): Likewise.
18710         * math/auto-libm-test-in: Add more tests of exp.
18711         * math/auto-libm-test-out: Regenerated.
18713         [BZ #16521]
18714         [BZ #18875]
18715         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18716         small results.
18717         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18718         (MO): New macro.
18719         (__ieee754_exp2): For small results, force underflow exception and
18720         remove excess range and precision from return value.
18721         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18722         (MO): New macro.
18723         (__ieee754_exp2f): For small results, force underflow exception
18724         and remove excess range and precision from return value.
18725         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18726         (MO): New macro.
18727         (__ieee754_exp2l): Force underflow exception for small results.
18728         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18729         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18730         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18731         (MO): New macro.
18732         (__ieee754_exp2l): Force underflow exception for small results.
18733         * math/auto-libm-test-in: Add more tests or exp2.
18734         * math/auto-libm-test-out: Regenerated.
18736 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18738         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18740         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18741         /dev/null.
18743 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18745         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18746         io fs process)): Drop spurious backslash.
18748 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18750         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18751         Use sysinfo system call instead of parsing /proc/meminfo.
18752         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18753         Likewise.
18755 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18757         [BZ #16985]
18758         * programs/localedef.c (main): Display argv[remaining] when
18759         output_path is NULL.
18761 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18763         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18764         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18765         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18766         tanh.
18767         * math/auto-libm-test-out: Regenerated.
18768         * sysdeps/i386/fpu/libm-test-ulps: Update.
18769         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18770         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18773 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18775         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18776         Use 'override' keyword to freeze the value here, preventing
18777         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18779 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18781         [BZ #14912]
18782         * sysdeps/aarch64/bits/atomic.h: Move to ...
18783         * sysdeps/aarch64/atomic-machine.h: ...here.
18784         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18785         _AARCH64_ATOMIC_MACHINE_H.
18786         * sysdeps/alpha/bits/atomic.h: Move to ...
18787         * sysdeps/alpha/atomic-machine.h: ...here.
18788         * sysdeps/arm/bits/atomic.h: Move to ...
18789         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18790         * bits/atomic.h: Move to ...
18791         * sysdeps/generic/atomic-machine.h: ...here.
18792         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18793         * sysdeps/i386/bits/atomic.h: Move to ...
18794         * sysdeps/i386/atomic-machine.h: ...here.
18795         * sysdeps/ia64/bits/atomic.h: Move to ...
18796         * sysdeps/ia64/atomic-machine.h: ...here.
18797         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18798         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18799         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18800         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18801         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18802         * sysdeps/microblaze/bits/atomic.h: Move to ...
18803         * sysdeps/microblaze/atomic-machine.h: ...here.
18804         * sysdeps/mips/bits/atomic.h: Move to ...
18805         * sysdeps/mips/atomic-machine.h: ...here.
18806         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18807         * sysdeps/powerpc/bits/atomic.h: Move to ...
18808         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18809         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18810         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18811         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18812         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18813         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18814         <atomic-machine.h> instead of <bits/atomic.h>.
18815         * sysdeps/s390/bits/atomic.h: Move to ...
18816         * sysdeps/s390/atomic-machine.h: ...here.
18817         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18818         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18819         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18820         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18821         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18822         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18823         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18824         * sysdeps/tile/bits/atomic.h: Move to ...
18825         * sysdeps/tile/atomic-machine.h: ...here.
18826         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18827         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18828         <sysdeps/tile/atomic-machine.h> instead of
18829         <sysdeps/tile/bits/atomic.h>.
18830         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18831         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18832         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18833         <sysdeps/tile/atomic-machine.h> instead of
18834         <sysdeps/tile/bits/atomic.h>.
18835         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18836         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18837         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18838         <sysdeps/arm/atomic-machine.h> instead of
18839         <sysdeps/arm/bits/atomic.h>.
18840         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18841         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18842         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18843         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18844         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18845         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18846         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18847         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18848         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18849         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18850         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18851         * sysdeps/x86_64/bits/atomic.h: Move to ...
18852         * sysdeps/x86_64/atomic-machine.h: ...here.
18853         * include/atomic.h: Include <atomic-machine.h> instead of
18854         <bits/atomic.h>.
18856         * sysdeps/mips/mips32/libm-test-ulps: Update.
18857         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18859         [BZ #18952]
18860         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18861         not convert non-integer negative arguments to int to determine the
18862         value of signgam.
18863         * math/auto-libm-test-in: Add more tests of lgamma.
18864         * math/auto-libm-test-out: Regenerated.
18866         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18867         cosh, csqrt, erfc, expm1 and lgamma.
18868         * math/auto-libm-test-out: Regenerated.
18869         * sysdeps/i386/fpu/libm-test-ulps: Update.
18870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18872 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18874         [BZ #2542]
18875         [BZ #2543]
18876         [BZ #2558]
18877         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18878         __lgamma_neg for arguments from -28.0 to -2.0.
18879         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18880         __lgamma_negf for arguments from -15.0 to -2.0.
18881         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18882         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18883         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18884         Call __lgamma_negl for arguments from -33.0 to -2.0.
18885         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18886         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18887         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18888         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18889         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18890         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18891         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18892         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18893         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18894         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18895         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18896         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18897         (__lgamma_neg): Likewise.
18898         (__lgamma_negl): Likewise.
18899         (__lgamma_product): Likewise.
18900         (__lgamma_productl): Likewise.
18901         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18902         * math/auto-libm-test-in: Add more tests of lgamma.
18903         * math/auto-libm-test-out: Regenerated.
18904         * sysdeps/i386/fpu/libm-test-ulps: Update.
18905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18907 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18909         [BZ #18675]
18910         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18912 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18914         [BZ #14912]
18915         * bits/libc-lock.h: Move to ...
18916         * sysdeps/generic/libc-lock.h: ...here.
18917         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18918         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18919         * sysdeps/mach/hurd/libc-lock.h: ...here.
18920         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18921         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18922         * sysdeps/mach/bits/libc-lock.h: Move to ...
18923         * sysdeps/mach/libc-lock.h: ...here.
18924         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18925         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18926         * sysdeps/nptl/libc-lock.h: ...here.
18927         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18928         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18929         * sysdeps/nptl/libc-lockP.h: ...here.
18930         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18931         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18932         <bits/libc-lock.h>.
18933         * dirent/scandir-tail.c: Likewise.
18934         * dlfcn/dlerror.c: Likewise.
18935         * elf/dl-close.c: Likewise.
18936         * elf/dl-iteratephdr.c: Likewise.
18937         * elf/dl-lookup.c: Likewise.
18938         * elf/dl-open.c: Likewise.
18939         * elf/dl-support.c: Likewise.
18940         * elf/dl-writev.h: Likewise.
18941         * elf/rtld.c: Likewise.
18942         * grp/fgetgrent.c: Likewise.
18943         * gshadow/fgetsgent.c: Likewise.
18944         * gshadow/sgetsgent.c: Likewise.
18945         * iconv/gconv_conf.c: Likewise.
18946         * iconv/gconv_db.c: Likewise.
18947         * iconv/gconv_dl.c: Likewise.
18948         * iconv/gconv_int.h: Likewise.
18949         * iconv/gconv_trans.c: Likewise.
18950         * include/link.h: Likewise.
18951         * inet/getnameinfo.c: Likewise.
18952         * inet/getnetgrent.c: Likewise.
18953         * inet/getnetgrent_r.c: Likewise.
18954         * intl/bindtextdom.c: Likewise.
18955         * intl/dcigettext.c: Likewise.
18956         * intl/finddomain.c: Likewise.
18957         * intl/gettextP.h: Likewise.
18958         * intl/loadmsgcat.c: Likewise.
18959         * intl/localealias.c: Likewise.
18960         * intl/textdomain.c: Likewise.
18961         * libidn/idn-stub.c: Likewise.
18962         * libio/libioP.h: Likewise.
18963         * locale/duplocale.c: Likewise.
18964         * locale/freelocale.c: Likewise.
18965         * locale/newlocale.c: Likewise.
18966         * locale/setlocale.c: Likewise.
18967         * login/getutent_r.c: Likewise.
18968         * login/getutid_r.c: Likewise.
18969         * login/getutline_r.c: Likewise.
18970         * login/utmp-private.h: Likewise.
18971         * login/utmpname.c: Likewise.
18972         * malloc/mtrace.c: Likewise.
18973         * misc/efgcvt.c: Likewise.
18974         * misc/error.c: Likewise.
18975         * misc/fstab.c: Likewise.
18976         * misc/getpass.c: Likewise.
18977         * misc/mntent.c: Likewise.
18978         * misc/syslog.c: Likewise.
18979         * nis/nis_call.c: Likewise.
18980         * nis/nis_callback.c: Likewise.
18981         * nis/nss-default.c: Likewise.
18982         * nis/nss_compat/compat-grp.c: Likewise.
18983         * nis/nss_compat/compat-initgroups.c: Likewise.
18984         * nis/nss_compat/compat-pwd.c: Likewise.
18985         * nis/nss_compat/compat-spwd.c: Likewise.
18986         * nis/nss_nis/nis-alias.c: Likewise.
18987         * nis/nss_nis/nis-ethers.c: Likewise.
18988         * nis/nss_nis/nis-grp.c: Likewise.
18989         * nis/nss_nis/nis-hosts.c: Likewise.
18990         * nis/nss_nis/nis-network.c: Likewise.
18991         * nis/nss_nis/nis-proto.c: Likewise.
18992         * nis/nss_nis/nis-pwd.c: Likewise.
18993         * nis/nss_nis/nis-rpc.c: Likewise.
18994         * nis/nss_nis/nis-service.c: Likewise.
18995         * nis/nss_nis/nis-spwd.c: Likewise.
18996         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18997         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18998         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18999         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
19000         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
19001         * nis/nss_nisplus/nisplus-network.c: Likewise.
19002         * nis/nss_nisplus/nisplus-proto.c: Likewise.
19003         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
19004         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
19005         * nis/nss_nisplus/nisplus-service.c: Likewise.
19006         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
19007         * nis/ypclnt.c: Likewise.
19008         * nptl/libc_pthread_init.c: Likewise.
19009         * nss/getXXbyYY.c: Likewise.
19010         * nss/getXXent.c: Likewise.
19011         * nss/getXXent_r.c: Likewise.
19012         * nss/nss_db/db-XXX.c: Likewise.
19013         * nss/nss_db/db-netgrp.c: Likewise.
19014         * nss/nss_db/nss_db.h: Likewise.
19015         * nss/nss_files/files-XXX.c: Likewise.
19016         * nss/nss_files/files-alias.c: Likewise.
19017         * nss/nsswitch.c: Likewise.
19018         * posix/regex_internal.h: Likewise.
19019         * posix/wordexp.c: Likewise.
19020         * pwd/fgetpwent.c: Likewise.
19021         * resolv/res_hconf.c: Likewise.
19022         * resolv/res_libc.c: Likewise.
19023         * shadow/fgetspent.c: Likewise.
19024         * shadow/lckpwdf.c: Likewise.
19025         * shadow/sgetspent.c: Likewise.
19026         * socket/opensock.c: Likewise.
19027         * stdio-common/reg-modifier.c: Likewise.
19028         * stdio-common/reg-printf.c: Likewise.
19029         * stdio-common/reg-type.c: Likewise.
19030         * stdio-common/vfprintf.c: Likewise.
19031         * stdio-common/vfscanf.c: Likewise.
19032         * stdlib/abort.c: Likewise.
19033         * stdlib/cxa_atexit.c: Likewise.
19034         * stdlib/fmtmsg.c: Likewise.
19035         * stdlib/random.c: Likewise.
19036         * stdlib/setenv.c: Likewise.
19037         * string/strsignal.c: Likewise.
19038         * sunrpc/auth_none.c: Likewise.
19039         * sunrpc/bindrsvprt.c: Likewise.
19040         * sunrpc/create_xid.c: Likewise.
19041         * sunrpc/key_call.c: Likewise.
19042         * sunrpc/rpc_thread.c: Likewise.
19043         * sysdeps/arm/backtrace.c: Likewise.
19044         * sysdeps/generic/ldsodefs.h: Likewise.
19045         * sysdeps/generic/stdio-lock.h: Likewise.
19046         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
19047         * sysdeps/i386/backtrace.c: Likewise.
19048         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19049         * sysdeps/m68k/backtrace.c: Likewise.
19050         * sysdeps/mach/hurd/cthreads.c: Likewise.
19051         * sysdeps/mach/hurd/dirstream.h: Likewise.
19052         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19053         * sysdeps/nptl/malloc-machine.h: Likewise.
19054         * sysdeps/nptl/stdio-lock.h: Likewise.
19055         * sysdeps/posix/dirstream.h: Likewise.
19056         * sysdeps/posix/getaddrinfo.c: Likewise.
19057         * sysdeps/posix/system.c: Likewise.
19058         * sysdeps/pthread/aio_suspend.c: Likewise.
19059         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19060         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19061         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19062         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19063         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
19064         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
19065         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
19066         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19067         * sysdeps/unix/sysv/linux/system.c: Likewise.
19068         * sysdeps/x86_64/backtrace.c: Likewise.
19069         * time/alt_digit.c: Likewise.
19070         * time/era.c: Likewise.
19071         * time/tzset.c: Likewise.
19072         * wcsmbs/wcsmbsload.c: Likewise.
19073         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
19074         instead of <bits/libc-lock.h> in comment.
19076 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
19078         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
19079         Only use .set mips2 if the current ISA is below mips2.
19080         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
19081         Likewise.
19082         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
19083         mips32r2 if the current ISA is below mips32r2.
19084         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
19085         (TLS_IE): Updated to use the TLD_RDHWR macro.
19086         (TLS_LE): Likewise.
19087         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
19088         __ASSEMBLER__ condition.
19090 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19092         Fix parallel build of before-compile targets.
19094         * sysdeps/mach/Makefile ($(patsubst
19095         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
19096         mach-before-compile target.
19097         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19098         io fs process)): Move rule to dedicated hurd-before-compile target.
19100 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19102         Fix rules generating headers in hurd/ and mach/ when initial make call
19103         has subdir= explicitly set.
19105         * sysdeps/mach/Makefile ($(patsubst
19106         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
19107         calling $(MAKE).
19108         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19109         io fs process)): Force subdir to hurd when calling $(MAKE).
19110         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
19111         subdir to mach when calling $(MAKE).
19113 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
19115         Check sysheaders when looking for Mach and Hurd headers
19117         * sysdeps/mach/configure.ac: Add sysheaders check.
19118         * sysdeps/mach/configure: Regenerate.
19119         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
19120         * sysdeps/mach/hurd/configure: Regenerate.
19122 2015-09-04  Roland McGrath  <roland@hack.frob.com>
19124         [BZ #18921]
19125         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
19126         Fix inverted sense of test of 'o_directory_works' value.
19127         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
19128         Bernhard Voelker <mail@bernhard-voelker.de>.
19130 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
19132         [BZ #14912]
19133         * bits/linkmap.h: Move to ...
19134         * sysdeps/generic/linkmap.h: ...here.
19135         * sysdeps/aarch64/bits/linkmap.h: Move to ...
19136         * sysdeps/aarch64/linkmap.h: ...here.
19137         * sysdeps/arm/bits/linkmap.h: Move to ...
19138         * sysdeps/arm/linkmap.h: ...here.
19139         * sysdeps/hppa/bits/linkmap.h: Move to ...
19140         * sysdeps/hppa/linkmap.h: ...here.
19141         * sysdeps/ia64/bits/linkmap.h: Move to ...
19142         * sysdeps/ia64/linkmap.h: ...here.
19143         * sysdeps/mips/bits/linkmap.h: Move to ...
19144         * sysdeps/mips/linkmap.h: ...here.
19145         * sysdeps/s390/bits/linkmap.h: Move to ...
19146         * sysdeps/s390/linkmap.h: ...here.
19147         * sysdeps/sh/bits/linkmap.h: Move to ...
19148         * sysdeps/sh/linkmap.h: ...here.
19149         * sysdeps/x86/bits/linkmap.h: Move to ...
19150         * sysdeps/x86/linkmap.h: ...here.
19151         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
19153 2015-09-04  Andreas Schwab  <schwab@suse.de>
19155         [BZ #18635]
19156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
19157         (__makecontext): Terminate FDE before return label.
19158         (__novec_makecontext): Likewise.
19160 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19162         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
19163         first member of struct sv in syscall macro.
19165 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
19167         [BZ #14912]
19168         * bits/stdio-lock.h: Move to ...
19169         * sysdeps/generic/stdio-lock.h: ...here.
19170         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19171         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
19172         * sysdeps/nptl/stdio-lock.h: ...here.
19173         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19174         * include/libio.h: Include <stdio-lock.h> instead of
19175         <bits/stdio-lock.h>.
19176         * sysdeps/nptl/fork.c: Likewise.
19177         * sysdeps/pthread/flockfile.c: Likewise.
19178         * sysdeps/pthread/ftrylockfile.c: Likewise.
19179         * sysdeps/pthread/funlockfile.c: Likewise.
19181         [BZ #14912]
19182         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
19183         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
19184         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
19185         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
19186         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
19187         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19188         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
19190 2015-09-03  Roland McGrath  <roland@hack.frob.com>
19192         * elf/Makefile (test-xfail-tst-protected1a): New variable.
19193         (test-xfail-tst-protected1b): New variable.
19195 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
19197         [BZ #14912]
19198         * bits/libc-tsd.h: Move to ...
19199         * sysdeps/generic/libc-tsd.h: ...here.
19200         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
19201         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
19202         * sysdeps/mach/hurd/libc-tsd.h: ...here.
19203         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
19204         * include/ctype.h: Include <libc-tsd.h> instead of
19205         <bits/libc-tsd.h>.
19206         * include/rpc/rpc.h: Likewise.
19207         * locale/localeinfo.h: Likewise.
19208         * sunrpc/rpc_thread.c: Likewise.
19209         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19210         * sysdeps/nptl/malloc-machine.h: Likewise.
19212         * Makefile (headers): Remove bits/libc-lock.h.
19213         * libio/Makefile (headers): Remove bits/stdio-lock.h.
19215         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
19216         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
19217         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
19218         <bits/stdio-lock.h>.
19219         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
19220         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
19222 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19224         [BZ #18757]
19225         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
19226         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
19227         BZ #18757.
19229 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19231         * malloc/mtrace.pl: Filter out NULL entries.
19233 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
19235         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
19236         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
19237         macro.
19239         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
19240         (TCP_CC_INFO): Likewise.
19241         (TCP_SAVE_SYN): Likewise.
19242         (TCP_SAVED_SYN): Likewise.
19244 2015-08-31  Brett Neumeier <brett@neumeier.us>
19246         [BZ #18870]
19247         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
19249 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
19251         [BZ #18873]
19252         Fix broken overflow check in posix_fallocate
19253         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
19254         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19255         Fix parenthesization typo.
19257 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
19259         [BZ #18887]
19260         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
19261         tst-mntent-blank-passno.
19262         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
19263         * misc/tst-mntent-blank-corrupt.c: New test.
19264         * misc/tst-mntent-blank-passno.c: New test ripped from ...
19265         * misc/tst-mntent.c (do_test): ... here.
19267 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
19269         [BZ #4404]
19270         * po/de.po: Fix SIGALRM typo.
19272 2015-08-28  James Perkins  <james@loowit.net>
19274         * time/tst-strptime2.c (tests): Replace short list of test
19275         strings for strptime %z specifier with code which exhaustively
19276         tests every combination of sign and 0 to 5 digits. Tests for
19277         rejection of invalid strings.
19279 2015-08-28  James Perkins  <james@loowit.net>
19281         [BZ #16141]
19282         * time/strptime_l.c (__strptime_internal): Fix %z minutes
19283         calculation, removing incorrect decimal time rounding, so that
19284         all minute values result in a valid seconds value.
19285         * time/strptime_l.c (__strptime_internal): Extend %z time zone
19286         offset range limits to UTC-99:59 through UTC+99:59 to parse
19287         current and historical use cases.
19288         * time/tst-strptime2.c (tests): Modify and add tests for the
19289         strptime %z input field descriptor, specifically conversion of
19290         minutes to seconds and validating an offset range of -9959 to
19291         +9959.
19293 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19294             Dmitry V. Levin  <ldv@altlinux.org>
19296         [BZ #18877]
19297         * posix/Makefile (tests): Add tst-mmap-offset.
19298         * posix/tst-mmap.c: New file.
19299         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19300         offset calculation for negative values.
19302 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19304         * sysdeps/i386/init-arch.h: New file.
19305         * sysdeps/i386/i586/init-arch.h: Likewise.
19306         * sysdeps/i386/i686/init-arch.h: Likewise.
19307         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19308         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19309         * sysdeps/x86/cpu-features.h (bit_I586): New.
19310         (bit_I686): Likewise.
19311         (bit_CX8): Likewise.
19312         (bit_CMOV): Likewise.
19313         (index_CX8): Likewise.
19314         (index_CMOV): Likewise.
19315         (index_I586): Likewise.
19316         (index_I686): Likewise.
19317         (reg_CX8): Likewise.
19318         (reg_CMOV): Likewise.
19319         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19320         available at compile-time.
19321         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19322         available at compile-time.
19323         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19324         (USE_I686): Likewise.
19326 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19328         * sysdeps/i386/bcopy.S: New file.
19329         * sysdeps/i386/bzero.S: Likewise.
19330         * sysdeps/i386/memcpy.S: Likewise.
19331         * sysdeps/i386/memmove.S: Likewise.
19332         * sysdeps/i386/mempcpy.S: Likewise.
19333         * sysdeps/i386/memset.S: Likewise.
19334         * sysdeps/i386/bzero.c: Removed.
19335         * sysdeps/i386/memset.c: Likewise.
19336         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19337         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19338         * sysdeps/i386/i586/memset_chk.S: Likewise.
19339         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19340         * sysdeps/i386/memcpy_chk.S: Here.
19341         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19342         * sysdeps/i386/memmove_chk.S: Here.
19343         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19344         * sysdeps/i386/mempcpy_chk.S: Likewise.
19345         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19346         * sysdeps/i386/memset_chk.S: Likewise.
19348 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
19350         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19351         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19352         file, move DIAG_POP_NEEDS_COMMENT to end of file.
19353         * soft-fp/fmadf4.c: Ditto.
19354         * soft-fp/fmatf4.c: Ditto.
19356 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19358         * sysdeps/i386/i586/Implies: Removed.
19359         * sysdeps/i386/i686/Implies: Likewise.
19361 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19363         * sysdeps/i386/i486/strlen.S: Moved to ...
19364         * sysdeps/i386/strlen.S: Here.
19366 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19368         * sysdeps/i386/i486/strcat.S: Moved to ...
19369         * sysdeps/i386/strcat.S: Here.
19371 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19373         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19374         * sysdeps/i386/pthread_spin_trylock.S: Here.
19375         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19376         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19378 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19380         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19381         * sysdeps/i386/string-inlines.c: Here.
19383 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19385         * sysdeps/i386/i486/htonl.S: Moved ...
19386         * sysdeps/i386/htonl.S: here.
19388 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19390         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19391         * sysdeps/i386/bits/atomic.h: Here.
19393 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19395         * sysdeps/i386/i486/Versions: Removed.
19397 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19399         [BZ #2898]
19400         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19401         Based on patch by Aurelien Jarno.
19403 2015-08-26  Stan Shebs  <stanshebs@google.com>
19405         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19406         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19408 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19410         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19411         * sysdeps/powerpc/dl-procinfo.c:
19412         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19413         feature so it shows when LD_SHOW_AUXV=1.
19415 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19417         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19418         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19419         definition.  ISA 2.07B no longer requires full sync.
19421 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19423         [BZ #18863]
19424         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19425         (si_call_addr): Define.
19426         (si_syscall): Define.
19427         (si_arch): Define.
19429 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19431         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19432         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19433         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19434         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19435         (__memset_zero_constant_len_parameter): New.
19436         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19437         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19438         (__memset_zero_constant_len_parameter): Don't define if
19439         __memset_chk or USE_AS_BZERO are defined.
19441         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19442         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19443         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19445         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19446         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19447         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19448         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19449         comments.
19450         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19451         -mno-mmx for $(all-rtld-routines).
19452         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19453         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19454         i386.
19456 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19458         * sysdeps/generic/unwind.h
19459         (_Unwind_Word): Use __mode__(__unwind_word__)
19460         instead of __mode__(__word__).
19461         (_Unwind_Sword): Likewise.
19463         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19464         (MAX_NEEDED_INPUT): New define.
19465         (MAX_NEEDED_OUTPUT): New define.
19467         * NEWS: New item for IBM z13 string optimizations.
19469         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19470         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19471         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19472         * sysdeps/s390/multiarch/Makefile
19473         (sysdep_routines): Add memrchr functions.
19474         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19475         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19477         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19478         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19479         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19480         * sysdeps/s390/multiarch/Makefile
19481         (sysdep_routines): Add wmemcmp functions.
19482         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19483         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19484         * benchtests/bench-wmemcmp.c: New File.
19485         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19487         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19488         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19489         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19490         * sysdeps/s390/multiarch/Makefile
19491         (sysdep_routines): Add wmemset functions.
19492         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19493         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19494         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19495         * string/test-memset.c: Add wmemset support.
19496         * wcsmbs/test-wmemset.c: New File.
19497         * wcsmbs/Makefile (strop-tests): Add wmemset.
19498         * benchtests/bench-memset.c: Add wmemset support.
19499         * benchtests/bench-wmemset.c: New File.
19500         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19502         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19503         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19504         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19505         * sysdeps/s390/multiarch/Makefile
19506         (sysdep_routines): Add memccpy functions.
19507         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19508         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19509         * string/memccpy.c: Use MEMCCPY if defined.
19511         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19512         * sysdeps/s390/multiarch/memchr.c: Likewise.
19513         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19514         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19515         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19516         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19517         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19518         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19519         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19520         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19521         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19522         and rawmemchr functions.
19523         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19524         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19525         and wmemchr.
19526         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19527         * string/test-memchr.c: Add wmemchr support.
19528         * wcsmbs/test-wmemchr.c: New File.
19529         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19530         * benchtests/bench-memchr.c: Add wmemchr support.
19531         * benchtests/bench-wmemchr.c: New File.
19532         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19534         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19535         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19536         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19537         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19538         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19539         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19540         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19541         wcscspn functions.
19542         * sysdeps/s390/multiarch/ifunc-impl-list.c
19543         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19544         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19545         * string/test-strcspn.c: Add wcscspn support.
19546         * wcsmbs/test-wcscspn.c: New File.
19547         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19548         * benchtests/bench-strcspn.c: Add wcscspn support.
19549         * benchtests/bench-wcscspn.c: New File.
19550         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19552         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19553         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19554         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19555         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19556         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19557         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19558         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19559         wcspbrk functions.
19560         * sysdeps/s390/multiarch/ifunc-impl-list.c
19561         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19562         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19563         * string/test-strpbrk.c: Add wcspbrk support.
19564         * wcsmbs/test-wcspbrk.c: New File.
19565         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19566         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19567         * benchtests/bench-wcspbrk.c: New File.
19568         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19570         * sysdeps/s390/multiarch/strspn-c.c: New File.
19571         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19572         * sysdeps/s390/multiarch/strspn.c: Likewise.
19573         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19574         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19575         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19576         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19577         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19578         wcsspn functions.
19579         * sysdeps/s390/multiarch/ifunc-impl-list.c
19580         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19581         * string/test-strspn.c: Add wcsspn support.
19582         * wcsmbs/test-wcsspn.c: New File.
19583         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19584         * benchtests/bench-strspn.c: Add wcsspn support.
19585         * benchtests/bench-wcsspn.c: New File.
19586         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19588         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19589         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19590         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19591         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19592         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19593         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19594         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19595         wcsrchr functions.
19596         * sysdeps/s390/multiarch/ifunc-impl-list.c
19597         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19598         * benchtests/bench-wcsrchr.c: New File.
19599         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19601         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19602         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19603         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19604         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19605         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19606         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19607         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19608         wcschrnul functions.
19609         * sysdeps/s390/multiarch/ifunc-impl-list.c
19610         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19611         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19612         * string/test-strchr.c: Add wcschrnul support.
19613         * wcsmbs/test-wcschrnul.c: New File.
19614         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19615         * benchtests/bench-strchr.c: Add wcschrnul support.
19616         * benchtests/bench-wcschrnul.c: New File.
19617         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19619         * sysdeps/s390/multiarch/strchr-c.c: New File.
19620         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19621         * sysdeps/s390/multiarch/strchr.c: Likewise.
19622         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19623         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19624         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19625         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19626         wcschr functions.
19627         * sysdeps/s390/multiarch/ifunc-impl-list.c
19628         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19629         * string/strchr.c (STRCHR): Define and use macro.
19630         * benchtests/bench-wcschr.c: New File.
19631         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19633         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19634         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19635         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19636         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19637         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19638         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19639         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19640         wcsncmp functions.
19641         * sysdeps/s390/multiarch/ifunc-impl-list.c
19642         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19643         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19644         * benchtests/bench-strncmp.c: Add wcsncmp support.
19645         * benchtests/bench-wcsncmp.c: New File.
19646         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19648         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19649         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19650         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19651         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19652         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19653         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19654         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19655         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19656         wcscmp functions.
19657         * sysdeps/s390/multiarch/ifunc-impl-list.c
19658         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19659         * string/strcmp.c (STRCMP): Define and use macro.
19660         * benchtests/bench-wcscmp.c: New File.
19661         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19662         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19663         instead of _HAVE_STRING_ARCH_memchr.
19665         * sysdeps/s390/multiarch/strncat-c.c: New File.
19666         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19667         * sysdeps/s390/multiarch/strncat.c: Likewise.
19668         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19669         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19670         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19671         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19672         wcsncat functions.
19673         * sysdeps/s390/multiarch/ifunc-impl-list.c
19674         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19675         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19676         * string/test-strncat.c: Add wcsncat support.
19677         * wcsmbs/test-wcsncat.c: New File.
19678         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19679         * benchtests/bench-strncat.c: Add wcsncat support.
19680         * benchtests/bench-wcsncat.c: New File.
19681         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19683         * sysdeps/s390/multiarch/strcat-c.c: New File.
19684         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19685         * sysdeps/s390/multiarch/strcat.c: Likewise.
19686         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19687         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19688         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19689         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19690         wcscat functions.
19691         * sysdeps/s390/multiarch/ifunc-impl-list.c
19692         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19693         * string/strcat.c (STRCAT): Define and use macro.
19694         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19695         * string/test-strcat.c: Add wcscat support.
19696         * wcsmbs/test-wcscat.c: New File.
19697         * wcsmbs/Makefile (strop-tests): Add wcscat.
19698         * benchtests/bench-strcat.c: Add wcscat support.
19699         * benchtests/bench-wcscat.c: New File.
19700         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19702         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19703         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19704         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19705         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19706         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19707         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19708         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19709         wcpncpy functions.
19710         * sysdeps/s390/multiarch/ifunc-impl-list.c
19711         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19712         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19713         * string/test-stpncpy.c: Add wcpncpy support.
19714         * wcsmbs/test-wcpncpy.c: New File.
19715         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19716         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19717         * benchtests/bench-wcpncpy.c: New File.
19718         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19720         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19721         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19722         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19723         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19724         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19725         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19726         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19727         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19728         wcsncpy functions.
19729         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19730         * sysdeps/s390/multiarch/ifunc-impl-list.c
19731         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19732         * string/test-strncpy.c: Add wcsncpy support.
19733         * wcsmbs/test-wcsncpy.c: New File.
19734         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19735         * benchtests/bench-strncpy.c: Add wcsncpy support.
19736         * benchtests/bench-wcsncpy.c: New File.
19737         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19739         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19740         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19741         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19742         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19743         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19744         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19745         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19746         wcpcpy functions.
19747         * string/stpcpy.c: Use STPCPY if defined.
19748         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19749         * sysdeps/s390/multiarch/ifunc-impl-list.c
19750         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19751         * string/test-stpcpy.c: Add wcpcpy support.
19752         * wcsmbs/test-wcpcpy.c: New File.
19753         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19754         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19755         * benchtests/bench-wcpcpy.c: New File.
19756         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19758         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19759         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19760         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19761         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19762         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19763         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19764         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19765         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19766         wcscpy functions.
19767         * sysdeps/s390/multiarch/ifunc-impl-list.c
19768         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19769         * benchtests/bench-wcscpy.c: New File.
19770         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19772         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19773         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19774         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19775         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19776         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19777         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19778         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19779         wcsnlen functions.
19780         * sysdeps/s390/multiarch/ifunc-impl-list.c
19781         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19782         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19783         * string/test-strnlen.c: Add wcsnlen support.
19784         * wcsmbs/test-wcsnlen.c: New File.
19785         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19786         * benchtests/bench-strnlen.c: Add wcsnlen support.
19787         * benchtests/bench-wcsnlen.c: New File.
19788         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19790         * sysdeps/s390/multiarch/Makefile: New File.
19791         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19792         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19793         * sysdeps/s390/multiarch/strlen.c: Likewise.
19794         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19795         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19796         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19797         * string/strlen.c (STRLEN): Define and use macro.
19798         * sysdeps/s390/multiarch/ifunc-impl-list.c
19799         (IFUNC_VX_IMPL): New macro function.
19800         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19801         * benchtests/Makefile (wcsmbs-bench): New variable.
19802         (string-bench-all): Added wcsmbs-bench.
19803         * benchtests/bench-wcslen.c: New File.
19805         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19806         s390_vx_libc_ifunc2): New macro function.
19808         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19809         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19810         assembler support.
19811         * sysdeps/s390/configure: Regenerated.
19813         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19814         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19816         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19817         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19818         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19820         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19821         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19822         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19823         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19824         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19825         (memcmp, bcmp): Use __memcmp_default as alias source.
19826         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19827         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19828         Rename to __memcmp_default.
19829         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19830         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19831         (memcpy): Use __memcpy_default as alias source.
19832         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19833         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19834         Rename to __memcpy_default.
19835         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19836         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19837         (memset): Use __memset_default as alias source.
19838         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19839         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19840         Rename to __memset_default.
19841         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19842         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19843         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19844         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19845         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19846         (memcmp, bcmp): Use __memcmp_default as alias source.
19847         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19848         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19849         Rename to __memcmp_default.
19850         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19851         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19852         (memcpy): Use __memcpy_default as alias source.
19853         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19854         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19855         Rename to __memcpy_default.
19856         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19857         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19858         (memset): Use __memset_default as alias source.
19859         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19860         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19861         Rename to __memset_default.
19862         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19863         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19865         [BZ #18610]
19866         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19867         __ieee_instruction_pointer to __unused.
19868         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19869         __ieee_instruction_pointer.
19870         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19871         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19872         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19873         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19874         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19875         Mark dxc-field as reserved.
19877 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19879         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19880         if the weak reference is not null.
19882 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19884         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19886         [BZ #11214]
19887         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19889 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19891         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19892         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19893         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19894         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19895         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19896         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19897         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19898         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19899         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19900         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19901         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19902         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19903         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19904         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19905         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19906         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19907         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19908         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19910 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19912         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19913         register other than r0 for tabort, it has special meaning.
19914         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19915         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19916         transaction before starting syscall.
19918 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19920         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19922 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19924         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19926         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19927         * sysdeps/x86_64/rtld-memset.S: Likewise.
19928         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19929         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19930         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19931         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19933         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19935 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19937         * debug/strcpy_chk.c: Improve performance.
19938         * debug/stpcpy_chk.c: Likewise.
19939         * sysdeps/x86_64/strcpy_chk.S: Remove.
19940         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19942         [BZ #18240]
19943         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19945 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19947         [BZ #15128]
19948         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19949         ifuncmain8.
19950         (modules-names): Add ifuncmod8.
19951         ($(objpfx)ifuncmain8): New rule.
19952         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19953         <cpuid.h>.
19954         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19955         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19956         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19957         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19958         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19959         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19960         * sysdeps/x86_64/ifuncmain8.c: New file.
19961         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19962         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19963         Removed.
19964         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19965         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19966         Change rtld_savespace_sse to __glibc_unused2.
19967         (RTLD_CHECK_FOREIGN_CALL): Removed.
19968         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19969         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19970         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19972 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19974         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19976 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19978         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19979         Unconditionally set __fpcr to avoid uninialized warning.
19980         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19982 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19984         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19985         is corrupt.
19987         * malloc/arena.c (arena_get2): Drop unused argument.
19988         (arena_lock): Adjust.
19989         (arena_get_retry): Likewise.
19991 2015-08-24  Andreas Schwab  <schwab@suse.de>
19993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19994         Don't define.
19995         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19996         (__ASSUME_IPC64): Don't undef.
19997         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19998         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19999         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20000         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
20001         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
20002         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
20003         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
20004         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
20005         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
20006         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
20007         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
20008         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
20009         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
20010         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
20011         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
20012         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
20013         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
20014         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
20015         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
20016         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
20017         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
20019 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
20021         * manual/Makefile (install): Only build manual when perl is available.
20023 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20025         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
20026         '#undef memcpy' by '#undef memchr'.
20028 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20030         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
20031         memchr not point to the internal __GI_memchr implementation.
20033 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
20035         * timezone/Makefile (CFLAGS-zdump.c): Remove
20036         -Wno-strict-prototypes.
20037         (CFLAGS-zic.c): Likewise.
20038         (CFLAGS-ialloc.c): Likewise.
20039         (CFLAGS-scheck.c): Likewise.
20041         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
20042         -Wno-error=undef.
20044 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20046         * i386/i686/multiarch/strcasestr-c.c: Removed.
20047         * x86_64/multiarch/strcasestr.c: Likewise.
20048         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20049         Remove strcasestr.
20051 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
20053         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
20055         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
20056         variables for high and low parts before possibly modifying them.
20058 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20060         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
20061         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
20062         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
20063         of "multiarch/init-arch.h".
20064         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
20065         * sysdeps/x86/init-arch.h: This.
20067 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20069         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
20070         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
20072 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
20074         [BZ #17787]
20075         * manual/macros.texi: Add twoexp macro.
20076         * manual/filesys.texi: Fix exponents.
20077         * manual/llio.texi: Likewise.
20078         * manual/stdio.texi: Likewise.
20080 2015-08-20  Florian Weimer  <fweimer@redhat.com>
20082         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
20083         incorrect use.
20085 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
20087         [BZ #18370]
20088         * math/s_csqrt.c (__csqrt): Force underflow exception for results
20089         whose real or imaginary part has small absolute value.
20090         * math/s_csqrtf.c (__csqrtf): Likewise.
20091         * math/s_csqrtl.c (__csqrtl): Likewise.
20092         * math/auto-libm-test-in: Add more tests of csqrt.
20093         * math/auto-libm-test-out: Regenerated.
20094         * sysdeps/i386/fpu/libm-test-ulps: Update.
20096 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20098         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
20099         __ppc_set_ppr_very_low): New functions.
20100         * manual/platform.texi: Add documentation about
20101         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
20103 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
20105         * string/stpncpy.c (stpncpy): Improve performance using
20106         __strnlen/memcpy/memset.
20108 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20110         [BZ #18796]
20111         * scripts/test-installation.pl: Don't add -lmvec to build options if
20112         libmvec wasn't built.
20114 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20116         [BZ #14341]
20117         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
20118         case when there is a gap between DT_REL and DT_JMPREL sections.
20119         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
20120         (LDFLAGS-tst-split-dynreloc): New.
20121         (tst-split-dynreloc-ENV): Likewise.
20122         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
20123         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
20125 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20127         [BZ #18822]
20128         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
20129         attribute_hidden.
20130         (__xstat64_conv): Likewise.
20131         (__xstat32_conv): Likewise.
20133 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20135         [BZ #18822]
20136         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20137         Don't load %ebx when calling __setcontext.  Call __setcontext
20138         with HIDDEN_JUMPTARGET.
20139         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
20140         libc_hidden_def.
20142 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20144         * sysdeps/i386/i686/Makefile
20145         [$(subdir) == string] (sysdep_routines): Moved to ...
20146         * sysdeps/i386/Makefile: Here.
20147         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
20148         * sysdeps/i386/cacheinfo.c: Here.
20149         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
20150         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
20151         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
20152         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
20154 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20156         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
20157         __i586__ is defined.
20158         (HAS_I686): Defined to 1 if __i686__ is defined.
20160 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
20162         * elf/Makefile [$(have-z-execstack) = yes]
20163         (CPPFLAGS-tst-execstack.c): New variable.
20165         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
20166         conditional to [defined UTMPX || _HAVE_UT_TYPE].
20167         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
20168         UTMPX || _HAVE_UT_TV].
20169         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
20170         UTMPX || _HAVE_UT_TV - 0].
20172 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
20174         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
20175         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
20176         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
20178 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20180         * sysdeps/powerpc/dl-procinfo.c:
20181         (_dl_powerpc_cap_flags): Added missing strings for some
20182         hwcap features.
20183         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
20185 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
20187         Port the 0x7efe...feff pattern to GCC 6.
20188         See Steve Ellcey's bug report in:
20189         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
20190         * string/memrchr.c (MEMRCHR):
20191         * string/rawmemchr.c (RAWMEMCHR):
20192         * string/strchr.c (strchr):
20193         * string/strchrnul.c (STRCHRNUL):
20194         Rewrite code to avoid issues with signed shift overflow.
20196 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
20198         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
20199         whether cpuid is available only if HAS_CPUID is 0.
20200         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
20201         (HAS_I586): Likewise.
20202         (HAS_I686): Likewise.
20204 2015-08-18  Zack Weinberg  <zackw@panix.com>
20206         * misc/Versions (libc): Add GLIBC_2.23.
20208 2015-08-18  Alan Modra  <amodra@gmail.com>
20210         [BZ #18421]
20211         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
20212         .Lp__global.
20213         (_start): Load %dp via .Lp__global.
20214         [!SHARED]: Use .section .rodata.
20216 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20218         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
20219         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
20221 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20223         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
20224         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
20226 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20228         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
20229         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
20231 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20233         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
20234         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
20236 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20238         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
20239         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
20241 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20243         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
20244         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
20246 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20248         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
20250 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20252         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
20253         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
20254         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20255         (__ASSUME_LWS_CAS): Delete.
20257 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20259         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
20260         * sysdeps/hppa/configure: Regenerated.
20261         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
20262         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
20263         * sysdeps/hppa/nptl/tls.h: Likewise.
20265 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
20267         [BZ #18823]
20268         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
20269         for scaling up small arguments.
20270         * math/s_csqrtf.c (__csqrtf): Likewise.
20271         * math/s_csqrtl.c (__csqrtl): Likewise.
20272         * math/auto-libm-test-in: Add more tests of csqrt.
20273         * math/auto-libm-test-out: Regenerated.
20275 2015-08-17  Andreas Schwab  <schwab@suse.de>
20277         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
20278         version set GLIBC_2.19.
20280 2015-08-16  Zack Weinberg  <zackw@panix.com>
20282         [BZ #18681]
20283         * misc/regexp.h: This interface is no longer supported.
20284         Remove all contents, leaving only an #error directive.
20285         * misc/regexp.c (loc1, loc2, locs, step, advance):
20286         Demote to compatibility symbols.
20288 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
20290         [BZ #18084]
20291         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20292         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20293         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20294         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20295         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20296         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20297         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20298         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20299         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20301 2015-08-15  Zack Weinberg  <zackw@panix.com>
20303         [BZ #18795]
20304         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20305         buffer length is known to be too large, not if it's known to be
20306         small enough.
20307         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20308         overflow at runtime, involving a length parameter, twice: once
20309         with a compile-time constant length parameter, once without.
20311 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #18824]
20314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20315         scaling x * y up instead of down.
20316         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20317         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20318         * math/auto-libm-test-in: Add more tests of fma.
20319         * math/auto-libm-test-out: Regenerated.
20321 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20323         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20325 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20327         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20328         unnecessary movq.
20329         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20330         Likewise.
20332 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20334         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20335         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20336         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20337         and tgamma.
20338         * math/auto-libm-test-out: Regenerated.
20339         * sysdeps/i386/fpu/libm-test-ulps: Update.
20340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20342         [BZ #16520]
20343         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20344         (__tanh): Force underflow exception for arguments with small
20345         absolute value.
20346         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20347         (__tanhf): Force underflow exception for arguments with small
20348         absolute value.
20349         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20350         (__tanhl): Force underflow exception for arguments with small
20351         absolute value.
20352         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20353         (__tanhl): Force underflow exception for arguments with small
20354         absolute value.
20355         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20356         (__tanhl): Force underflow exception for arguments with small
20357         absolute value.
20358         * math/auto-libm-test-in: Add more tests of tanh.
20359         * math/auto-libm-test-out: Regenerated.
20360         * sysdeps/i386/fpu/libm-test-ulps: Update.
20362 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20364         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20365         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20367 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20369         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20370         <cpuid.h>.
20372 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20374         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20375         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20377 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20379         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20380         Remove $(objpfx)init-arch.o.
20381         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20382         init-arch.
20383         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20384         (INIT_ARCH_EXT): Defined as empty.
20385         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20386         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20387         __init_cpu_features call.  Replace HAS_XXX with
20388         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20389         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20390         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20391         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20392         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20393         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20394         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20395         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20396         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20397         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20398         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20400         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20401         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20402         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20403         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20404         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20405         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20408         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20409         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20411         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20412         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20413         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20415         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20416         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20417         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20418         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20420         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20421         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20425 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20427         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20428         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20429         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20430         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20431         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20432         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20433         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20434         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20435         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20436         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20437         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20438         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20439         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20440         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20441         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20442         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20443         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20444         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20445         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20446         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20447         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20448         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20449         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20450         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20451         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20452         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20453         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20454         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20455         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20456         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20457         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20458         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20459         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20460         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20461         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20462         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20463         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20464         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20465         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20466         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20467         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20468         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20469         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20471 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20473         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20474         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20476         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20477         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20478         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20479         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20480         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20481         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20482         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20483         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20484         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20485         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20486         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20487         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20488         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20489         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20490         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20491         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20492         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20493         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20494         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20495         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20496         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20497         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20498         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20499         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20500         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20501         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20502         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20503         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20504         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20505         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20506         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20507         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20508         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20509         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20510         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20511         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20512         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20513         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20514         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20515         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20517 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20519         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20520         (dl_platform_init): Call init_cpu_features.
20521         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20522         * sysdeps/i386/i686/cacheinfo.c
20523         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20524         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20525         * sysdeps/i386/i686/multiarch/Versions: Removed.
20526         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20527         Removed.
20528         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20529         * sysdeps/unix/sysv/linux/x86/Makefile
20530         (libpthread-sysdep_routines): Remove init-arch.
20531         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20532         <sysdeps/x86_64/dl-procinfo.c> instead of
20533         sysdeps/generic/dl-procinfo.c>.
20534         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20535         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20536         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20537         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20538         [$(subdir) == elf] (tests-static): Add
20539         tst-get-cpu-features-static.
20540         * sysdeps/x86/Versions: New file.
20541         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20542         * sysdeps/x86/cpu-features.c: Likewise.
20543         * sysdeps/x86/cpu-features.h: Likewise.
20544         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20545         * sysdeps/x86/libc-start.c: Likewise.
20546         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20547         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20548         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20549         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20550         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20551         Assume USE_MULTIARCH is defined and don't check it.
20552         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20553         (is_amd): Likewise.
20554         (max_cpuid): Likewise.
20555         (intel_check_word): Likewise.
20556         (__cache_sysconf): Don't call __init_cpu_features.
20557         (__x86_preferred_memory_instruction): Removed.
20558         (init_cacheinfo): Don't call __init_cpu_features. Replace
20559         __cpu_features with GLRO(dl_x86_cpu_features).
20560         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20561         (dl_platform_init): Call init_cpu_features.
20562         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20563         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20564         * sysdeps/x86_64/multiarch/Versions: Removed.
20565         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20566         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20567         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20568         Removed.
20569         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20571 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20573         [BZ #18820]
20574         * libio/Makefile (test-fmemopen-mem): New test.
20575         * libio/test-fmemopen.c (do_bz18820): New test.
20576         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20577         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20579 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20581         [BZ #16734]
20582         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20583         (FREE_BUF): Delete.
20584         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20585         * libio/genops.c (_IO_setb): Use malloc and free directly.
20586         (_IO_default_doallocate, _IO_default_finish): Likewise.
20587         ( _IO_unbuffer_all): Likewise.
20588         ( libc_freeres_fn): Likewise.
20589         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20590         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20591         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20592         (_IO_wdefault_doallocate): Likewise.
20594 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20596         [BZ #18086]
20597         * sysdeps/posix/nice.c (nice): Restore old errno.
20598         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20600 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20602         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20604 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20606         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20607         __bcopy and add a weak_alias to bcopy.
20608         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20609         for static build.
20611         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20612         cleanup macro usage.
20613         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20614         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20615         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20616         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20617         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20618         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20619         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20620         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20621         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20622         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20623         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20624         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20625         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20626         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20627         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20628         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20629         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20630         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20631         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20633         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20634         libc_hidden_def.
20635         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20637         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20638         (sysdep_routines): Add strstr-ppc64.
20639         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20641 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20643         [BZ #18778]
20644         * elf/Makefile (tests): Add Add tst-nodelete2.
20645         (modules-names): Add tst-nodelete2mod.
20646         (tst-nodelete2mod.so-no-z-defs): New.
20647         ($(objpfx)tst-nodelete2): Likewise.
20648         ($(objpfx)tst-nodelete2.out): Likewise.
20649         (LDFLAGS-tst-nodelete2): Likewise.
20650         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20651         out of loop through all loaded libraries.
20652         * elf/tst-nodelete2.c: New file.
20653         * elf/tst-nodelete2mod.c: Likewise.
20654         * elf/tst-znodelete-zlib.cc: Delete.
20656 2015-08-11  Andreas Schwab  <schwab@suse.de>
20658         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20659         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20660         (__openat64_nocancel): Likewise.
20662 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20664         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20665         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20666         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20667         * math/auto-libm-test-out: Regenerated.
20668         * sysdeps/i386/fpu/libm-test-ulps: Update.
20669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20671 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20673         [BZ #18790]
20674         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20675         threshold for returning +/- 1.
20676         * math/auto-libm-test-in: Add more tests of tanh.
20677         * math/auto-libm-test-out: Regenerated.
20678         * sysdeps/i386/fpu/libm-test-ulps: Update.
20680 2015-08-10  Andreas Schwab  <schwab@suse.de>
20682         [BZ #18781]
20683         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20684         MORE_OFLAGS to oflag.
20685         * io/test-lfs.c (do_test): Test openat64.
20687 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20689         [BZ #18789]
20690         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20691         smaller threshold for returning the argument.
20692         * math/auto-libm-test-in: Add more tests of sinh.
20693         * math/auto-libm-test-out: Regenerated.
20694         * sysdeps/i386/fpu/libm-test-ulps: Update.
20696 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20698         [BZ #18674]
20699         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20700         break.
20702 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20704         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20705         (generated): Don't add $(addprefix z.,$(tzfiles)).
20707 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20709         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20710         * scripts/sysd-rules.awk: Likewise.
20712 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20714         * iconvdata/tst-tables.sh: Change echo -n to printf.
20715         * nss/db-Makefile: Likewise.
20716         * posix/tst-getconf.sh: Likewise.
20717         * stdio-common/tst-unbputc.sh: Likewise.
20719 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20721         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20722         MADV_*_PAGES defines behind this feature check.
20724 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20726         [BZ #18480]
20727         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20728         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20729         Define.
20730         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20731         LOAD_REGS_5, LOAD_REGS_6): Update.
20732         (INTERNAL_SYSCALL): Update using new LOAD defines.
20733         (INTERNAL_SYSCALL_NCS): Likewise.
20734         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20736 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20738         [BZ #16734]
20739         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20741 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20743         [BZ #17905]
20744         * catgets/Makefile (tst-catgets-mem): New test.
20745         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20746         * catgets/open_catalog.c (__open_catalog): Likewise.
20747         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20749 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20751         [BZ #18787]
20752         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20753         clobber registers.
20754         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20755         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20756         Cast return to __typeof (oldval).
20758 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20760         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20761         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20762         and delete sys/syscall.h include.
20764 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20766         [BZ #16517]
20767         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20768         (tan): Force underflow exception for arguments with small absolute
20769         value.
20770         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20771         (__kernel_tanf): Force underflow exception for arguments with
20772         small absolute value.
20773         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20774         (__kernel_tanl): Force underflow exception for arguments with
20775         small absolute value.
20776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20777         (__kernel_tanl): Force underflow exception for arguments with
20778         small absolute value.
20779         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20780         (__kernel_tanl): Force underflow exception for arguments with
20781         small absolute value.
20782         * math/auto-libm-test-in: Add more tests of tan.
20783         * math/auto-libm-test-out: Regenerated.
20785 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20787         Fix sysdeps/i386/fpu/s_scalbn.S build
20789         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20791 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20793         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20795 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20797         Fix gcrt0.o compilation
20799         When static-start-installed-name is different from
20800         start-installed-name, we must not use the shared objects.
20802         * csu/Makefile
20803         (extra-objs): Add gmon-start.o when building shared library and
20804         $(static-start-installed-name) is different from
20805         $(start-installed-name).
20806         $(objpfx)g$(static-start-installed-name): When building shared
20807         library and $(static-start-installed-name) is different from
20808         $(static-start-installed-name), revert to non-shared rule,
20809         i.e. using $(objpfx)% and gmon-start.o.
20811 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20813         [BZ #16519]
20814         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20815         (__ieee754_sinh): Force underflow exception for arguments with
20816         small absolute value.
20817         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20818         (__ieee754_sinhf): Force underflow exception for arguments with
20819         small absolute value.
20820         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20821         (__ieee754_sinhl): Force underflow exception for arguments with
20822         small absolute value.
20823         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20824         (__ieee754_sinhl): Force underflow exception for arguments with
20825         small absolute value.
20826         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20827         (__ieee754_sinhl): Force underflow exception for arguments with
20828         small absolute value.
20829         * math/auto-libm-test-in: Add more tests of sinh.
20830         * math/auto-libm-test-out: Regenerated.
20831         * sysdeps/i386/fpu/libm-test-ulps: Update.
20833 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20835         * libio/oldfileops.c: Include unistd.h.
20837 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20839         * stdlib/isomac.c: Include ctype.h.
20841 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20843         * dirent/tst-seekdir.c (main): Converted to ...
20844         (do_test): ... this.
20845         (TEST_FUNCTION): New macro.
20846         Include test-skeleton.c.
20847         * elf/tst-dlmodcount.c (main): Converted to ...
20848         (do_test): ... this.
20849         (TEST_FUNCTION): New macro.
20850         Include test-skeleton.c.
20851         * elf/tst-order-main.c (main): Converted to ...
20852         (do_test): ... this.
20853         (TEST_FUNCTION): New macro.
20854         Include test-skeleton.c.
20855         * elf/tst-pie2.c (main): Converted to ...
20856         (do_test): ... this.
20857         (TEST_FUNCTION): New macro.
20858         Include test-skeleton.c.
20859         * inet/tst-ether_aton.c (main): Converted to ...
20860         (do_test): ... this.
20861         (TEST_FUNCTION): New macro.
20862         Include test-skeleton.c.
20863         * misc/tst-mntent.c (main): Converted to ...
20864         (do_test): ... this.
20865         (TEST_FUNCTION): New macro.
20866         Include test-skeleton.c.
20867         * misc/tst-tsearch.c (main): Converted to ...
20868         (do_test): ... this.
20869         (TEST_FUNCTION): New macro.
20870         Include test-skeleton.c.
20871         * posix/tst-regexloc.c (main): Converted to ...
20872         (do_test): ... this.
20873         (TEST_FUNCTION): New macro.
20874         Include test-skeleton.c.
20875         * resolv/tst-aton.c (main): Converted to ...
20876         (do_test): ... this.
20877         (TEST_FUNCTION): New macro.
20878         Include test-skeleton.c.
20879         * stdio-common/test-fwrite.c (main): Converted to ...
20880         (do_test): ... this.
20881         (TEST_FUNCTION): New macro.
20882         Include test-skeleton.c.
20883         * stdio-common/tst-ferror.c (main): Converted to ...
20884         (do_test): ... this.
20885         (TEST_FUNCTION): New macro.
20886         Include test-skeleton.c.
20887         * stdio-common/tst-printf.c (main): Converted to ...
20888         (do_test): ... this.
20889         (TEST_FUNCTION): New macro.
20890         Include test-skeleton.c.
20891         * stdio-common/tst-printfsz.c (main): Converted to ...
20892         (do_test): ... this.
20893         (TEST_FUNCTION): New macro.
20894         Include test-skeleton.c.
20895         * stdlib/tst-strtod.c (main): Converted to ...
20896         (do_test): ... this.
20897         (TEST_FUNCTION): New macro.
20898         Include test-skeleton.c.
20899         * string/tst-strlen.c (main): Converted to ...
20900         (do_test): ... this.
20901         (TEST_FUNCTION): New macro.
20902         Include test-skeleton.c.
20903         * string/tst-svc.c (main): Converted to ...
20904         (do_test): ... this.
20905         (TEST_FUNCTION): New macro.
20906         Include test-skeleton.c.
20907         * time/tst-strptime.c (main): Converted to ...
20908         (do_test): ... this.
20909         (TEST_FUNCTION): New macro.
20910         Include test-skeleton.c.
20911         * timezone/tst-timezone.c (main): Converted to ...
20912         (do_test): ... this.
20913         (TEST_FUNCTION): New macro.
20914         Include test-skeleton.c.
20916 2015-08-05  Zack Weinberg  <zackw@panix.com>
20918         * misc/regexp.h: Update comments.
20920 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20922         [BZ #18635]
20923         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20924         before return label.
20926 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20928         [BZ #18661]
20929         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20930         when calling __errno_location.
20931         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20932         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20934 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20936         [BZ #18661]
20937         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20938         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20939         __gettimeofday.
20941 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20943         [BZ #18661]
20944         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20945         (__start_context): Don't use pop to restore %rdi so that stack
20946         is aligned to 16 bytes when calling __setcontext.
20948 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20950         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20951         only for libc.
20952         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20954 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20956         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20957         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20958         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20960 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20962         * string/memccpy.c (memccpy):
20963         Improve performance by using memchr/memcpy/__mempcpy.
20965 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20967         * string/strncpy.c (strncpy):
20968         Improve performance by using __strnlen/memcpy.
20970 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20972         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20973         Optimize to avoid an unnecessary FPCR read.
20975 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20977         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20978         Optimize to reduce FPCR/FPSR accesses.
20980 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20982         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20983         dead->data[category] != NULL.
20985 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20987         [BZ #18647]
20988         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20989         and |x| close to 1, use absolute value of x when computing log.
20990         * math/auto-libm-test-in: Add more tests of pow.
20991         * math/auto-libm-test-out: Regenerated.
20993 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20995         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20996         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20997         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20999 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
21001         [BZ #18525]
21002         * locales/km_KH: Remove timezone definition.
21003         * locales/lo_LA: Likewise.
21004         * locales/my_MM: Likewise.
21005         * locales/nan_TW@latin: Likewise.
21006         * locales/th_TH: Likewise.
21007         * locales/uk_UA: Likewise.
21009 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21011         [BZ #18265]
21012         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
21013         (wcsncat): Likewise.
21014         (wcscmp): Likewise.
21015         (wcsncmp): Likewise.
21017 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21019         * test-skeleton.c (usage): New function.
21020         (main): Call usage when opt is '?'.
21022 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21024         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
21025         before first use.
21027 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21029         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
21030         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
21031         in there too.
21033 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
21035         * version.h (RELEASE): Set to "development".
21036         (VERSION): Set to "2.22.90"
21038         * version.h (RELEASE): Set to "stable".
21039         (VERSION): Set to "2.22"
21040         * include/features.h (__GLIBC_MINOR__): Set to 22.
21042 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
21044         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
21045         Restructure macro to avoid "value computed is not used" warning.
21046         (atomic_compare_and_exchange_val_acq): Likewise.
21048 2015-08-04  Andreas Schwab  <schwab@suse.de>
21050         [BZ #18635]
21051         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
21052         ret.
21053         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
21055 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
21057         * po/pl.po: Updated translation.
21058         * po/uk.po: Likewise.
21059         * po/fi.po: Likewise.
21060         * po/ko.po: Likewise.
21061         * po/ru.po: Likewise.
21062         * po/vi.po: Likewise.
21064 2015-07-31  Zack Weinberg  <zackw@panix.com>
21066         [BZ #18681]
21067         * regexp.h: Add unconditional #warning stating that this header
21068         will be removed soon.  Revise banner comment to match.
21069         (compile): Consistently use ERROR instead of RETURN to report
21070         errors (partial fix for bz#18681).
21071         * regexp.c: Don't include regexp.h. Remove some unnecessary
21072         declarations.
21074 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
21076         * po/libc.pot: Regenerated.
21078 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21080         [BZ #18740]
21081         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
21082         float-vlen4-arch-ext-cflags): Removed.
21083         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
21084         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
21086 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21088         [BZ #14113]
21089         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
21090         aligned to __aligned__.
21091         (pthread_cond_t, pthread_rwlock_t): Likewise.
21093 2015-07-30  Torvald Riegel  <triegel@redhat.com>
21095         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
21097 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21099         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
21100         (struct sigaction): Change sa_flags from a long to an int, and add
21101         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
21103 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21105         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
21106         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
21107         sysdeps/generic/sysdep.h include.
21108         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
21109         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
21110         sysdeps/hppa/sysdep.h.
21111         (ENTRY, PSEUDO): Undefine before defining.
21113 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21115         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
21116         from scratch to use INTERNAL_SYSCALL.
21118 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
21120         [BZ #18078]
21121         * scripts/check-localplt.awk: Support alternate relocations.
21122         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
21123         sections.
21124         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
21125         malloc entries with + REL R_386_GLOB_DAT.
21126         * sysdeps/x86_64/localplt.data: New file.
21128 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
21130         [BZ #18731]
21131         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
21132         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21133         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21135 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21137         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
21139 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21141         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
21142         directly in terms of __sync_fetch_and_add and delete (int) cast.
21144 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21146         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
21147         the -D_ASM_IA64_CURRENT_H flag.
21149 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21151         [BZ #18641]
21152         * pwd/pwd.h (putpwent): Delete __nonnull markings.
21154 2015-07-27  Andreas Schwab  <schwab@suse.de>
21156         * conform/conformtest.pl (checknamespace): Filter out string
21157         literals while tokenizing.
21159 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
21161         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21162         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
21163         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21165 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
21167         * nptl/tst-join7mod.c: Add #include <string.h>.
21169 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
21171         * sysdeps/nios2/libm-test-ulps: Update.
21173 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
21175         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
21176         Fix order of arguments to the rt_sigprocmask syscall.
21177         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
21178         Likewise.
21180 2015-07-24  Roland McGrath  <roland@hack.frob.com>
21182         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
21184 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21186         [BZ #18457]
21187         * nptl/Makefile (tests): New test case tst-join7.
21188         (modules-names): New test case module tst-join7mod.
21189         * nptl/tst-join7.c: New file.
21190         * nptl/tst-join7mod.c: New file.
21191         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
21192         all translation units in libc.so, libpthread.so and rtld.
21194 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21198 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21200         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
21201         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21202         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21203         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21204         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21205         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21206         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21207         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21208         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21209         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21210         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21211         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21212         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
21213         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
21214         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
21215         implementation.
21217 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21219         [BZ #17711]
21220         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21221         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
21222         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21223         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21224         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
21225         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21227 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21229         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
21230         instead of just saying load lock in the comments.
21232 2015-07-23  Roland McGrath  <roland@hack.frob.com>
21234         * sysdeps/unix/Subdirs: Moved ...
21235         * sysdeps/posix/Subdirs: ... here.
21236         * login/pty.h (struct termios, struct winsize): Add forward decls.
21237         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
21238         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
21239         * sysdeps/arm/nacl/libc.abilist: Updated.
21240         * sysdeps/nacl/libutil.abilist: New file.
21242         * bits/signum.h: Update comments to mention 1003.1-2013 too.
21243         (SIGWINCH): New macro.
21245         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
21246         * sysdeps/arm/nacl/libc.abilist: Add it.
21248 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21250         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
21252 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21254         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21255         Swap __glibc_reserved0 and sa_flags order.
21257 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21259         [BZ #18657]
21260         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
21261         are pending TLS destructor calls.
21262         * include/link.h (struct link_map): Add concurrency note for
21263         L_TLS_DTOR_COUNT.
21264         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21265         Don't touch the link map flag.  Atomically increment
21266         l_tls_dtor_count.
21267         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
21268         Avoid taking the load lock and don't touch the link map flag.
21269         * stdlib/tst-tls-atexit-nodelete.c: New test case.
21270         * stdlib/Makefile (tests): Use it.
21271         * stdlib/tst-tls-atexit.c (do_test): dlopen
21272         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
21273         to allow tst-tls-atexit-nodelete test case to use it.
21275 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21277         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
21278         to bits/types.h.
21279         (msgqnum_t): New typedef.
21280         (msglen_t): Likewise.
21281         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
21282         and msg_qbytes type to msglen_t.
21284 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21286         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
21287         pad0 to __glibc_reserved0.
21288         (struct stat64): Likewise.
21290 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21292         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21293         Change sa_flags from a long to an int and add __glibc_reserved0 before
21294         it for padding.
21296 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21298         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21299         anonymous by deleting "siginfo" name.
21301 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21303         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21304         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21305         rather than __nacl_irt_filename.
21306         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21308         * NEWS: New item for arm-nacl port.
21309         * sysdeps/arm/nacl/libc.abilist: New file.
21310         * sysdeps/nacl/ld.abilist: New file.
21311         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21312         * sysdeps/nacl/libanl.abilist: New file.
21313         * sysdeps/nacl/libcrypt.abilist: New file.
21314         * sysdeps/nacl/libdl.abilist: New file.
21315         * sysdeps/nacl/libm.abilist: New file.
21316         * sysdeps/nacl/libpthread.abilist: New file.
21317         * sysdeps/nacl/libresolv.abilist: New file.
21318         * sysdeps/nacl/librt.abilist: New file.
21320 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21322         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21323         __startcontext to initialize the new context.
21324         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21325         up CFI directive to forbid further backtracing.
21327 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21329         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21330         reference.
21331         * charmaps/ANSI_X3.4-1968: Likewise.
21332         * charmaps/BS_4730: Likewise.
21333         * charmaps/BS_VIEWDATA: Likewise.
21334         * charmaps/CP1250: Likewise.
21335         * charmaps/CP1251: Likewise.
21336         * charmaps/CP1252: Likewise.
21337         * charmaps/CP1253: Likewise.
21338         * charmaps/CP1254: Likewise.
21339         * charmaps/CP1255: Likewise.
21340         * charmaps/CP1256: Likewise.
21341         * charmaps/CSN_369103: Likewise.
21342         * charmaps/EBCDIC-DK-NO: Likewise.
21343         * charmaps/GB_1988-80: Likewise.
21344         * charmaps/GREEK-CCITT: Likewise.
21345         * charmaps/GREEK7: Likewise.
21346         * charmaps/INIS-8: Likewise.
21347         * charmaps/ISIRI-3342: Likewise.
21348         * charmaps/ISO_2033-1983: Likewise.
21349         * charmaps/ISO_5427-EXT: Likewise.
21350         * locales/POSIX: Likewise.
21351         * locales/ar_SA: Likewise.
21352         * locales/be_BY: Likewise.
21353         * locales/be_BY@latin: Likewise.
21354         * locales/ca_ES: Likewise.
21355         * locales/cs_CZ: Likewise.
21356         * locales/da_DK: Likewise.
21357         * locales/de_BE: Likewise.
21358         * locales/de_CH: Likewise.
21359         * locales/de_LU: Likewise.
21360         * locales/en_AU: Likewise.
21361         * locales/en_BW: Likewise.
21362         * locales/en_CA: Likewise.
21363         * locales/en_DK: Likewise.
21364         * locales/en_GB: Likewise.
21365         * locales/en_IE: Likewise.
21366         * locales/en_NZ: Likewise.
21367         * locales/en_ZA: Likewise.
21368         * locales/en_ZW: Likewise.
21369         * locales/es_AR: Likewise.
21370         * locales/es_BO: Likewise.
21371         * locales/es_CL: Likewise.
21372         * locales/es_CO: Likewise.
21373         * locales/es_DO: Likewise.
21374         * locales/es_EC: Likewise.
21375         * locales/es_ES: Likewise.
21376         * locales/es_HN: Likewise.
21377         * locales/es_MX: Likewise.
21378         * locales/es_PA: Likewise.
21379         * locales/es_PE: Likewise.
21380         * locales/es_PY: Likewise.
21381         * locales/es_SV: Likewise.
21382         * locales/es_US: Likewise.
21383         * locales/es_UY: Likewise.
21384         * locales/es_VE: Likewise.
21385         * locales/et_EE: Likewise.
21386         * locales/fa_IR: Likewise.
21387         * locales/fo_FO: Likewise.
21388         * locales/fr_CA: Likewise.
21389         * locales/fr_CH: Likewise.
21390         * locales/gv_GB: Likewise.
21391         * locales/he_IL: Likewise.
21392         * locales/hr_HR: Likewise.
21393         * locales/id_ID: Likewise.
21394         * locales/is_IS: Likewise.
21395         * locales/it_CH: Likewise.
21396         * locales/iw_IL: Likewise.
21397         * locales/kl_GL: Likewise.
21398         * locales/ko_KR: Likewise.
21399         * locales/kw_GB: Likewise.
21400         * locales/lg_UG: Likewise.
21401         * locales/lt_LT: Likewise.
21402         * locales/lv_LV: Likewise.
21403         * locales/mi_NZ: Likewise.
21404         * locales/nhn_MX: Likewise.
21405         * locales/nl_BE: Likewise.
21406         * locales/pl_PL: Likewise.
21407         * locales/sk_SK: Likewise.
21408         * locales/sl_SI: Likewise.
21409         * locales/sv_FI: Likewise.
21410         * locales/tl_PH: Likewise.
21411         * locales/tr_TR: Likewise.
21412         * locales/vi_VN: Likewise.
21414 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21416         [BZ #17475]
21417         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21418         of tu_IN and bh_IN.
21420 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21422         [BZ #18694]
21423         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21424         bits/wordsize.h.
21425         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21427 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21429         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21430         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21431         (spawn_thread): New function.
21432         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21433         (do_test): ... here.  Use IS_LOADED to test for its
21434         availability.
21436 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21438         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21440 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21442         [BZ #18696]
21443         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21444         si_addr_bnd.
21445         (si_lower): New.
21446         (si_upper): Likewise.
21448 2015-07-16  David S. Miller  <davem@davemloft.net>
21450         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21452 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21454         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21455         buffer.
21456         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21457         fail output information.
21459 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21462         and strstr-ppc64..
21463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21464         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21465         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21466         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21467         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21469 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21471         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21472         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21473         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21474         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21476 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21478         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21479         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21480         rtld_hidden_proto.
21481         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21483 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21485         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21486         the test can fail.
21488         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21490         [BZ #18676]
21491         * elf/tst-nodelete-opened.c: New test case.
21492         * elf/tst-nodelete-opened-lib.c: New test case module.
21493         * elf/Makefile (tests, modules-names): Use them.
21494         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21495         early.
21497 2015-07-15  David S. Miller  <davem@davemloft.net>
21499         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21500         futex-intenal.h
21501         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21502         * sysdeps/sparc/sparc64/Makefile: Likewise.
21503         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21504         Remove space from macro define.
21505         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21507 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21509         [BZ #17475]
21510         * locale/iso-639.def: Update Bhili and Tulu language codes as
21511         per iso639-3.
21513 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21515         * elf/tst-leaks1.c (main): Converted to ...
21516         (do_test): ... this.
21517         (TEST_FUNCTION): New macro.
21518         Include test-skeleton.c.
21519         * localedata/tst-langinfo.c (main): Converted to ...
21520         (do_test): ... this.
21521         (TEST_FUNCTION): New macro.
21522         Include test-skeleton.c.
21523         * math/test-fpucw.c (main): Converted to ...
21524         (do_test): ... this.
21525         (TEST_FUNCTION): New macro.
21526         Include test-skeleton.c.
21527         * math/test-tgmath.c (main): Converted to ...
21528         (do_test): ... this.
21529         (TEST_FUNCTION): New macro.
21530         Include test-skeleton.c.
21531         * math/test-tgmath2.c (main): Converted to ...
21532         (do_test): ... this.
21533         (TEST_FUNCTION): New macro.
21534         Include test-skeleton.c.
21535         * setjmp/tst-setjmp.c (main): Converted to ...
21536         (do_test): ... this.
21537         (TEST_FUNCTION): New macro.
21538         Include test-skeleton.c.
21539         * stdio-common/tst-sscanf.c (main): Converted to ...
21540         (do_test): ... this.
21541         (TEST_FUNCTION): New macro.
21542         Include test-skeleton.c.
21543         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21544         (do_test): ... this.
21545         (TEST_FUNCTION): New macro.
21546         Include test-skeleton.c.
21548         * elf/tst-audit9.c (main): Converted to ...
21549         (do_test): ... this.
21550         (TEST_FUNCTION): New macro.
21551         Include test-skeleton.c.
21553 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21555         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21557 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21559         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21560         New variable.
21562 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21564         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21566 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21568         * sysdeps/generic/dl-fileid.h: New file.
21569         * sysdeps/posix/dl-fileid.h: New file.
21570         * sysdeps/nacl/dl-fileid.h: New file.
21571         * include/link.h: Include <dl-fileid.h>.
21572         (struct link_map): Replace l_dev and l_ino with l_file_id.
21573         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21574         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21575         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21577 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21579         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21581 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21583         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21584         Add iff $CXX is set.
21585         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21586         Likewise.
21587         (tst-nodelete-zmodiff): Likewise.
21588         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21590 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21592         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21594 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21596         * sysdeps/aarch64/fpu/math_private.h
21597         (define math_opt_barrier): Add AArch64 version.
21598         (math_force_eval): Likewise.
21600 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21602         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21604 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21606         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21607         %ld with %jd and cast to intmax_t.
21608         (do_test_length_zero): Likewise.
21610 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21612         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21614 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21616         * sysdeps/tile/libm-test-ulps: Regenerated.
21618         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21619         Comment out the whole function, not just its body.
21621 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21623         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21624         locks.
21626         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21628 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21630         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21631         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21633 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21635         * sysdeps/nptl/futex-internal.h: New file.
21636         * sysdeps/nacl/futex-internal.h: New file.
21637         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21638         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21639         error checking.
21640         (setxid_unmark_thread): Likewise.
21641         (__nptl_setxid): Likewise.
21642         (__wait_lookup_done): Likewise.
21643         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21644         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21645         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21646         * nptl/pthread_once.c (clear_once_control): Likewise.
21647         (__pthread_once_slow): Likewise.
21648         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21649         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21650         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21651         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21652         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21653         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21654         Likewise.
21655         (__pthread_rwlock_rdlock): Likewise.
21656         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21657         Likewise.
21658         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21659         Likewise.
21660         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21661         Likewise.
21662         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21663         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21664         Likewise.
21665         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21666         __ASSUME_PRIVATE_FUTEX check.
21667         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21668         Check that shared futexes are supported.
21669         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21670         wrappers with error checking.
21671         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21672         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21673         * nptl/pthread_barrierattr_setpshared.c
21674         (pthread_barrierattr_setpshared): Check that shared futexes are
21675         supported.
21676         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21677         Likewise.
21678         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21679         Likewise.
21680         * nptl/sem_init.c (futex_private_if_supported): Remove.
21681         (__new_sem_init): Adapt and check that shared futexes are supported.
21682         * nptl/sem_open.c (sem_open): Likewise.
21683         * nptl/sem_post.c (futex_wake): Remove.
21684         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21685         (do_futex_wait): Use futex wrappers with error checking.
21686         * nptl/sem_wait.c: Include lowlevellock.h.
21687         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21688         Use futex_supports_pshared.
21689         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21690         Use futex wrappers with error checking.
21691         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21692         Likewise.
21693         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21694         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21695         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21696         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21697         (futex_wake): Likewise.
21698         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21699         (do_futex_wait): Use futex wrappers with error checking.
21700         (__new_sem_wait_slow): Update EINTR handling.
21701         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21703 2015-07-09  Martin Sebor  <msebor@redhat.com>
21705         [BZ #18435]
21706         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21707         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21708         * nptl/Makefile (test-xfail-tst-once5): Define.
21710 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21712         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21713         * elf/dl-minimal.c: For readability, reorder some definitions and
21714         introduce more page breaks.  Include <stdio.h>.
21715         (__libc_fatal): New function.
21717         * include/unistd.h: Add rtld_hidden_proto for _exit.
21718         * posix/_exit.c: Add rtld_hidden_def.
21719         * sysdeps/mach/hurd/_exit.c: Likewise.
21720         * sysdeps/nacl/_exit.c: Likewise.
21721         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21722         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21724 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21727         bndmov encoding with zero displacement.
21729 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21730             H.J. Lu  <hongjiu.lu@intel.com>
21732         [BZ #18134]
21733         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21734         * sysdeps/i386/configure: Regenerated.
21735         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21736         (_dl_runtime_profile): Save and restore Intel MPX return bound
21737         registers when calling _dl_call_pltexit.  Add
21738         PRESERVE_BND_REGS_PREFIX before return.
21739         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21740         (LRV_BND1_OFFSET): Likewise.
21741         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21742         lrv_bnd1.
21743         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21744         typo in bndmov encoding.
21745         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21746         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21747         branch instructions to preserve bounds.
21749 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21752         [GLIBC_2.22]: Add fmemopen.
21754 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21756         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21757         returns an error, also try to use host port from __mach_host_self for
21758         the __vm_wire call.
21759         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21761 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21763         [BZ #18400]
21764         [BZ #18648]
21765         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21766         Fix pr_uid and pr_gid members.
21767         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21768         definition to elf_greg_t.
21770 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21772         [BZ #18383]
21773         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21774         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21775         * sysdeps/arm/configure: Regenerated.
21776         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21777         (test-xfail-tst-tlsalign-static): Variable removed.
21779         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21780         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21781         rather than explicit 'ln -s'.
21783         * resolv/rpc/netdb.h: New file.
21784         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21786 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21788         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21789         length buffers.
21790         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21791         test-skeleton.c.
21793         [BZ #6544]
21794         [BZ #11216]
21795         [BZ #12836]
21796         [BZ #13151]
21797         [BZ #13152]
21798         [BZ #14292]
21799         * include/stdio.h (fmemopen): Remove hidden prototype.
21800         (__fmemopen): Add new hidden prototype.
21801         * libio/Makefile: Add oldfmemopen object.
21802         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21803         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21804         compliance.
21805         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21806         symbol compatibility.
21807         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21808         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21809         fmemopen.
21810         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21811         on append and read mode.
21812         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21813         fmemopen.
21814         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21815         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21816         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21817         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21818         Likewise.
21819         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21820         [GLIBC_2.22]: Likewise.
21821         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21822         Likewise.
21823         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21824         Likewise.
21825         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21826         [GLIBC_2.22]: Likewise.
21827         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21828         [GLIBC_2.22]: Likewise.
21829         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21830         [GLIBC_2.22]: Likewise.
21831         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21832         [GLIBC_2.22]: Likewise.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21834         [GLIBC_2.22]: Likewise.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21836         [GLIBC_2.22]: Likewise.
21837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21838         [GLIBC_2.22]: Likewise.
21839         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21840         Likewise.
21841         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21842         Likewise.
21843         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21844         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21845         [GLIBC_2.22]: Likewise.
21846         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21847         [GLIBC_2.22]: Likewise.
21848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21849         [GLIBC_2.22]: Likewise.
21850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21851         [GLIBC_2.22]: Likewise.
21852         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21853         Likewise.
21854         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21855         Likewise.
21856         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21857         Likewise.
21858         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21859         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21861 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21863         [BZ #18643]
21864         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21865         IPV6_PATHMTU, and IPV6_DONTFRAG.
21867 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21869         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21870         and _IO_UNBUFFERED.
21871         * libio/oldfileops.c: Likewise.
21872         * libio/wfileops.c: Likewise.
21874 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21876         * nscd/selinux.c: Delete selinux/flask.h include.
21878 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21880         [BZ #18641]
21881         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21882         (putpwent): Likewise.
21883         (getpwnam): Likewise.
21884         (getpwent_r): Likewise.
21885         (getpwuid_r): Likewise.
21886         (getpwnam_r): Likewise.
21887         (fgetpwent_r): Likewise.
21889 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21891         [BZ #18557]
21892         * inet/rcmd.c (__validuser2_sa): Check user first to
21893         short-circuit host check.
21895 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21896             Mikhail Ilin  <m.ilin@samsung.com>
21898         [BZ #17833]
21899         * elf/Makefile (tests): Add tst-nodelete.
21900         (modules-names): Add tst-nodelete-uniquemod.
21901         (tst-nodelete-uniquemod.so-no-z-defs): New.
21902         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21903         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21904         ($(objpfx)tst-nodelete): Likewise.
21905         ($(objpfx)tst-nodelete.out): Likewise.
21906         (LDFLAGS-tst-nodelete): Likewise.
21907         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21908         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21909         implement forced object deletion.
21910         (_dl_close): Pass false to _dl_close_worker.
21911         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21912         * elf/tst-nodelete.cc: New file.
21913         * elf/tst-nodeletelib.cc: Likewise.
21914         * elf/tst-znodeletelib.cc: Likewise.
21915         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21917 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21919         [BZ #18508]
21920         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21921         Depend on $(libdl).
21922         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21923         is not called infinitely times.
21924         (backtrace_helper): New function.
21925         (trace_arg): New struct.
21926         (st1): Enlarge stack size.
21927         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21928         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21929         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21930         Likewise.
21932 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21934         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21936 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21938         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21939         Include sys/types.h instead of bits/types.h.
21940         Remove inclusion of bits/wordsize.h.
21942 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21944         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21945         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21946         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21947         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21948         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21949         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21951 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21953         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21954         link-defines.sym.
21955         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21956         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21957         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21958         and LR_SIZE.
21959         * sysdeps/i386/link-defines.sym: New file.
21961 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21963         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21964         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21965         ($(objpfx)tst-audit3): New rule.
21966         ($(objpfx)tst-audit3.out): Likewise.
21967         * sysdeps/i386/tst-audit3.c: New file.
21968         * sysdeps/i386/tst-audit3.h: Likewise.
21969         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21970         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21972 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21974         [BZ #18633]
21975         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21976         pointer in C code.
21977         (__strcat_c): Likewise.
21978         (__strcat_g): Likewise.
21980 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21982         [BZ #18592]
21983         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21985 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21987         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21988         New function.  (__ieee754_sqrtf): New function.
21989         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21990         New function.
21991         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21992         New function.
21994 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21996         * sysdeps/ieee754/support.c: Remove unused file.
21998 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22000         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
22001         registers instead of d ones so the layout is kernel abi compatible.
22002         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
22003         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
22004         Likewise.
22006 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22008         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22010 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
22012         [BZ #18619]
22013         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
22014         and return argument in case of subnormal argument.
22016 2015-07-01  Martin Sebor  <msebor@redhat.com>
22018         [BZ #18435]
22019         * nptl/Makefile: Add tst-once5.cc.
22020         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
22021         Remove macro redefinitions.
22022         * nptl/tst-once5.cc: New test.
22024 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
22026         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22028         * sysdeps/arm/libm-test-ulps: Regenerated.
22030         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22031         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22033 2015-06-30  Torvald Riegel  <triegel@redhat.com>
22035         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
22036         lll_lock_wait_private and lll_futex_wake probes.
22038         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22039         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
22040         Likewise.
22041         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
22042         atomic_spin_nop.
22043         * sysdeps/x86_64/bits/atomic.h: Likewise.
22044         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
22045         to atomic_spin_nop and move ...
22046         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22047         ... here and ...
22048         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
22049         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
22050         atomic_spin_nop instead of BUSY_WAIT_NOP.
22051         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
22052         Likewise.
22053         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
22054         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22055         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
22056         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
22057         instead of atomic_delay.
22059 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
22061         [BZ #18613]
22062         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
22063         X_ADJ not X when adjusting exponent.
22064         (__ieee754_gamma_r): Do intermediate computations in
22065         round-to-nearest then adjust overflowing and underflowing results
22066         as needed.
22067         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
22068         of X_ADJ not X when adjusting exponent.
22069         (__ieee754_gammaf_r): Do intermediate computations in
22070         round-to-nearest then adjust overflowing and underflowing results
22071         as needed.
22072         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
22073         log of X_ADJ not X when adjusting exponent.
22074         (__ieee754_gammal_r): Do intermediate computations in
22075         round-to-nearest then adjust overflowing and underflowing results
22076         as needed.  Use 1.0L not 1.0f as numerator of division.
22077         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
22078         log of X_ADJ not X when adjusting exponent.
22079         (__ieee754_gammal_r): Do intermediate computations in
22080         round-to-nearest then adjust overflowing and underflowing results
22081         as needed.  Use 1.0L not 1.0f as numerator of division.
22082         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
22083         of X_ADJ not X when adjusting exponent.
22084         (__ieee754_gammal_r): Do intermediate computations in
22085         round-to-nearest then adjust overflowing and underflowing results
22086         as needed.  Use 1.0L not 1.0f as numerator of division.
22087         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
22088         to auto-libm-test-in.
22089         (tgamma_test): Use ALL_RM_TEST.
22090         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
22091         tests of tgamma with spurious-overflow.
22092         * math/auto-libm-test-out: Regenerated.
22093         * math/gen-libm-have-vector-test.sh: Do not check for START.
22094         * sysdeps/i386/fpu/libm-test-ulps: Update.
22095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22097         [BZ #18612]
22098         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
22099         arguments, just return 0.5 times the argument, with underflow
22100         forced as needed.
22101         * math/auto-libm-test-in: Add more tests of j1.
22102         * math/auto-libm-test-out: Regenerated.
22104         [BZ #16559]
22105         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
22106         (__ieee754_j1): Force underflow exception for small results.
22107         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22108         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
22109         (__ieee754_j1f): Force underflow exception for small results.
22110         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22111         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22113         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
22114         (__ieee754_j1l): Force underflow exception for small results.
22115         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22116         * math/auto-libm-test-in: Add more tests of j1 and jn.
22117         * math/auto-libm-test-out: Regenerated.
22119         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
22120         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
22121         (PF_MPLS): Likewise.
22122         (AF_IB): Likewise.
22123         (AF_MPLS): Likewise.
22124         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
22125         value and macro.
22126         (MS_RMT_MASK): Include MS_LAZYTIME.
22128 2015-06-26  Mel Gorman  <mgorman@suse.de>
22130         [BZ #18502]
22131         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
22132         already minimal.
22134 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
22136         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
22137         (DT_MIPS_NUM): Update.
22138         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
22139         DT_MIPS_RLD_MAP_REL.
22141 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
22143         [BZ #16559]
22144         [BZ #18602]
22145         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
22146         round-to-nearest internally then recompute results that
22147         underflowed to zero in the original rounding mode.
22148         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22149         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22150         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22151         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22152         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
22153         * sysdeps/i386/fpu/libm-test-ulps: Update.
22154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22156 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22158         * NEWS: Fixed description of link with vector math library.
22160 2015-06-25  Andreas Schwab  <schwab@suse.de>
22162         [BZ #18549]
22163         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
22164         * libio/test-fmemopen.c (do_test): Add test for it.
22166 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
22168         [BZ #17841]
22169         * Makeconfig (no-pie-ldflag): New.
22170         (+link): Set to $(+link-pie) if default to PIE.
22171         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
22172         * config.make.in (build-pie-default): New.
22173         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
22174         is default.  AC_SUBST.
22175         * configure: Regenerated.
22176         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
22178 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22180         * nptl/descr.h (struct pthread): Change type of field setxid_futex
22181         to 'unsigned int'.
22183         * resolv/gai_misc.h (struct waitlist): Change type of field
22184         counterp to 'volatile unsigned int *'.
22185         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
22186         FUTEXADDR and OLDVAL.
22187         * resolv/getaddrinfo_a.c (getaddrinfo_a):
22188         Give local variable TOTAL type 'volatile unsigned int'.
22189         (struct async_waitlist): Change type of field counter to 'unsigned int'.
22190         * resolv/gai_suspend.c (gai_suspend):
22191         Give local variable CNTR type 'unsigned int'.
22193         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
22194         counterp to 'volatile unsigned int *'.
22195         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
22196         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
22197         (aio_suspend): Give local variable CNTR type 'unsigned int'.
22198         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
22199         Give local variable TOTAL type 'volatile unsigned int'.
22200         (struct async_waitlist): Change type of field counter to 'unsigned int'.
22202 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22204         [BZ #18383]
22205         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
22206         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
22207         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
22208         comment for i386/x86-64.
22209         (test-xfail-tst-tlsalign-extern-static): Removed.
22211 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22213         * math/test-double.h: New file.
22214         * math/test-float.h: Likewise.
22215         * math/test-ldouble.h: Likewise.
22216         * math/test-math-inline.h: Likewise.
22217         * math/test-math-no-inline.h: Likewise.
22218         * math/test-math-scalar.h: Likewise.
22219         * math/test-math-vector.h: Likewise.
22220         * math/test-vec-loop.h: Remove file.  Contents moved into
22221         test-math-vector.h.
22222         * math/libm-test.inc (MATHCONST): Do not document macro.
22223         * math/test-double.c: Include test-double.h, test-math-no-inline.h
22224         and test-math-scalar.h.
22225         (FUNC): Remove macro.
22226         (FUNC_TEST): Likewise.
22227         (FLOAT): Likewise.
22228         (MATHCONST): Likewise.
22229         (PRINTF_EXPR): Likewise.
22230         (PRINTF_XEXPR): Likewise.
22231         (PRINTF_NEXPR): Likewise.
22232         (TEST_DOUBLE): Likewise.
22233         (TEST_MATHVEC): Likewise.
22234         (__NO_MATH_INLINES): Likewise.
22235         * math/test-float.c: Include test-float.h, test-math-no-inline.h
22236         and test-math-scalar.h.
22237         (FUNC): Remove macro.
22238         (FUNC_TEST): Likewise.
22239         (FLOAT): Likewise.
22240         (MATHCONST): Likewise.
22241         (PRINTF_EXPR): Likewise.
22242         (PRINTF_XEXPR): Likewise.
22243         (PRINTF_NEXPR): Likewise.
22244         (TEST_FLOAT): Likewise.
22245         (TEST_MATHVEC): Likewise.
22246         (__NO_MATH_INLINES): Likewise.
22247         * math/test-idouble.c: Include test-double.h, test-math-inline.h
22248         and test-math-scalar.h.
22249         (FUNC): Remove macro.
22250         (FUNC_TEST): Likewise.
22251         (FLOAT): Likewise.
22252         (MATHCONST): Likewise.
22253         (PRINTF_EXPR): Likewise.
22254         (PRINTF_XEXPR): Likewise.
22255         (PRINTF_NEXPR): Likewise.
22256         (TEST_DOUBLE): Likewise.
22257         (TEST_MATHVEC): Likewise.
22258         (TEST_INLINE): Likewise.
22259         (__NO_MATH_INLINES): Likewise.
22260         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
22261         test-math-scalar.h.
22262         (FUNC): Remove macro.
22263         (FUNC_TEST): Likewise.
22264         (FLOAT): Likewise.
22265         (MATHCONST): Likewise.
22266         (PRINTF_EXPR): Likewise.
22267         (PRINTF_XEXPR): Likewise.
22268         (PRINTF_NEXPR): Likewise.
22269         (TEST_FLOAT): Likewise.
22270         (TEST_MATHVEC): Likewise.
22271         (TEST_INLINE): Likewise.
22272         (__NO_MATH_INLINES): Likewise.
22273         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
22274         and test-math-scalar.h.
22275         (FUNC): Remove macro.
22276         (FUNC_TEST): Likewise.
22277         (FLOAT): Likewise.
22278         (MATHCONST): Likewise.
22279         (PRINTF_EXPR): Likewise.
22280         (PRINTF_XEXPR): Likewise.
22281         (PRINTF_NEXPR): Likewise.
22282         (TEST_LDOUBLE): Likewise.
22283         (TEST_MATHVEC): Likewise.
22284         (TEST_INLINE): Likewise.
22285         (__NO_MATH_INLINES): Likewise.
22286         * math/test-ldouble.c: Include test-ldouble.h,
22287         test-math-no-inline.h and test-math-scalar.h.
22288         (FUNC): Remove macro.
22289         (FUNC_TEST): Likewise.
22290         (FLOAT): Likewise.
22291         (MATHCONST): Likewise.
22292         (PRINTF_EXPR): Likewise.
22293         (PRINTF_XEXPR): Likewise.
22294         (PRINTF_NEXPR): Likewise.
22295         (TEST_LDOUBLE): Likewise.
22296         (TEST_MATHVEC): Likewise.
22297         (__NO_MATH_INLINES): Likewise.
22298         * math/test-double-vlen2.h: Include test-double.h,
22299         test-math-no-inline.h and test-math-vector.h.
22300         (FLOAT): Remove macro.
22301         (FUNC): Likewise.
22302         (MATHCONST): Likewise.
22303         (PRINTF_EXPR): Likewise.
22304         (PRINTF_XEXPR): Likewise.
22305         (PRINTF_NEXPR): Likewise.
22306         (TEST_DOUBLE): Likewise.
22307         (TEST_MATHVEC): Likewise.
22308         (__NO_MATH_INLINES): Likewise.
22309         (CNCT): Likewise.
22310         (CONCAT): Likewise.
22311         (WRAPPER_NAME): Likewise.
22312         (WRAPPER_DECL): Likewise.
22313         (WRAPPER_DECL_ff): Likewise.
22314         (WRAPPER_DECL_fFF): Likewise.
22315         (VECTOR_WRAPPER): Likewise.
22316         (VECTOR_WRAPPER_ff): Likewise.
22317         (VECTOR_WRAPPER_fFF): Likewise.
22318         (VEC_LEN): New macro.
22319         * math/test-double-vlen4.h: Include test-double.h,
22320         test-math-no-inline.h and test-math-vector.h.
22321         (FLOAT): Remove macro.
22322         (FUNC): Likewise.
22323         (MATHCONST): Likewise.
22324         (PRINTF_EXPR): Likewise.
22325         (PRINTF_XEXPR): Likewise.
22326         (PRINTF_NEXPR): Likewise.
22327         (TEST_DOUBLE): Likewise.
22328         (TEST_MATHVEC): Likewise.
22329         (__NO_MATH_INLINES): Likewise.
22330         (CNCT): Likewise.
22331         (CONCAT): Likewise.
22332         (WRAPPER_NAME): Likewise.
22333         (WRAPPER_DECL): Likewise.
22334         (WRAPPER_DECL_ff): Likewise.
22335         (WRAPPER_DECL_fFF): Likewise.
22336         (VECTOR_WRAPPER): Likewise.
22337         (VECTOR_WRAPPER_ff): Likewise.
22338         (VECTOR_WRAPPER_fFF): Likewise.
22339         (VEC_LEN): New macro.
22340         * math/test-double-vlen8.h: Include test-double.h,
22341         test-math-no-inline.h and test-math-vector.h.
22342         (FLOAT): Remove macro.
22343         (FUNC): Likewise.
22344         (MATHCONST): Likewise.
22345         (PRINTF_EXPR): Likewise.
22346         (PRINTF_XEXPR): Likewise.
22347         (PRINTF_NEXPR): Likewise.
22348         (TEST_DOUBLE): Likewise.
22349         (TEST_MATHVEC): Likewise.
22350         (__NO_MATH_INLINES): Likewise.
22351         (CNCT): Likewise.
22352         (CONCAT): Likewise.
22353         (WRAPPER_NAME): Likewise.
22354         (WRAPPER_DECL): Likewise.
22355         (WRAPPER_DECL_ff): Likewise.
22356         (WRAPPER_DECL_fFF): Likewise.
22357         (VECTOR_WRAPPER): Likewise.
22358         (VECTOR_WRAPPER_ff): Likewise.
22359         (VECTOR_WRAPPER_fFF): Likewise.
22360         (VEC_LEN): New macro.
22361         * math/test-float-vlen4.h: Include test-float.h,
22362         test-math-no-inline.h and test-math-vector.h.
22363         (FLOAT): Remove macro.
22364         (FUNC): Likewise.
22365         (MATHCONST): Likewise.
22366         (PRINTF_EXPR): Likewise.
22367         (PRINTF_XEXPR): Likewise.
22368         (PRINTF_NEXPR): Likewise.
22369         (TEST_FLOAT): Likewise.
22370         (TEST_MATHVEC): Likewise.
22371         (__NO_MATH_INLINES): Likewise.
22372         (CNCT): Likewise.
22373         (CONCAT): Likewise.
22374         (WRAPPER_NAME): Likewise.
22375         (WRAPPER_DECL): Likewise.
22376         (WRAPPER_DECL_ff): Likewise.
22377         (WRAPPER_DECL_fFF): Likewise.
22378         (VECTOR_WRAPPER): Likewise.
22379         (VECTOR_WRAPPER_ff): Likewise.
22380         (VECTOR_WRAPPER_fFF): Likewise.
22381         (VEC_LEN): New macro.
22382         * math/test-float-vlen8.h: Include test-float.h,
22383         test-math-no-inline.h and test-math-vector.h.
22384         (FLOAT): Remove macro.
22385         (FUNC): Likewise.
22386         (MATHCONST): Likewise.
22387         (PRINTF_EXPR): Likewise.
22388         (PRINTF_XEXPR): Likewise.
22389         (PRINTF_NEXPR): Likewise.
22390         (TEST_FLOAT): Likewise.
22391         (TEST_MATHVEC): Likewise.
22392         (__NO_MATH_INLINES): Likewise.
22393         (CNCT): Likewise.
22394         (CONCAT): Likewise.
22395         (WRAPPER_NAME): Likewise.
22396         (WRAPPER_DECL): Likewise.
22397         (WRAPPER_DECL_ff): Likewise.
22398         (WRAPPER_DECL_fFF): Likewise.
22399         (VECTOR_WRAPPER): Likewise.
22400         (VECTOR_WRAPPER_ff): Likewise.
22401         (VECTOR_WRAPPER_fFF): Likewise.
22402         (VEC_LEN): New macro.
22403         * math/test-float-vlen16.h: Include test-float.h,
22404         test-math-no-inline.h and test-math-vector.h.
22405         (FLOAT): Remove macro.
22406         (FUNC): Likewise.
22407         (MATHCONST): Likewise.
22408         (PRINTF_EXPR): Likewise.
22409         (PRINTF_XEXPR): Likewise.
22410         (PRINTF_NEXPR): Likewise.
22411         (TEST_FLOAT): Likewise.
22412         (TEST_MATHVEC): Likewise.
22413         (__NO_MATH_INLINES): Likewise.
22414         (CNCT): Likewise.
22415         (CONCAT): Likewise.
22416         (WRAPPER_NAME): Likewise.
22417         (WRAPPER_DECL): Likewise.
22418         (WRAPPER_DECL_ff): Likewise.
22419         (WRAPPER_DECL_fFF): Likewise.
22420         (VECTOR_WRAPPER): Likewise.
22421         (VECTOR_WRAPPER_ff): Likewise.
22422         (VECTOR_WRAPPER_fFF): Likewise.
22423         (VEC_LEN): New macro.
22424         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22425         test-vec-loop.h.
22426         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22427         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22428         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22429         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22430         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22431         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22432         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22434 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22436         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22437         (__getlogin_r): ... this.
22439 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22441         [BZ #18594]
22442         * math/s_ccosh.c (__ccosh): Compare with least normal value
22443         instead of comparing class with FP_SUBNORMAL.
22444         * math/s_ccoshf.c (__ccoshf): Likewise.
22445         * math/s_ccoshl.c (__ccoshl): Likewise.
22446         * math/s_cexp.c (__cexp): Likewise.
22447         * math/s_cexpf.c (__cexpf): Likewise.
22448         * math/s_cexpl.c (__cexpl): Likewise.
22449         * math/s_csin.c (__csin): Likewise.
22450         * math/s_csinf.c (__csinf): Likewise.
22451         * math/s_csinh.c (__csinh): Likewise.
22452         * math/s_csinhf.c (__csinhf): Likewise.
22453         * math/s_csinhl.c (__csinhl): Likewise.
22454         * math/s_csinl.c (__csinl): Likewise.
22455         * math/s_ctan.c (__ctan): Likewise.
22456         * math/s_ctanf.c (__ctanf): Likewise.
22457         * math/s_ctanh.c (__ctanh): Likewise.
22458         * math/s_ctanhf.c (__ctanhf): Likewise.
22459         * math/s_ctanhl.c (__ctanhl): Likewise.
22460         * math/s_ctanl.c (__ctanl): Likewise.
22461         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22462         csin, csinh, ctan and ctanh.
22463         * math/auto-libm-test-out: Regenerated.
22464         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22465         * sysdeps/i386/fpu/libm-test-ulps: Update.
22466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22468 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22470         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22471         return value is wrong, print the expected value too.
22473 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22475         [BZ #18585]
22476         * elf/readlib.c (is_gdb_python_file): New.
22477         (process_file): Don't issue errors on filenames with -gdb.py
22478         suffix.
22480 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22482         * math/auto-libm-test-in: Add more tests of csin and csinh.
22483         * math/auto-libm-test-out: Regenerated.
22484         * math/libm-test.inc (csin_test_data): Remove tests moved to
22485         auto-libm-test-in.
22486         (csinh_test_data): Likewise.
22488         [BZ #18593]
22489         * math/s_csin.c (__csin): Negate before rather than after possibly
22490         overflowing multiplication.
22491         * math/s_csinf.c (__csinf): Likewise.
22492         * math/s_csinh.c (__csinh): Likewise.
22493         * math/s_csinhf.c (__csinhf): Likewise.
22494         * math/s_csinhl.c (__csinhl): Likewise.
22495         * math/s_csinl.c (__csinl): Likewise.
22496         * math/auto-libm-test-in: Add some tests of csin and csinh.
22497         * math/auto-libm-test-out: Regenerated.
22498         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22499         (csinh_test_data): Likewise.
22500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22502         [BZ #18586]
22503         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22504         underflow exception for small results.
22506 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22508         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22509         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22510         variable and included header.
22511         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22512         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22513         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22514         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22515         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22518         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22519         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22520         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22521         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22522         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22523         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22524         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22525         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22526         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22528 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22530         [BZ #16526]
22531         [BZ #16538]
22532         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22533         (__sin): Force underflow exception for arguments with small
22534         absolute value.
22535         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22536         (__kernel_sinf): Force underflow exception for arguments with
22537         small absolute value.
22538         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22539         (__kernel_sincosl): Force underflow exception for arguments with
22540         small absolute value.
22541         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22542         (__kernel_sinl): Force underflow exception for arguments with
22543         small absolute value.
22544         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22545         (__kernel_sincosl): Force underflow exception for arguments with
22546         small absolute value.
22547         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22548         (__kernel_sinl): Force underflow exception for arguments with
22549         small absolute value.
22550         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22551         (__kernel_sinl): Force underflow exception for arguments with
22552         small absolute value.
22553         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22554         (__kernel_sinf): Force underflow exception for arguments with
22555         small absolute value.
22556         * math/auto-libm-test-in: Add more tests of sin and sincos.
22557         * math/auto-libm-test-out: Regenerated.
22559         [BZ #18245]
22560         [BZ #18583]
22561         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22562         (__kernel_standard_l): Use feholdexcept and fesetenv around
22563         conversion to double instead of special-casing overflow and
22564         underflow.
22565         * math/libm-test.inc (fmod_test_data): Add more tests.
22566         (remainder_test_data): Likewise.
22567         (sqrt_test_data): Likewise.
22569 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22571         [BZ #17403]
22572         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22573         atomic_read_barrier, atomic_write_barrier): Define.
22574         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22575         atomic_read_barrier, atomic_write_barrier): Define.
22577 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22579         * math/Makefile [$(PERL) != no]
22580         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22581         dependency on libm-test.stmp below the inclusion of Rules.
22583 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22585         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22586         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22587         and included header.
22588         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22589         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22590         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22592         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22596         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22597         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22598         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22599         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22600         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22601         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22602         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22603         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22604         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22605         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22606         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22608 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22610         [BZ #18371]
22611         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22612         intermediate but not final result might underflow.
22613         * math/s_csqrtf.c (__csqrtf): Likewise.
22614         * math/s_csqrtl.c (__csqrtl): Likewise.
22615         * math/auto-libm-test-in: Add more tests of csqrt.
22616         * math/auto-libm-test-out: Regenerated.
22617         * sysdeps/i386/fpu/libm-test-ulps: Update.
22619         [BZ #18219]
22620         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22621         threshold on absolute value of exponent for which scaling is used.
22622         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22623         * math/auto-libm-test-in: Add more tests of exp2.
22624         * math/auto-libm-test-out: Regenerated.
22626 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22628         [BZ #17977]
22629         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22630         when initializing interface list, based on the bug analysis
22631         and the patch proposed by Eric Newton.
22632         * resolv/tst-res_hconf_reorder.c: New test.
22633         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22634         tst-res_hconf_reorder.
22635         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22636         and $(shared-thread-library).
22637         (tst-res_hconf_reorder-ENV): New variable.
22639         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22640         in comment.
22642 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22644         [BZ #16353]
22645         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22646         (__expm1): Force underflow exception for arguments with small
22647         absolute value.
22648         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22649         (__expm1f): Force underflow exception for arguments with small
22650         absolute value.
22651         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22652         (__expm1): Force underflow exception for arguments with small
22653         absolute value.
22654         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22655         (__expm1f): Force underflow exception for arguments with small
22656         absolute value.
22657         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22658         Check for small arguments before calling __expm1.
22659         * math/auto-libm-test-in: Do not mark underflow exceptions as
22660         possibly missing for bug 16353.
22661         * math/auto-libm-test-out: Regenerated.
22663 2015-06-22  Andreas Schwab  <schwab@suse.de>
22665         [BZ #18513]
22666         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22667         PTR queries.
22669 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22671         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22673         * string/strcoll_l.c: Remove unused struct element idxnow.
22675 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22677         [BZ #18569]
22678         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22679         underflow and return argument in case of subnormal argument.
22680         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22681         Likewise.
22682         * math/auto-libm-test-in: Add more tests of expm1.
22683         * math/auto-libm-test-out: Regenerated.
22685         [BZ #16361]
22686         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22687         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22688         tiny results.
22689         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22690         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22691         tiny results.
22692         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22693         mark underflow exceptions as possibly missing for bug 16361.
22694         * math/auto-libm-test-out: Regenerated.
22696 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22698         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22699         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22700         Remove variable.
22701         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22702         (test-xfail-XOPEN2K8/utmpx.h/conform).
22704         * conform/conformtest.pl ($xerrors): New variable.
22705         (note_error): New function.
22706         (compiletest): New argument $xfail.  Use not_error.
22707         (runtest): Likewise.
22708         (top level): Handle xfail- lines.  Update calls to compiletest and
22709         runtest.  Handle xfail- and optional- in headers listed with
22710         allow-header.
22711         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22712         (O_EXEC): Likewise.
22713         (O_SEARCH): Likewise.
22714         * conform/data/stropts.h-data (ioctl): Likewise.
22715         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22716         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22717         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22718         (msghdr.msg_controllen): Likewise.
22719         (cmsghdr.cmsg_len): Likewise.
22720         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22721         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22722         variable.
22723         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22724         (test-xfail-XPG4/stropts.h/conform): Likewise.
22725         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22726         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22727         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22728         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22729         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22730         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22731         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22732         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22733         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22734         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22735         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22736         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22737         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22738         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22739         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22740         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22741         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22742         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22743         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22745 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22747         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22748         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22749         definitions for proper unfolding of __MATHDECL_VEC.
22751 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22753         * benchtests/bench-strcoll.c:
22754         Include string.h.
22755         (main): Remove unused variable res.
22757 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22759         * timezone/Makefile (%/UTC %/Universal):
22760         Generate test-result files for UTC and Universal.
22762 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22764         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22766 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22768         [BZ #16350]
22769         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22770         for arguments with small absolute value.
22771         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22772         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22773         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22774         (__asinh): Force underflow exception for arguments with small
22775         absolute value.
22776         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22777         (__asinhf): Force underflow exception for arguments with small
22778         absolute value.
22779         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22780         (__asinhl): Force underflow exception for arguments with small
22781         absolute value.
22782         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22783         (__asinhl): Force underflow exception for arguments with small
22784         absolute value.
22785         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22786         (__asinhl): Force underflow exception for arguments with small
22787         absolute value.
22788         * math/auto-libm-test-in: Do not mark underflow exceptions as
22789         possibly missing for bug 16350.
22790         * math/auto-libm-test-out: Regenerated.
22792         * include/bits/ipc.h: Remove file.
22793         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22794         variable.
22795         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22796         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22797         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22798         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22799         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22800         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22801         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22802         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22803         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22805         * math/auto-libm-test-in: Remove spurious underflow allowance for
22806         tests of cexp.
22807         * math/auto-libm-test-out: Regenerated.
22809         [BZ #18558]
22810         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22811         unconditional definition.
22812         (MCAST_BLOCK_SOURCE): Likewise.
22813         (MCAST_UNBLOCK_SOURCE): Likewise.
22814         (MCAST_LEAVE_GROUP): Likewise.
22815         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22816         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22817         (MCAST_MSFILTER): Likewise.
22818         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22819         Remove variable.
22820         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22821         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22822         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22823         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22824         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22826 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22828         * NEWS: Mention addition of x86_64 vector sincosf.
22829         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22830         * math/test-float-vlen4.h: Likewise.
22831         * math/test-float-vlen8.h: Likewise.
22832         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22833         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22834         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22835         * sysdeps/x86_64/fpu/Versions: New versions added.
22836         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22837         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22838         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22839         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22840         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22841         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22842         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22843         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22845         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22846         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22847         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22848         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22849         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22850         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22851         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22852         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22853         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22854         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22855         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22856         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22858         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22859         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22861         * NEWS: Mention addition of x86_64 vector sincos.
22862         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22863         * math/math.h (__MATHDECL_VEC): New macro.
22864         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22865         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22866         declaration under condition.
22867         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22868         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22869         TEST_VEC_LOOP change.
22870         * math/test-double-vlen4.h: Likewise.
22871         * math/test-double-vlen8.h: Likewise.
22872         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22873         * math/test-float-vlen4.h: Likewise.
22874         * math/test-float-vlen8.h: Likewise.
22875         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22876         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22877         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22878         * sysdeps/x86_64/fpu/Versions: New versions added.
22879         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22880         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22881         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22882         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22883         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22884         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22886         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22888         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22889         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22890         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22891         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22892         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22893         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22894         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22895         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22896         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22897         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22898         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22899         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22900         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22901         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22902         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22904         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22905         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22906         redirections for powf.
22907         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22908         * sysdeps/x86_64/fpu/Versions: New versions added.
22909         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22910         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22911         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22912         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22914         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22916         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22918         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22919         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22920         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22921         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22922         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22923         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22924         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22925         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22926         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22927         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22928         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22930         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22931         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22932         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22933         * math/test-float-vlen16.h: Fixed 2 argument macro.
22934         * math/test-float-vlen4.h: Likewise.
22935         * math/test-float-vlen8.h: Likewise.
22936         * NEWS: Mention addition of x86_64 vector powf.
22938 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22940         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22941         and redefine.
22942         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22943         and redefine.
22944         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22945         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22946         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22948         [BZ #18553]
22949         * resource/getpriority.c (getpriority): Rename to __getpriority
22950         and define as weak alias of __getpriority.
22951         * resource/setpriority.c (setpriority): Rename to __setpriority
22952         and define as weak alias of __setpriority.
22953         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22954         __getpriority and define as weak alias of __getpriority.
22955         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22956         __setpriority and define as weak alias of __setpriority.
22957         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22958         strong name.
22959         (setpriority): Use __setpriority as strong name.
22960         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22961         __getpriority and define as weak alias of __getpriority.
22962         * include/sys/resource.h (__getpriority): Declare.  Use
22963         libc_hidden_proto.
22964         (__setpriority): Likewise.
22965         (getpriority): Don't use libc_hidden_proto.
22966         (setpriority): Likewise.
22967         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22968         getpriority.  Call __setpriority instead of setpriority.
22969         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22970         Remove variable.
22972         [BZ #18547]
22973         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22974         as weak alias of __getttynam.  Use prototype function definition.
22975         Call __setttyent, __getttyent and __endttyent instead of
22976         setttyent, getttyent and endttyent.
22977         (getttyent): Rename to __getttyent and define as weak alias of
22978         __getttyent.  Call __setttyent instead of setttyent.  Call
22979         __fgets_unlocked instead of fgets_unlocked.
22980         (setttyent): Rename to __setttyent and define as weak alias of
22981         __setttyent.
22982         (endttyent): Rename to __endttyent and define as weak alias of
22983         __endttyent.
22984         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22985         (__setttyent): Likewise.
22986         (__endttyent): Likewise.
22987         (getttyent): Don't use libc_hidden_proto.
22988         (setttyent): Likewise.
22989         (endttyent): Likewise.
22990         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22991         __endttyent instead of setttyent, getttyent and endttyent.
22992         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22993         Remove variable.
22995         [BZ #18546]
22996         * socket/recv.c (__recv): Use libc_hidden_def.
22997         * socket/socket.c (__socket): Likewise.
22998         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22999         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23000         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
23001         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
23002         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
23003         libc_hidden_def.
23004         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
23005         libc_hidden_weak.
23006         * include/sys/socket.h (__socket): Do not use attribute_hidden.
23007         Use libc_hidden_proto.
23008         (__recv): Likewise.
23009         * socket/Versions (libc): Export __recv and __socket at version
23010         GLIBC_PRIVATE.
23011         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
23012         instead of recv.
23013         (init_mq_netlink): Call __socket instead of socket.
23014         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
23015         Remove variable.
23017         [BZ #18545]
23018         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
23019         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
23020         hidden_weak.
23021         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
23022         define as alias of __mq_timedsend.  Use hidden_weak.
23023         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
23024         __mq_timedsend as strong name.
23025         (mq_timedreceive): Use __mq_timedreceive as strong name.
23026         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
23027         (__mq_timedreceive): Likewise.
23028         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
23029         __mq_timedreceive instead of mq_timedreceive.
23030         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
23031         instead of mq_timedsend.
23032         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
23033         Remove variable.
23035         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
23036         hidden_def and hidden_weak instead of libc_hidden_def and
23037         libc_hidden_weak.
23038         (top level): Refer to hidden_def in comment.
23039         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
23040         macro.  Use it instead of libc_hidden_def.
23041         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
23042         specify __GI_* name explicitly.
23043         (mq_timedreceive): Likewise.
23044         (mq_setattr): Likewise.
23046         [BZ #18544]
23047         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
23048         __pthread_barrier_init and define as weak alias of
23049         __pthread_barrier_init.
23050         * sysdeps/sparc/nptl/pthread_barrier_init.c
23051         (pthread_barrier_init): Likewise.
23052         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
23053         __pthread_barrier_wait and define as weak alias of
23054         __pthread_barrier_wait.
23055         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23056         (pthread_barrier_wait): Likewise.
23057         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23058         (pthread_barrier_wait): Likewise.
23059         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
23060         (pthread_barrier_wait): Likewise.
23061         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
23062         (pthread_barrier_wait): Likewise.
23063         * nptl/Versions (libpthread): Export __pthread_barrier_init and
23064         __pthread_barrier_wait at version GLIBC_PRIVATE.
23065         * include/pthread.h (__pthread_barrier_init): Declare.
23066         (__pthread_barrier_wait): Likewise.
23067         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
23068         Call __pthread_barrier_wait instead of pthread_barrier_wait.
23069         (helper_thread): Likewise.
23070         (init_mq_netlink): Call __pthread_barrier_init instead of
23071         pthread_barrier_init.
23073         [BZ #18542]
23074         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
23075         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
23076         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
23077         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
23078         vswscanf.
23079         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
23080         Remove variable.
23082         [BZ #18540]
23083         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
23084         strong alias of _IO_fflush.  Use libc_hidden_def.
23085         * libio/iofflush_u.c (fflush_unlocked): Rename to
23086         __fflush_unlocked and define as weak alias of __fflush_unlocked.
23087         Use libc_hidden_weak.
23088         * include/stdio.h (__fflush_unlocked): Declare.  Use
23089         libc_hidden_proto.
23090         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
23091         fflush_unlocked.
23092         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
23093         Remove variable.
23095         [BZ #18539]
23096         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
23097         define as weak alias of __addseverity.
23098         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
23099         Remove variable.
23100         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23101         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23102         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23104         [BZ #18536]
23105         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
23106         (__tfind): Likewise.
23107         (__tdelete): Likewise.
23108         (__twalk): Likewise.
23109         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
23110         __twalk to GLIBC_PRIVATE.
23111         * include/search.h (__tsearch): Use libc_hidden_proto.
23112         (__tfind): Likewise.
23113         (__tdelete): Likewise.
23114         (__twalk): Likewise.
23115         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
23116         Call __tdelete instead of tdelete.
23117         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
23118         tfind.  Call __tsearch instead of tsearch.
23119         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
23120         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
23121         Remove variable.
23122         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23124         [BZ #18534]
23125         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
23126         (dprintf): Define as a weak alias of __dprintf, not a strong
23127         alias.
23128         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
23129         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
23130         dprintf.
23131         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
23132         Remove variable.
23133         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23134         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23136         [BZ #18533]
23137         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
23138         not a strong alias.
23139         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
23140         Remove variable.
23142         [BZ #18532]
23143         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
23144         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
23145         (in6addr_loopback): Rename to __in6addr_loopback and define as
23146         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
23147         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
23148         libc_hidden_proto.
23149         (__in6addr_any): Likewise.
23150         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
23151         in6addr_any.
23152         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
23153         variable.
23154         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23156 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23158         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
23159         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
23160         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23161         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23162         redirections for pow.
23163         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23164         * sysdeps/x86_64/fpu/Versions: New versions added.
23165         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23166         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23167         build of SSE, AVX2 and AVX512 IFUNC versions.
23168         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
23169         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
23170         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
23171         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
23172         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
23173         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
23174         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
23175         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
23176         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
23177         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
23178         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
23179         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
23180         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
23181         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
23182         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23183         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23184         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23185         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23186         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23187         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23188         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23189         * NEWS: Mention addition of x86_64 vector pow.
23191         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23192         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23193         redirections for expf.
23194         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23195         * sysdeps/x86_64/fpu/Versions: New versions added.
23196         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23197         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23198         build of SSE, AVX2 and AVX512 IFUNC versions.
23199         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
23200         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
23201         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
23202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
23203         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
23204         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
23205         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
23206         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
23207         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
23208         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
23209         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
23210         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
23211         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
23212         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23213         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23214         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23215         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23216         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23217         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23218         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23219         * NEWS: Mention addition of x86_64 vector expf.
23221         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
23222         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
23223         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23224         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23225         redirections for exp.
23226         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23227         * sysdeps/x86_64/fpu/Versions: New versions added.
23228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23229         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23230         build of SSE, AVX2 and AVX512 IFUNC versions.
23231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
23232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
23233         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
23234         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
23235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
23236         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
23237         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
23238         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
23239         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
23240         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
23241         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
23242         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
23243         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
23244         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23245         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23247         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23248         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23249         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23250         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23251         * NEWS: Mention addition of x86_64 vector exp.
23253         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23254         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23255         redirections for logf.
23256         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23257         * sysdeps/x86_64/fpu/Versions: New versions added.
23258         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23259         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23260         build of SSE, AVX2 and AVX512 IFUNC versions.
23261         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
23262         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
23263         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
23264         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
23265         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
23266         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
23267         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
23268         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
23269         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
23270         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
23271         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
23272         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
23273         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
23274         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23275         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23276         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23277         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23278         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23279         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23280         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23281         * NEWS: Mention addition of x86_64 vector logf.
23283         * bits/libm-simd-decl-stubs.h: Added stubs for log.
23284         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
23285         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23286         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23287         redirections for log.
23288         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23289         * sysdeps/x86_64/fpu/Versions: New versions added.
23290         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23291         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23292         build of SSE, AVX2 and AVX512 IFUNC versions.
23293         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23294         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23295         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23296         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23297         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23298         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23299         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23300         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23301         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23302         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23303         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23304         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23305         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23306         test.
23307         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23308         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23310         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23311         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23312         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23313         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23314         * NEWS: Mention addition of x86_64 vector log.
23316 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23318         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23319         cfi_adjust_cfa_offset argument.
23320         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23321         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23323         [BZ #18034]
23324         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23325         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23326         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23327         ordering using ldar.
23328         (_dl_tlsdesc_dynamic): Likewise.
23329         (_dl_tlsdesc_return_lazy): Likewise.
23330         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23331         relaxed atomics instead of volatile and synchronize with release store.
23332         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23333         volatile.
23334         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23336 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23338         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23339         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23340         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23341         * sysdeps/x86_64/fpu/Versions: New versions added.
23342         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23343         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23344         build of SSE, AVX2 and AVX512 IFUNC versions.
23345         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23346         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23347         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23348         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23349         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23350         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23351         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23352         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23353         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23354         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23355         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23356         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23357         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23358         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23359         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23360         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23361         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23362         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23363         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23364         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23365         * NEWS: Mention addition of x86_64 vector sinf.
23367 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23369         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23370         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23371         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23372         Remove variable.
23373         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23374         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23376 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23378         [BZ #18530]
23379         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23380         strong alias of _IO_fputs.  Use libc_hidden_def.
23381         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23382         and define as weak alias of __fputs_unlocked.  Use
23383         libc_hidden_weak.
23384         * include/stdio.h (__fputs_unlocked): Declare.  Use
23385         libc_hidden_proto.
23386         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23387         fputs_unlocked.
23389         [BZ #18529]
23390         * resolv/netdb.h [__USE_POSIX]: Change condition to
23391         [__USE_XOPEN2K].
23392         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23393         not expect.
23394         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23395         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23396         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23397         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23398         [XPG4 || UNIX98] (AI_ALL): Likewise.
23399         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23400         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23401         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23402         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23403         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23404         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23405         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23406         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23407         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23408         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23409         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23410         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23411         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23412         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23413         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23414         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23415         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23416         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23417         [XPG4 || UNIX98] (gai_strerror): Likewise.
23418         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23419         [XPG4 || UNIX98] (getnameinfo): Likewise.
23421         [BZ #18528]
23422         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23423         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23424         __USE_XOPEN2K8].
23425         (getgrent): Likewise.
23426         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23427         expect.
23428         [XPG3 || POSIX2008] (endgrent): Likewise.
23429         [XPG3] (setgrent): Likewise.
23430         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23431         variable.
23432         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23434         [BZ #18527]
23435         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23436         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23437         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23438         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23439         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23440         * include/unistd.h (__getlogin_r): Declare.  Use
23441         libc_hidden_proto.
23442         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23443         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23444         variable.
23445         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23446         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23447         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23449 2015-06-12  Martin Sebor  <msebor@redhat.com>
23451         [BZ #18512]
23452         * Makerules (check-install-supported): New target.
23453         (install): Add check-install-supported as a dependency.
23454         * manual/install.texi (Installing the C Library): Document
23455         that overriding prefix and exec_prefix is not supported.
23456         Mention DESTDIR.
23457         * INSTALL: Regenerate from the above.
23459 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23461         [BZ #18519]
23462         * posix/Versions (libc): Export __libc_pread at version
23463         GLIBC_PRIVATE.
23464         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23465         instead of pread.
23466         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23467         variable.
23469         [BZ #18522]
23470         * misc/efgcvt_r.c
23471         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23472         (cvt_symbol): Use weak_alias instead of strong_alias.
23473         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23474         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23475         Remove variable.
23476         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23477         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23479         [BZ #18520]
23480         * inet/herrno.c (h_errno): Rename to __h_errno.
23481         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23482         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23483         to __h_errno instead of h_errno.
23484         * nptl/herrno.c (h_errno): Rename to __h_errno.
23485         (__h_errno_location): Refer to __h_errno not h_errno.
23486         * resolv/Versions (h_errno): Rename to __h_errno.
23487         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23488         Remove variable.
23489         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23491 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23493         * configure.ac: More strict check for AVX512 assembler support.
23494         * configure: Regenerated.
23496         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23497         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23498         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23499         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23500         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23501         * sysdeps/x86_64/fpu/Versions: New versions added.
23502         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23503         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23504         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23505         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23506         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23507         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23508         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23509         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23510         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23511         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23512         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23513         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23514         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23515         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23516         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23517         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23518         test.
23519         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23520         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23521         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23522         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23523         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23524         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23525         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23526         * NEWS: Mention addition of x86_64 vector sin.
23528 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23530         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23531         comment.
23533 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23535         [BZ #18479]
23536         * nptl/pt-interp.c: New file.
23537         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23538         Add pt-interp.
23539         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23540         $(common-objpfx)runtime-linker.h.
23542 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23544         * Makeconfig (+interp): Remove unused variable.
23545         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23546         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23547         $(elf-objpfx)runtime-linker.h.
23548         ($(elf-objpfx)runtime-linker.h): Rename to
23549         $(common-objpfx)runtime-linker.h and move ...
23550         * Makerules [$(build-shared) = yes]: ... here.
23551         * elf/interp.c: Include <runtime-linker.h> instead of
23552         <elf/runtime-linker.h>.
23554 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23556         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23557         (__gettimeofday_syscall): Remove vsyscall fallback.
23558         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23559         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23560         Add syscall fallback function.
23561         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23562         if vDSO is not present.
23563         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23564         fallback function.
23565         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23566         present.
23567         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23568         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23570 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23572         [BZ #18497]
23573         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23574         of wcscmp.
23575         (wcscmp): Define as weak alias of WCSCMP.
23576         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23577         wcscoll.
23578         (USE_HIDDEN_DEF): Define.
23579         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23580         __wcscoll.  Don't use libc_hidden_weak.
23581         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23582         wcscmp.
23583         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23584         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23585         __GI_wcscmp.
23586         (weak_alias): Undefine and redefine.
23587         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23588         __wcscmp and define as weak alias of __wcscmp.
23589         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23590         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23591         (__wcscoll): Likewise.
23592         (wcscmp): Don't use libc_hidden_proto.
23593         (wcscoll): Likewise.
23594         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23595         wcscoll.
23596         * posix/regexec.c (check_node_accept_bytes): Likewise.
23597         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23598         variable.
23599         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23600         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23602         [BZ #18507]
23603         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23604         __fstatvfs and define as weak alias of __fstatvfs.  Use
23605         libc_hidden_weak.
23606         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23607         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23608         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23609         Define as alias of __fstatvfs, not fstatvfs.
23610         (fstatvfs64): Likewise.
23611         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23612         Define as alias of __statvfs, not statvfs.
23613         (statvfs64): Likewise.
23614         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23615         Remove variable.
23617 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23620         (HAVE_GETCPU_VSYSCALL): Define.
23621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23622         (HAVE_GETCPU_VSYSCALL): Likewise.
23623         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23624         * sysdeps/unix/sysv/linux/sched_getcpu.c
23625         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23626         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23627         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23628         prototype.
23629         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23630         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23631         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23633         Define.
23634         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23635         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23636         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23637         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23639 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23641         * sysdeps/x86_64/fpu/Makefile: New file.
23642         * sysdeps/x86_64/fpu/Versions: New file.
23643         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23644         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23645         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23646         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23647         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23648         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23649         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23650         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23651         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23652         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23653         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23654         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23655         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23656         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23657         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23658         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23659         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23660         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23661         * sysdeps/x86_64/configure: Regenerated.
23662         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23664         * manual/install.texi (Configuring and compiling): Document
23665         --disable-mathvec.
23666         * INSTALL: Regenerated.
23667         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23669         * math/Makefile: Added rules for vector tests.
23670         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23671         declaration under condition.
23672         * math/test-double-vlen2.h: New file.
23673         * math/test-double-vlen4.h: New file.
23674         * math/test-double-vlen8.h: New file.
23675         * math/test-vec-loop.h: Added initialization macro.
23676         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23678         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23679         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23680         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23681         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23683         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23684         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23685         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23686         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23688         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23689         * sysdeps/x86_64/fpu/Versions: New versions added.
23690         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23691         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23692         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23693         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23694         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23695         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23696         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23697         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23698         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23699         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23700         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23701         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23702         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23703         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23704         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23705         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23706         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23707         * NEWS: Mention addition of x86_64 vector cosf.
23709         * math/Makefile: Added CFLAGS for new tests.
23710         * math/test-float-vlen16.h: New file.
23711         * math/test-float-vlen4.h: New file.
23712         * math/test-float-vlen8.h: New file.
23713         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23714         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23715         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23716         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23717         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23718         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23719         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23720         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23721         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23722         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23723         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23725 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23727         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23728         * locale/programs/ld-ctype.c: Likewise.
23730 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23732         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23733         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23734         bit_ZMM16_31_state): New macro.
23735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23736         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23738 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23740         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23742 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23744         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23746 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23748         [BZ #18498]
23749         * libio/memstream.c (open_memstream): Rename to __open_memstream
23750         and define as weak alias of __open_memstream.
23751         * include/stdio.h (__open_memstream): Declare.  Use
23752         libc_hidden_proto.
23753         (open_memstream): Don't use libc_hidden_proto.
23754         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23755         open_memstream.
23756         * posix/getopt.c (_getopt_internal_r): Likewise.
23757         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23758         variable.
23759         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23760         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23761         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23763         [BZ #18496]
23764         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23765         instead of wcrtomb.
23767         [BZ #18483]
23768         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23769         [__USE_XOPEN2K8].  Remove redundant #endif.
23770         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23771         Remove redundant #if.
23772         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23773         Remove variable.
23774         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23775         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23777         [BZ #18495]
23778         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23779         (__iswlower): Likewise.
23780         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23781         (__iswlower): Likewise.
23782         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23783         instead of towlower.
23784         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23785         instead of iswlower.  Call __towupper instead of towupper.
23786         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23787         instead of iswalnum.
23789 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23791         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23792         errors to stderr.
23794 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23796         [BZ #15661]
23797         [BZ #17322]
23798         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23799         Check for overflow properly.  Check for O_APPEND.  Ignore large
23800         file system block sizes.  Add comments about problems.
23801         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23802         * manual/filesys.texi (Storage Allocation): New node.
23804 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23806         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23807         cancellable syscalls.
23808         (SYS_ify): Add guard to no redefine it.
23809         (INLINE_SYSCALL): Likewise.
23810         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23811         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23812         SYSCALL_CANCEL instead.
23813         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23814         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23815         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23816         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23817         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23818         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23819         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23820         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23821         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23822         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23823         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23824         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23825         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23826         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23827         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23828         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23829         Likewise.
23830         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23831         (__libc_pread64): Likewise.
23832         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23833         (__libc_preadv): Likewise.
23834         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23835         (__libc_readv64): Likewise.
23836         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23837         (__libc_pwrite): Likewise.
23838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23839         (__libc_pwrite64): Likewise.
23840         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23841         (__libc_pwritev): Likewise.
23842         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23843         (__libc_pwritev64): Likewise.
23844         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23845         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23846         (sync_file_range): Likewise.
23847         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23848         Likewise.
23849         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23850         Likewise.
23851         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23852         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23853         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23854         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23855         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23856         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23857         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23858         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23860         Likewise.
23861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23862         (__libc_read64): Likewise.
23863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23864         Likewise.
23865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23866         Likewise.
23867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23868         Likewise.
23869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23870         Likewise.
23871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23872         (__libc_pread64): Likewise.
23873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23874         Likewise.
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23876         (__libc_pwrite64): Likewise.
23877         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23878         (sync_file_range): Likewise.
23879         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23880         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23881         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23882         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23883         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23884         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23885         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23886         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23887         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23888         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23889         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23890         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23891         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23892         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23893         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23894         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23895         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23896         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23897         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23898         Likewise.
23899         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23900         Likewise.
23901         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23902         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23903         Likewise.
23904         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23905         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23906         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23907         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23908         Likewise.
23909         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23910         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23911         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23912         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23913         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23915 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23917         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23918         Include dl-vdso.
23919         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23920         Use VDSO routines for gettimeofday, clock_gettime if
23921         available.
23922         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23923         Declare VDSO symbols.
23924         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23925         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23926         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23927         * sysdeps/unix/sysv/linux/arm/Versions: Add
23928         __vdso_clock_gettime.
23930 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23932         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23933         be an inline implementation regardless of library is built within.
23934         (open_not_cancel_2): Likewise.
23935         (__read_nocancel): Likewise.
23936         (__write_nocancel): Likewise.
23937         (openat_not_cancel): Likewise.
23938         (openat_not_cancel_3): Likewise.
23939         (openat64_not_cancel): Likewise.
23940         (openat64_not_cancel_3): Likewise.
23941         (__close_nocancel): Likewise.
23942         (pause_not_cancel): Likewise.
23943         (nanosleep_not_cancel): Likewise.
23944         (sigsuspend_not_cancel): Likewise.
23946 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23948         [BZ #14958]
23949         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23950         wake-up.
23951         (__pthread_rwlock_rdlock_slow): Likewise.
23952         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23953         Likewise.
23954         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23955         Likewise.
23956         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23957         * nptl/tst-rwlock16.c: New file.
23958         * nptl/Makefile (tests): Add new test.
23960 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23962         [BZ #18324]
23963         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23964         missing wake-up of readers.
23965         * nptl/tst-rwlock15.c: New file.
23966         * nptl/Makefile (tests): Add new test.
23968 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23970         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23971         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23972         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23973         and __nacl_supply_interface_rtld.
23974         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23975         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23976         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23977         Add __nacl_supply_interface_rtld.
23978         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23980 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23982         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23983         isfinite.
23984         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23985         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23987 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23989         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23990         __signbit* with standard C99 macros.
23991         * math/e_exp10l.c: Likewise.
23992         * math/e_exp2l.c: Likewise.
23993         * math/e_scalb.c: Likewise.
23994         * math/e_scalbf.c: Likewise.
23995         * math/e_scalbl.c: Likewise.
23996         * math/s_ldexp.c: Likewise.
23997         * math/s_ldexpf.c: Likewise.
23998         * math/s_ldexpl.c: Likewise.
23999         * math/w_atan2.c: Likewise.
24000         * math/w_atan2f.c: Likewise.
24001         * math/w_atan2l.c: Likewise.
24002         * math/w_cosh.c: Likewise.
24003         * math/w_coshf.c: Likewise.
24004         * math/w_coshl.c: Likewise.
24005         * math/w_exp10.c: Likewise.
24006         * math/w_exp10f.c: Likewise.
24007         * math/w_exp10l.c: Likewise.
24008         * math/w_exp2.c: Likewise.
24009         * math/w_exp2f.c: Likewise.
24010         * math/w_exp2l.c: Likewise.
24011         * math/w_fmod.c: Likewise.
24012         * math/w_fmodf.c: Likewise.
24013         * math/w_fmodl.c: Likewise.
24014         * math/w_hypot.c: Likewise.
24015         * math/w_hypotf.c: Likewise.
24016         * math/w_hypotl.c: Likewise.
24017         * math/w_jnl.c: Likewise.
24018         * math/w_lgamma.c: Likewise.
24019         * math/w_lgamma_r.c: Likewise.
24020         * math/w_lgammaf.c: Likewise.
24021         * math/w_lgammaf_r.c: Likewise.
24022         * math/w_lgammal.c: Likewise.
24023         * math/w_lgammal_r.c: Likewise.
24024         * math/w_pow.c: Likewise.
24025         * math/w_powf.c: Likewise.
24026         * math/w_powl.c: Likewise.
24027         * math/w_remainder.c: Likewise.
24028         * math/w_remainderf.c: Likewise.
24029         * math/w_remainderl.c: Likewise.
24030         * math/w_scalb.c: Likewise.
24031         * math/w_scalbf.c: Likewise.
24032         * math/w_scalbl.c: Likewise.
24033         * math/w_scalbln.c: Likewise.
24034         * math/w_scalblnf.c: Likewise.
24035         * math/w_scalblnl.c: Likewise.
24036         * math/w_sinh.c: Likewise.
24037         * math/w_sinhf.c: Likewise.
24038         * math/w_sinhl.c: Likewise.
24039         * math/w_tgamma.c: Likewise.
24040         * math/w_tgammaf.c: Likewise.
24041         * math/w_tgammal.c: Likewise.
24042         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24043         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
24044         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24045         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24046         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24048         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24049         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24050         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24051         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24052         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24053         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24054         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24055         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24056         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24057         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24058         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24059         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24060         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24061         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24063         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24065         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24066         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24067         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24068         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
24069         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24070         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24071         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24072         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
24073         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
24074         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
24075         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
24076         * stdio-common/printf_fp.c: Likewise.
24077         * stdio-common/printf_fphex.c: Likewise.
24078         * stdio-common/printf_size.c: Likewise.
24080 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
24082         [BZ #18470]
24083         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
24084         strnlen.
24085         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
24086         Remove variable.
24087         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24088         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24089         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24090         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24091         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24092         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24093         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24094         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24095         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24096         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24098         [BZ #18468]
24099         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
24100         weak alias of __wmemchr.  Use libc_hidden_weak.
24101         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
24102         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
24103         instead of wmemchr.
24105 2015-06-02  Roland McGrath  <roland@hack.frob.com>
24107         [BZ #18383]
24108         * elf/tst-tlsalign-extern.c: New file.
24109         * elf/tst-tlsalign-extern-static.c: New file.
24110         * elf/tst-tlsalign-vars.c: New file.
24111         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
24112         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
24113         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
24114         ($(objpfx)tst-tlsalign-extern-static): Likewise.
24115         (test-xfail-tst-tlsalign-extern-static): New variable.
24117 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
24119         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
24120         Use variable name _sc_err instead of err.
24121         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
24122         instead of ret.
24123         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
24124         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
24125         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
24126         (INLINE_SYSCALL): Likewise.
24128         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
24129         * include/string.h (__strnlen): Use libc_hidden_proto.
24130         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
24131         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
24132         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
24133         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
24134         (libc_hidden_def): Undefine and redefine.
24135         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
24136         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
24137         __GI_strnlen.
24138         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
24139         libc_hidden_def.
24140         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
24142         [BZ #18469]
24143         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
24144         weak alias of __towlower.  Use libc_hidden_weak.
24145         (towupper): Rename to __towupper and define as weak alias of
24146         __towupper.  Use libc_hidden_weak.
24147         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
24148         (__towupper): Likewise.
24149         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
24150         __towlower instead of towlower.
24152 2015-06-02  Roland McGrath  <roland@hack.frob.com>
24154         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
24155         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
24157 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24159         * sysdeps/aarch64/libm-test-ulps: Update.
24161 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24163         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
24164         Define.
24165         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24167         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24168         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24169         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
24170         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
24171         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
24173 2015-06-01  Martin Sebor  <msebor@redhat.com>
24175         [BZ #18116]
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24177         (__setcontext): Use extended four-operand version of mtsf whenever
24178         possible.
24179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24180         (__novec_swapcontext): Likewise.
24182 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24184         * benchtests/scripts/compare_bench.py: New file.
24185         * benchtests/scripts/import_bench.py (mean): New function.
24186         (split_list): Likewise.
24187         (do_for_all_timings): Likewise.
24188         (compress_timings): Likewise.
24190         * benchtests/scripts/import_bench.py: New file.
24191         * benchtests/scripts/validate_benchout.py: Import import_bench
24192         instead of jsonschema.
24193         (validate_bench): Remove function.
24194         (main): Use import_bench.
24196 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
24198         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
24199         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
24201 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24205 2015-05-28  Roland McGrath  <roland@hack.frob.com>
24207         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
24208         set THREAD_SELF->tid to a magic value and futex-wake it.
24209         Pass its address to the thread_exit system call.
24210         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
24211         bit is clear.
24212         * sysdeps/nacl/lowlevellock.h: New file.
24213         * sysdeps/nacl/lll_timedwait_tid.c: New file.
24215         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
24216         Add TIMEOUT to current time, don't subtract it.
24218 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
24220         [BZ #2981]
24221         [BZ #18422]
24222         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
24223         ($(objpfx)tst-audit2.out): Also depend on
24224         $(objpfx)tst-auditmod9b.so.
24225         * elf/tst-audit2.c: Include <dlfcn.h>.
24226         (calloc_called): New.
24227         (calloc): Allow to be called more than once.
24228         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
24230 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
24232         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
24233         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
24235 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
24237         * stdlib/monetary.h: Fix comment.
24239 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
24241         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
24242         Avoid using variables in #defines that might cause shadowing.
24243         (INTERNAL_VSYSCALL_CALL): Likewise.
24245 2015-05-26  Roland McGrath  <roland@hack.frob.com>
24247         * sysdeps/nacl/lll_timedlock_wait.c: New file.
24249         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
24250         * nptl/lll_timedlock_wait.c: ... to this new file.
24251         * nptl/Makefile (libpthread-routines): Add it.
24252         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
24253         * nptl/lll_timedwait_tid.c: ... to this new file.
24254         * nptl/Makefile (libpthread-routines): Add it.
24255         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
24256         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
24257         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
24258         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
24259         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
24260         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
24261         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
24262         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
24263         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
24264         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
24266 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24268         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
24269         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24270         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
24272         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
24273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24274         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24275         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24276         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24277         * sysdeps/unix/sysv/linux/tile/sysdep.h
24278         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24279         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
24280         using vDSO syscall macro.
24282 2015-05-26  Andriy Rysin  <arysin@gmail.com>
24284         [BZ #17293]
24285         * uk_UA: Fix sorting order for Ukrainian locale
24287 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
24289         * stdlib/monetary.h: Fix comment.
24291 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24293         [BZ #18234]
24294         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24295         st_mtim and st_ctim members.
24296         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24297         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24298         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24299         (struct stat64): Likewise.
24300         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24301         (struct stat64): Likewise.
24302         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24303         (struct stat64): Likewise.
24305 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24307         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24308         Define and include sysdep-vdso.h.
24309         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24310         Likewise.
24311         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24312         Likewise.
24313         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24314         Define with VDSO_SYMBOL and use PTR_MANGLE.
24315         (__vdso_clock_gettime): Likewise.
24316         (__vdso_clock_getres): Likewise.
24317         (_libc_vdso_platform_setup): Likewise.
24318         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24319         Likewise.
24320         (_libc_vdso_platform_setup): Likewise.
24321         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24322         Likewise.
24323         (__vdso_clock_gettime): Likewise.
24324         (__vdso_clock_getres): Likewise.
24325         (__vdso_get_tbfreq): Likewise.
24326         (__vdso_getcpu): Likewise.
24327         (__vdso_time): Likewise.
24328         (__vdso_sigtramp_rt64): Likewise.
24329         (__vdso_signtramp32): Likewise.
24330         (__vdso_sigtramp_rt32): Likewise.
24331         (_libc_vdso_platform_setup): Likewise.
24332         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24333         Likewise.
24334         (__vdso_clock_gettime): Likewise.
24335         (__vdso_clock_getres): Likewise.
24336         (_libc_vdso_platform_setup): Likewise.
24337         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24338         Likewise.
24339         (__vdso_clock_gettime): Likewise.
24340         (_libc_vdso_platform_setup): Likewise.
24341         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24342         Likewise.
24343         (__vdso_getcpu): Likewise.
24344         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24345         Use VDSO_SYMBOL macro to define.
24346         (__vdso_clock_gettime): Likewise.
24347         (__vdso_clock_getres): Likewise.
24348         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24349         Likewise.
24350         (__vdso_clock_gettime): Likewise.
24351         (__vdso_clock_getres): Likewise.
24352         (__vdso_get_tbfreq): Likewise.
24353         (__vdso_getcpu): Likewise.
24354         (__vdso_time): Likewise.
24355         (__vdso_sigtramp_rt64): Likewise.
24356         (__vdso_signtramp32): Likewise.
24357         (__vdso_sigtramp_rt32): Likewise.
24358         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24359         Likewise.
24360         (__vdso_clock_gettime): Likewise.
24361         (__vdso_clock_getres): Likewise.
24362         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24363         Likewise.
24364         (__vdso_clock_gettime): Likewise.
24365         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24366         Likewise.
24367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24368         macro.
24369         (INTERNAL_VSYSCALL): Likewise.
24370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24371         Remove macro.
24372         (INTERNAL_VSYSCALL): Likewise.
24373         (INTERNAL_VSYSCALL_NCS): Likewise.
24374         (INTERNAL_VSYSCALL_CALL): New macro.
24375         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24376         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24377         Likewise.
24378         (INTERNAL_VSYSCALL): Likewise.
24379         (INTERNAL_VSYSCALL_NCS): Likewise.
24380         (INTERNAL_VSYSCALL_CALL): New macro.
24381         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24383         (INLINE_VSYSCALL): Remove macro.
24384         (INTERNAL_VSYSCALL): Remove macro.
24385         (INTERNAL_VSYSCALL_NCS): Remove macro.
24386         (INTERNAL_VSYSCALL_CALL): New macro.
24387         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24388         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24389         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24390         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24391         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24393         (INLINE_VSYSCALL): Remove macro.
24394         (INTERNAL_VSYSCALL): Likewise.
24395         (INTERNAL_VSYSCALL_NCS): Likewise.
24396         (INTERNAL_VSYSCALL_CALL): New macro.
24397         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24398         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24399         PTR_DEMANGLE on vDSO pointer.
24400         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24401         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24402         macro.
24403         (INTERNAL_SYSCALL): Likewise.
24404         (INTERNAL_VSYSCALL_NCS): Remove macro.
24405         (INTERNAL_VSYSCALL_CALL): New macro.
24406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24407         Remove macro.
24408         (INTERNAL_VSYSCALL): Likewise.
24409         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24410         sysdep-vdso.h instead of libc-vdso.h.
24411         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24412         definition.
24413         (INLINE_VSYSCALL): Likewise.
24414         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24415         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24416         definition.
24417         (INLINE_VSYSCALL): Likewise.
24418         (INTERNAL_VSYSCALL): Likewise.
24419         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24420         * sysdeps/unix/sysv/linux/timespec_get.c
24421         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24422         (timespec_get): Use ANSI prototype.
24423         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24424         and definition for Linux.
24426 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24428         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24429         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24431 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24433         [BZ #2981]
24434         [BZ #18410]
24435         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24436         for missing DT_PLTRELSZ.
24438 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24440         Remove obsolete aliases that broke 'locale -a'
24441         [BZ #18412]
24442         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24443         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24444         breaking some applications that use 'locale -a' output.
24445         Change the encoding of this file from Latin-1 to ASCII to avoid
24446         other potential problems with people grepping this file.
24448 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24450         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24451         -fasynchronous-unwind-tables.
24452         (CFLAGS-sendto.c): Likewise.
24453         (CFLAGS-sendmsg.c): Likewise.
24454         (CFLAGS-connect.c): Likewise.
24455         (CFLAGS-recvmsg.c): Likewise.
24456         (CFLAGS-recvfrom.c): Likewise.
24457         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24458         (SOCKETCALL): New macro: non-cancellable socketcall.
24459         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24460         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24461         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24462         * sysdeps/unix/sysv/linux/accept.c: New file.
24463         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24464         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24465         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24466         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24467         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24468         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24469         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24470         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24471         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24472         * sysdeps/unix/sysv/linux/send.c: Likewise.
24473         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24474         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24475         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24476         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24477         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24478         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24479         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24480         prototype.
24481         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24482         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24483         instead of __internal_xxx function.
24484         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24485         prototype.
24486         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24487         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24488         instead of __internal_xxx function.
24489         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24490         prototype.
24491         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24492         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24493         instead of __internal_xxx function.
24494         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24495         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24496         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24497         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24498         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24499         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24500         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24501         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24502         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24503         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24504         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24505         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24506         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24507         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24508         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24509         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24510         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24511         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24512         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24513         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24516         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24517         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24518         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24519         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24520         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24521         * sysdeps/unix/sysv/linux/send.S: Likewise.
24522         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24523         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24524         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24525         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24526         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24527         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24528         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24529         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24530         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24531         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24532         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24533         socketcall is implemented in GLIBC.
24535 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24537         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24538         (__fma): Ignore uninitialized warnings around packing.
24539         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24540         (__fmaf): Ignore uninitialized warnings around packing.
24541         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24542         (__fmal): Ignore uninitialized warnings around packing.
24544         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24545         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24546         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24547         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24549         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24550         switch statement into default case.
24551         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24553         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24554         a conditional in forcing "inexact".
24555         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24556         Likewise.
24558 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24560         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24561         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24562         for each INTERNAL_SYSCALL use.
24564 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24566         [BZ #438]
24567         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24568         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24569         variable.
24571         [BZ #18444]
24572         * string/basename.c (basename): Rename to __basename and define as
24573         weak alias of __basename.  Use libc_hidden_weak.
24574         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24575         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24576         __basename instead of basename.
24577         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24578         Remove variable.
24579         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24581 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24583         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24584         (_IO_JUMPS_FILE_plus): New.
24585         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24586         _IO_CAST_FIELD_ACCESS.
24587         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24588         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24589         * libio/freopen.c (freopen): Likewise.
24590         * libio/freopen64.c (freopen64): Likewise.
24591         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24592         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24593         * libio/iofwide.c (_IO_fwide): Likewise.
24594         * libio/memstream.c (open_memstream): Likewise.
24595         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24596         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24597         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24599 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24601         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24602         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24603         NADJ.
24604         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24605         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24606         NADJ.
24607         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24608         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24609         NADJ.
24611         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24612         (p == 4) case.
24614         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24615         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24616         Remove variable.
24617         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24618         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24619         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24621 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24623         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24624         Adjust jump table label generation macros.
24626 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24628         * stdio-common/vfprintf.c (vfprintf): Move local variables
24629         args_malloced, specs, specs_malloced, and the code after
24630         do_positional to the printf_positional function.
24631         (printf_positional): New function.
24633 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24635         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24636         function.
24637         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24638         STEP4_TABLE, process_arg): Move macro definitions
24639         out of the vfprintf function.  (Cosmetic change only.)
24641 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24643         * benchtests/Makefile (stdio-common-bench): Define.
24644         (benchset): Add stdio-common-bench.
24645         * sprintf-inputs: New file.
24646         * sprintf-source.c: New file.
24648 2015-05-21  Andreas Schwab  <schwab@suse.de>
24650         [BZ #13028]
24651         [BZ #17053]
24652         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24653         of struct __res_state.
24654         * resolv/res_send.c (__libc_res_nsend): Likewise.
24655         (get_nsaddr): New function.
24656         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24657         statp directly.
24659 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24661         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24662         -D_POSIX_C_SOURCE=199506L.
24664         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24666         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24667         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24668         Do not mention otherwise.
24669         [POSIX] (_XOPEN_VERSION): Do not expect.
24670         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24671         [POSIX] (_POSIX2_C_BIND): Likewise.
24672         [POSIX] (_POSIX2_VERSION): Likewise.
24673         [POSIX] (_XOPEN_XPG2): Likewise.
24674         [POSIX] (_XOPEN_XPG3): Likewise.
24675         [POSIX] (_XOPEN_XPG4): Likewise.
24676         [POSIX] (_XOPEN_UNIX): Likewise.
24677         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24678         [POSIX] (_POSIX_BARRIERS): Likewise.
24679         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24680         [POSIX] (_POSIX_CPUTIME): Likewise.
24681         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24682         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24683         [POSIX] (_POSIX_SHELL): Likewise.
24684         [POSIX] (_POSIX_SPAWN): Likewise.
24685         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24686         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24687         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24688         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24689         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24690         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24691         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24692         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24693         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24694         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24695         [POSIX] (_POSIX2_PBS): Likewise.
24696         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24697         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24698         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24699         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24700         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24701         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24702         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24703         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24704         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24705         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24706         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24707         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24708         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24709         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24710         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24711         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24712         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24713         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24714         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24715         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24716         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24717         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24718         [POSIX] (_SC_2_C_BIND): Likewise.
24719         [POSIX] (_SC_2_C_VERSION): Likewise.
24720         [POSIX] (_SC_2_PBS): Likewise.
24721         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24722         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24723         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24724         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24725         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24726         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24727         [POSIX] (_SC_BARRIERS): Likewise.
24728         [POSIX] (_SC_BASE): Likewise.
24729         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24730         [POSIX] (_SC_DEVICE_IO): Likewise.
24731         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24732         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24733         [POSIX] (_SC_FD_MGMT): Likewise.
24734         [POSIX] (_SC_FIFO): Likewise.
24735         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24736         [POSIX] (_SC_FILE_LOCKING): Likewise.
24737         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24738         [POSIX] (_SC_IOV_MAX): Likewise.
24739         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24740         [POSIX] (_SC_NETWORKING): Likewise.
24741         [POSIX] (_SC_PAGE_SIZE): Likewise.
24742         [POSIX] (_SC_PASS_MAX): Likewise.
24743         [POSIX] (_SC_PIPE): Likewise.
24744         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24745         [POSIX] (_SC_REGEXP): Likewise.
24746         [POSIX] (_SC_SHELL): Likewise.
24747         [POSIX] (_SC_SIGNALS): Likewise.
24748         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24749         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24750         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24751         [POSIX] (_SC_USER_GROUPS): Likewise.
24752         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24753         [POSIX] (_SC_STREAMS): Likewise.
24754         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24755         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24756         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24757         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24758         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24759         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24760         [POSIX] (_PC_FILESIZEBITS): Likewise.
24761         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24762         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24763         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24764         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24765         [POSIX] (uid_t): Likewise.
24766         [POSIX] (gid_t): Likewise.
24767         [POSIX] (off_t): Likewise.
24768         [POSIX] (pid_t): Likewise.
24769         [POSIX] (cuserid): Allow.
24770         (_SC_2_CHAR_TERM): Require constant.
24771         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24772         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24773         variable.
24775 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24777         * sysdeps/nacl/pthread-pids.h: New file.
24778         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24779         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24781         * nptl/pthread-pids.h: New file.
24782         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24783         * nptl/nptl-init.c: Include <pthread-pids.h>.
24784         (__pthread_initialize_minimal_internal):
24785         Call __pthread_initialize_pids instead of set_tid_address syscall.
24787         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24788         * sysdeps/posix/usleep.c: ... here.
24790 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24792         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24793         call_pselect6 object.
24794         [$(subdir) = io]: Remove call_sync_file_range object.
24795         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24796         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24797         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24798         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24800 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24802         * math/s_cproj.c: Add include "math_private.h".
24803         * math/s_cprojf.c: Likewise.
24804         * math/s_cprojl.c: Likewise.
24806 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24808         [BZ #18244]
24809         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24810         high mantissa bit when testing whether P is a NaN.
24811         * math/libm-test.inc (remainder_test_data): Add more tests.
24812         (remquo_test_data): Likewise.
24814         [BZ #18049]
24815         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24816         below -32, return the argument, with underflow if subnormal.
24817         * math/auto-libm-test-in: Add more tests of atanh.
24818         * math/auto-libm-test-out: Regenerated.
24820 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24822         [BZ #18434]
24823         * nptl/tst-sem15.c: New file.
24824         * nptl/Makefile (tests): Add it.
24825         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24826         s/<</>>/ to fix typo in EOVERFLOW check.
24827         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24829 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24831         * manual/strings.texi (envz_remove): Fix typo in safety
24832         annotations.
24834 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24835             Steve Ellcey  <sellcey@imgtec.com>
24837         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24838         in order to avoid strict alias warnings.
24839         (iruserok_af): Ditto for ra.
24841 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24843         [BZ #17581]
24844         * malloc/hooks.c
24845         (magicbyte): Convert to a function and avoid returning 0x01.
24846         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24847         (mem2chunk_check): Fix unsigned comparisons to zero.
24848         Hoist defs of sz and magic.
24850 2015-05-19  Richard Henderson  <rth@redhat.com>
24852         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24854         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24856 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24858         [BZ #16159]
24859         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24860         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24861         (reused_arena): Find a non-corrupt arena.
24862         (heap_trim): Pass arena to unlink.
24863         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24864         malloc_printerr.
24865         (top_check): Likewise.
24866         (free_check): Likewise.
24867         (realloc_check): Likewise.
24868         * malloc/malloc.c (malloc_printerr): Add arena argument.
24869         (unlink): Likewise.
24870         (munmap_chunk): Adjust.
24871         (ARENA_CORRUPTION_BIT): New macro.
24872         (arena_is_corrupt): Likewise.
24873         (set_arena_corrupt): Likewise.
24874         (sysmalloc): Use mmap if there are no usable arenas.
24875         (_int_malloc): Likewise.
24876         (__libc_malloc): Don't fail if arena_get returns NULL.
24877         (_mid_memalign): Likewise.
24878         (__libc_calloc): Likewise.
24879         (__libc_realloc): Adjust for additional argument to
24880         malloc_printerr.
24881         (_int_free): Likewise.
24882         (malloc_consolidate): Likewise.
24883         (_int_realloc): Likewise.
24884         (_int_memalign): Don't touch corrupt arenas.
24885         * malloc/tst-malloc-backtrace.c: New test case.
24887         * Makefile (summarize-tests): Fix return value on success.
24889         * manual/string.texi (Envz Functions): Add envz_remove.
24891 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24893         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24894         (invalid_name): New function, broken out of ...
24895         (__opendirat): ... here.  Call it.
24896         (need_isdir_precheck): New function, broken out of ...
24897         (__opendirat): ... here.  Call it.
24898         Use __fxstatat64, not __xstatat64.
24899         (opendir_oflags): New function, broken out of ...
24900         (__opendirat): ... here.  Call it.
24901         (opendir_tail): New function, broken out of ...
24902         (__opendirat): ... here.  Call it.
24903         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24904         opendir_tail, rather than punting to __opendirat.
24905         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24907 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24909         * .gitignore: Ignore generated *.pyc.
24911 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24913         * include/stdio.h: Define __need_wint_t.
24914         * test-skeleton.c: Avoid `for' loop initial declaration.
24915         * nptl/tst-initializers1.c: Use test-skeleton.c.
24917 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24919         [BZ #18418]
24920         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24922 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24924         [BZ #16352]
24925         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24926         (__ieee754_atanh): Force underflow exception for results with
24927         small absolute value.
24928         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24929         (__ieee754_atanhf): Force underflow exception for results with
24930         small absolute value.
24931         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24932         (__ieee754_atanh): Force underflow exception for results with
24933         small absolute value.
24934         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24935         (__ieee754_atanhf): Force underflow exception for results with
24936         small absolute value.
24937         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24938         (__ieee754_atanhl): Force underflow exception for results with
24939         small absolute value.
24940         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24941         (__ieee754_atanhl): Force underflow exception for results with
24942         small absolute value.
24943         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24944         (__ieee754_atanhl): Force underflow exception for results with
24945         small absolute value.
24946         * math/auto-libm-test-in: Do not allow missing underflow
24947         exceptions from atanh.
24948         * math/auto-libm-test-out: Regenerated.
24950         [BZ #18221]
24951         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24952         2**-28 as threshold for returning x or +/- 1/x.
24953         * math/auto-libm-test-in: Add more tests of tan.
24954         * math/auto-libm-test-out: Regenerated.
24956         [BZ #18220]
24957         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24958         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24959         * math/auto-libm-test-in: Add another test of lgamma.
24960         * math/auto-libm-test-out: Regenerated.
24962 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24964         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24965         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24966         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24967         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24968         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24969         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24970         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24971         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24973         (log1): Use fabs.  (my_log2): Use fabs.
24974         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24975         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24976         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24977         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24979         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24980         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24981         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24982         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24983         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24984         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24986 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24988         [BZ #18217]
24989         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24990         as threshold for returning 1 - x.
24991         * math/auto-libm-test-in: Add more tests of erfc.
24992         * math/auto-libm-test-out: Regenerated.
24994 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24996         [BZ #18196]
24997         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24998         threshold for large arguments.
24999         * math/auto-libm-test-in: Add another test of atan.
25000         * math/auto-libm-test-out: Regenerated.
25002         [BZ #16339]
25003         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
25004         (__log1p): Force underflow exception for results with small
25005         absolute value.
25006         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
25007         (__log1pf): Force underflow exception for results with small
25008         absolute value.
25009         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
25010         (__log1p): Force underflow exception for results with small
25011         absolute value.
25012         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
25013         (__log1pf): Force underflow exception for results with small
25014         absolute value.
25015         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
25016         (__log1pl): Force underflow exception for results with small
25017         absolute value.
25018         * math/auto-libm-test-in: Do not allow missing underflow
25019         exceptions from log1p.
25020         * math/auto-libm-test-out: Regenerated.
25022 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
25023             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25025         [BZ #16704]
25026         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
25028 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
25030         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
25031         (libmvec): New variable.
25032         * configure.ac: Added option for mathvec build.
25033         * configure: Regenerated.
25034         * mathvec/Depend: New file.
25035         * mathvec/Makefile: New file.
25036         * shlib-versions: Added libmvec.
25037         * math/Makefile: Added rule for libm.so installation.
25039         * bits/math-vector.h: New file.
25040         * bits/libm-simd-decl-stubs.h: New header.
25041         * math/Makefile (headers): Added new header
25042         libm-simd-decl-stubs.h.
25043         * math/math.h (__MATHCALL_VEC): New macro.
25045         * math/gen-libm-have-vector-test.sh: Script generates series of macros
25046         for conditions in testing functions.
25047         * math/Makefile: Added call of libm-have-vector-test.sh.
25048         * math/libm-test.inc (HAVE_VECTOR): New macros.
25050         * math/libm-test.inc: START refactored.
25051         * math/test-double.c (TEST_MATHVEC): Add define.
25052         * math/test-float.c: Likewise.
25053         * math/test-idouble.c: Likewise.
25054         * math/test-ifloat.c: Likewise.
25055         * math/test-ildoubl.c: Likewise.
25056         * math/test-ldouble.c: Likewise.
25057         * sysdeps/generic/math-tests-arch.h
25058         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
25059         architecture check.
25061         * math/test-double.c (FUNC_TEST): New macro.
25062         * math/test-float.c: Likewise.
25063         * math/test-idouble.c: Likewise.
25064         * math/test-ifloat.c: Likewise.
25065         * math/test-ildoubl.c: Likewise.
25066         * math/test-ldouble.c: Likewise.
25067         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
25069 2015-05-13  Roland McGrath  <roland@hack.frob.com>
25071         * sysdeps/nacl/fdopendir.c: New file.
25073         * dirent/scandir-tail.c: New file.
25074         * dirent/scandir64-tail.c: New file.
25075         * dirent/Makefile (routines): Add them.
25076         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
25077         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
25078         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
25079         [!SCANDIR] (SCANDIR_TAIL): New macro.
25080         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
25081         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
25082         (SCANDIRAT): Macro removed.
25083         (SCANDIR_TAIL): New macro.
25084         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
25085         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
25086         (SCANDIRAT): Just call __opendirat and __scandir_tail.
25087         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
25088         (READDIR): Macro removed.
25089         (SCANDIR_TAIL): New macro.
25090         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
25091         (SCANDIR_TAIL): New macro.
25093         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
25094         * dirent/scandir-cancel.c: ... to this new file.
25095         * dirent/Makefile (routines): Add it.
25096         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
25097         * sysdeps/unix/sysv/linux/i386/scandir64.c
25098         (SKIP_SCANDIR_CANCEL): Macro removed.
25099         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
25101         * dirent/tst-scandir.c: New file.
25102         * dirent/tst-scandir64.c: New file.
25103         * dirent/Makefile (tests): Add them.
25105 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
25107         [BZ #18409]
25108         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
25110 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25112         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
25113         list.
25115 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
25117         * benchtests/bench-strcoll.c: New benchmark.
25118         * benchtests/Makefile: Generate locales and run benchmark.
25119         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
25120         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
25121         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
25122         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
25123         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
25124         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
25125         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
25126         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
25127         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
25128         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
25129         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
25130         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
25131         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
25132         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
25133         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
25134         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
25135         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
25136         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
25137         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
25138         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
25139         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
25140         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
25141         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
25142         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
25144 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
25146         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
25147         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25149 2015-05-12  Roland McGrath  <roland@hack.frob.com>
25151         * posix/uname-values.h: New file.
25152         * posix/uname.c: Include that instead of <config-name.h>.
25153         * sysdeps/nacl/uname-values.h: New file.
25154         * sysdeps/arm/nacl/uname-values.h: New file.
25156 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
25158         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
25159         splitting into fields.
25161 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
25163         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
25164         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
25165         * locale/localeinfo.h: Add enum collation_encoding_type.
25166         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
25167         * programs/ld-collate.c (collate_output): Add encoding type info.
25168         * string/strcoll_l.c (STRDIFF): New function.
25169         * (STRCOLL): Use STRDIFF to skip over equal prefix.
25170         * wcsmbs/wcscoll_l.c: Define STRDIFF.
25172 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
25174         [BZ #18397]
25175         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
25176         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
25177         <fpu_control.h> instead of <math/fpu_control.c>.
25178         * sysdeps/mips/mips32/fpu/Makefile: New file.
25180 2015-05-11  Andreas Schwab  <schwab@suse.de>
25182         [BZ #18007]
25183         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
25184         nss_endgrent.
25185         (_nss_compat_endgrent): Call nss_endgrent.
25186         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
25187         nss_endpwent.
25188         (_nss_compat_endpwent): Call nss_endpwent.
25189         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
25190         needent, call nss_setspent only if non-zero.
25191         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
25192         (internal_endspent): Don't call nss_endspent.
25193         (_nss_compat_endspent): Call nss_endspent.
25194         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
25195         Remove.  All uses removed.
25196         (internal_setent): Remove parameter stayopen, add parameter
25197         stream.  Use it instead of global variable.
25198         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
25199         (internal_endent, internal_getent): Add parameter stream.  Use it
25200         instead of global variable.
25201         (CONCAT(_nss_files_end,ENTNAME))
25202         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
25203         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
25204         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
25205         uses removed.
25206         (internal_setent, internal_endent): Add parameter stream.  Use it
25207         instead of global variable.
25208         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
25209         stream.
25210         (get_next_alias): Add parameter stream.
25211         (_nss_files_getaliasent_r): Pass global stream.
25212         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
25213         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
25214         (_nss_files_gethostbyname4_r): Pass local stream to
25215         internal_setent, internal_getent and internal_endent.  Remove
25216         locking.
25218 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25220         * tst-strfmon1.c (tests): Update expected currency symbol.
25222 2015-05-08  Roland McGrath  <roland@hack.frob.com>
25224         * sysdeps/nacl/gethostname.c: New file.
25226 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
25228         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
25229         and sinh.
25230         * math/auto-libm-test-out: Regenerated.
25231         * sysdeps/i386/fpu/libm-test-ulps: Update.
25232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25234 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
25236         [BZ #18125]
25237         * stdlib/tst-setcontext3.c: New file.
25238         * stdlib/tst-setcontext3.sh: New file.
25239         * stdlib/Makefile (tests): Add tst-setcontext3.
25240         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
25241         to verify test program created output file.
25242         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
25243         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
25244         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
25245         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
25247 2015-05-06  Roland McGrath  <roland@hack.frob.com>
25249         [BZ #18383]
25250         * elf/tst-tlsalign.c: New file.
25251         * elf/tst-tlsalign-static.c: New file.
25252         * elf/tst-tlsalign-lib.c: New file.
25253         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
25254         (tests-static): Add tst-tlsalign-static.
25255         (modules-names): Add tst-tlsalign-lib.
25256         (test-xfail-tst-tlsalign): New variable.
25257         (test-xfail-tst-tlsalign-static): New variable.
25259         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
25260         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
25262 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
25264         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
25265         csqrt, erfc, sin and sincos.
25266         * math/auto-libm-test-out: Regenerated.
25267         * sysdeps/i386/fpu/libm-test-ulps: Update.
25268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25270 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25272         * sysdeps/aarch64/libm-test-ulps: Update.
25274 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
25276         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
25277         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
25278         * math/auto-libm-test-out: Regenerated.
25279         * sysdeps/i386/fpu/libm-test-ulps: Update.
25280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25282 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25284         [BZ #18265]
25285         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
25286         (wcsncpy): Likewise.
25288 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25290         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25291         Assume __ASSUME_FALLOCATE is always true.
25292         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25293         (__posix_fallocate64_l64): Likweise.
25294         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25295         (posix_fallocate): Likewise.
25296         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25297         (__posix_fallocate64_l64): Likewise.
25298         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25299         [!__ASSUME_FALLOCATE]: Add comment.
25301 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25303         * sysdeps/unix/sysv/linux/i386/Makefile
25304         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25305         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25306         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25307         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25308         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25309         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25310         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25312 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25314         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25315         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25316         tgamma.
25317         * math/auto-libm-test-out: Regenerated.
25318         * sysdeps/i386/fpu/libm-test-ulps: Update.
25319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25321 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25323         * math/auto-libm-test-in: Add more tests of tgamma.
25324         * math/auto-libm-test-out: Regenerated.
25325         * sysdeps/i386/fpu/libm-test-ulps: Update.
25326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25328         * math/auto-libm-test-in: Add more tests of tanh.
25329         * math/auto-libm-test-out: Regenerated.
25330         * sysdeps/i386/fpu/libm-test-ulps: Update.
25331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25333         * math/auto-libm-test-in: Add more tests of tan.
25334         * math/auto-libm-test-out: Regenerated.
25335         * sysdeps/i386/fpu/libm-test-ulps: Update.
25336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25338         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25339         * math/auto-libm-test-out: Regenerated.
25340         * sysdeps/i386/fpu/libm-test-ulps: Update.
25341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25343         * math/auto-libm-test-in: Add another test of pow.
25344         * math/auto-libm-test-out: Regenerated.
25345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25347         * math/auto-libm-test-in: Add more tests of lgamma.
25348         * math/auto-libm-test-out: Regenerated.
25349         * sysdeps/i386/fpu/libm-test-ulps: Update.
25350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25352         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
25353         log1p.
25354         * math/auto-libm-test-out: Regenerated.
25355         * sysdeps/i386/fpu/libm-test-ulps: Update.
25356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25358 2015-05-01  Mark Wielaard  <mjw@redhat.com>
25360         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25361         Elf64_Chdr structs and ELFCOMPRESS constants.
25363 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25365         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25366         expm1.
25367         * math/auto-libm-test-out: Regenerated.
25368         * sysdeps/i386/fpu/libm-test-ulps: Update.
25369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25371         * math/auto-libm-test-in: Add more tests of erf and erfc.
25372         * math/auto-libm-test-out: Regenerated.
25373         * sysdeps/i386/fpu/libm-test-ulps: Update.
25374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25376 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25378         * config.h.in (HAVE_AARCH64_BE): Add.
25380 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25382         * math/auto-libm-test-in: Add more tests of csqrt.
25383         * math/auto-libm-test-out: Regenerated.
25384         * sysdeps/i386/fpu/libm-test-ulps: Update.
25385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25387         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25388         * math/auto-libm-test-out: Regenerated.
25389         * sysdeps/i386/fpu/libm-test-ulps: Update.
25390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25392         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25394 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25396         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25397         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25399         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25400         (euidaccess, eaccess): Define as weak aliases.
25402         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25403         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25404         but __suseconds_t is often 'long int' so some sources assume that
25405         type is being used (e.g. they use %ld to print tv_usec).
25407 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25409         [BZ #18007]
25410         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25411         (CVE-2014-8121)
25412         * nss/tst-nss-getpwent.c: New file.
25413         * nss/Makefile (tests): Add new test.
25415 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25417         [BZ #18346]
25418         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25419         exponents less than 48 as cases where high part of mantissa needs
25420         examining to determine whether argument is integral.
25421         * math/libm-test.inc (round_test_data): Add more tests.
25423 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25425         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25427 2015-04-27  David S. Miller  <davem@davemloft.net>
25429         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25430         __tls_get_addr.
25431         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25433 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25435         [BZ#18333]
25436         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25438 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25440         [BZ#18333]
25441         * time/tzset.c (parse_tzname): Return error on memory allocation
25442         failure.
25443         * test-skeleton.c (struct temp_name_list): Change type of name
25444         member to non-const.
25445         (add_temp_file): Create a copy of the file name.
25446         (delete_temp_files): Deallocate memory.
25447         (create_temp_file): Add comment.
25449 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25451         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25452         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25454 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25456         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25457         * sysdeps/arm/configure: Regenerated.
25459 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25461         [BZ #17715]
25462         * time/tzfile.c (__tzfile_read): Check for large values of
25463         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25464         * time/tzset.c (__tzstring_len): New function, based on the old
25465         __tzstring function.
25466         (__tzstring): Call __tzstring_len.
25467         (parse_tzname): New helper function extracted from
25468         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25469         the input string.
25470         (parse_offset): New helper function extracted from
25471         __tzset_parse_tz.  Replace switch with fallthrough with
25472         initialization before sscanf.
25473         (parse_rule): Likewise.
25474         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25475         new-style function definition.
25476         * timezone/Makefile (tests): Add tst-tzset.
25477         (tst-tzset.out): Dependencies on time zone files.
25478         (tst-tzset-ENV): Set TZDIR.
25479         (testdata/XT%): Copy crafted time zone files.
25480         * timezone/README: Mention crafted time zone files.
25481         * timezone/testdata/XT1, timezone/testdata/XT2,
25482         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25483         files.
25484         * timezone/tst-tzset.c: New test.
25486 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25488         * Makeconfig (+gccwarn): Remove -Winline.
25490 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25492         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25494 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25496         * NEWS: Mention sysconf() cache information support for s390.
25497         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25499 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25501         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25502         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25503         (__nearbyint): Likewise.
25504         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25505         (copysignl): Likewise.
25507 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25509         [BZ #18287]
25510         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25511         based on padding.  (CVE-2015-1781)
25513 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25515         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25516         libc-vdso.h.
25517         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25518         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25519         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25520         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25521         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25522         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25523         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25524         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25525         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25526         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25527         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25528         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25529         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25530         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25531         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25532         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25533         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25534         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25535         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25536         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25537         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25538         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25539         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25541 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25543         * stdlib/setenv.c (__add_to_environ):
25544         Dump core quickly if setenv (..., NULL, ...) is called.
25545         This time, do it the right way, and pacify GCC with a pragma.
25547 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25549         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25550         IMAP->l_prev cannot be null, and #if out the code for the contrary
25551         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25552         believe that NS (&_dl_ns[NSID]) could point outside the array.
25554         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25555         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25556         before using NSID as an index.
25558 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25560         [BZ #17825]
25561         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25562         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25563         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25565 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25567         Add preliminary port to Google Native Client on ARM.
25568         * abi-tags (.*-.*-nacl.*): New entry.
25569         * sysdeps/arm/nacl: New directory.
25570         * sysdeps/nacl: New directory.
25572 2015-04-16  David S. Miller  <davem@davemloft.net>
25574         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25575         lowlevellock-futex.h
25577 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25579         * sysdeps/tile/configure.ac: New file.
25580         * sysdeps/tile/configure: Regenerated.
25582 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25584         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25585         conditionals for weak_alias and libc_hidden_weak.
25586         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25587         libc_hidden_weak and weak_alias.
25588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25589         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25590         and weak_alias for static one.
25592 2015-04-15  David S. Miller  <davem@davemloft.net>
25594         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25596 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25598         [BZ #18206]
25599         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25600           Use signed comparision instead of substraction to avoid
25601           overflow bug.
25602         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25603           Take the sign of ret.
25604         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25605           Do not expect precise return values. Only the sign matters.
25606         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25607         * wcsmbs/test-wcsncmp.c: New File.
25608         * string/test-strncmp.c: Add wcsncmp support.
25610 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25612         [BZ #6792]
25613         * math/w_log1p.c: New file.
25614         * math/w_log1pf.c: Likewise.
25615         * math/w_log1pl.c: Likewise.
25616         * math/Makefile (libm-calls): Add w_log1p.
25617         * math/s_log1pl.c (log1pl): Remove weak_alias.
25618         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25619         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25620         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25621         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25622         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25623         [NO_LONG_DOUBLE] (log1pl): Likewise.
25624         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25625         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25626         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25627         (log1p): Remove long_double_symbol.
25628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25629         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25630         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25631         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25632         remove weak_alias for corresponding log1p function.
25633         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25634         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25635         * sysdeps/ia64/fpu/w_log1p.c: New file.
25636         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25637         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25638         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25640 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25642         [BZ #18247]
25643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25644         decimal exponent by 1.
25645         * stdlib/tst-strtod-round-data: Add more tests.
25646         * stdlib/tst-strtod-round.c (tests): Regenerated.
25648 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25650         * math/auto-libm-test-in: Add more tests of clog and clog10.
25651         * math/auto-libm-test-out: Regenerated.
25652         * sysdeps/i386/fpu/libm-test-ulps: Update.
25653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25655 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25657         * Makeconfig (module-cppflags): Exclude all .v.i files.
25658         (skip-module-cppflags): Variable removed.
25660         * configure.ac (libc_config_ok): Initialize before reading
25661         preconfigure scripts, not after.
25662         * configure: Regenerated.
25664         * test-skeleton.c (TIMEOUT): Move #define to top level.
25665         (main): Grok environment variable TEST_DIRECT.  If set, print
25666         test expectation details into that file and then behave as if
25667         given --direct.
25669 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25671         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25672         warning on 32-bit.
25674 2015-04-08  David S. Miller  <davem@davemloft.net>
25676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25678 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25680         * math/auto-libm-test-in: Add more tests of atanh.
25681         * math/auto-libm-test-out: Regenerated.
25682         * sysdeps/i386/fpu/libm-test-ulps: Update.
25683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25685         * math/auto-libm-test-in: Add more tests of atan.
25686         * math/auto-libm-test-out: Regenerated.
25687         * sysdeps/i386/fpu/libm-test-ulps: Update.
25688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25690 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25692         * elf/pldd.c (main): Rewrite to use struct
25693         scratch_buffer instead of extend_alloca.
25694         * elf/pldd-xx.c (find_maps): Likewise.
25695         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25696         <alloca.h>.
25697         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25698         scratch_buffer instead of extend_alloca.
25699         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25700         grp/compat-initgroups.c.
25701         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25702         Rewrite to use struct scratch_buffer instead of extend_alloca.
25703         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25704         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25706 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25708         * math/auto-libm-test-in: Add more tests of cbrt.
25709         * math/auto-libm-test-out: Regenerated.
25710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25712         * math/auto-libm-test-in: Add more tests of cabs.
25713         * math/auto-libm-test-out: Regenerated.
25714         * sysdeps/i386/fpu/libm-test-ulps: Update.
25715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25717         [BZ #18210]
25718         [BZ #18211]
25719         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25720         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25721         computations.
25722         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25723         clog10.
25724         * math/auto-libm-test-out: Regenerated.
25725         * sysdeps/i386/fpu/libm-test-ulps: Update.
25726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25728         [BZ #18197]
25729         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25730         (atan): Set FE_TONEAREST mode for internal computations.
25731         * math/auto-libm-test-in: Add more tests of atan.
25732         * math/auto-libm-test-out: Regenerated.
25734 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25736         [BZ #17930]
25737         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25739 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25741         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25743 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25745         * include/scratch_buffer.h: New file.
25746         * malloc/scratch_buffer_grow.c: Likewise.
25747         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25748         * malloc/scratch_buffer_set_array_size.c: Likewise.
25749         * malloc/tst-scratch_buffer.c: Likewise.
25750         * malloc/Makefile (routines): Add scratch_buffer_grow.
25751         (tests): Add test case.
25752         * malloc/Versions (GLIBC_PRIVATE): Export
25753         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25754         __libc_scratch_buffer_set_array_size.
25756 2015-04-06  Richard Henderson  <rth@redhat.com>
25758         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25759         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25761         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25762         unsigned int before printing.
25764 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25766         [BZ #17596]
25767         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25768         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25770 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25772         * include/libc-internal.h (libc_max_align_t): Define.
25774 2015-04-02  Andreas Schwab  <schwab@suse.de>
25776         [BZ #16850]
25777         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25779 2015-04-02  Mel Gorman  <mgorman@suse.de>
25781         [BZ #17195]
25782         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25783         as well as the main arena.
25785 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25787         [BZ #18185]
25788         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25789         sharing L2 cache to 2 for Silvermont/Knights Landing.
25791 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25793         [BZ #17711]
25794         * config.make.in (have-protected-data): New.
25795         * configure.ac: Check linker support for protected data symbol.
25796         * configure: Regenerated.
25797         * elf/Makefile (modules-names): Add tst-protected1moda and
25798         tst-protected1modb if $(have-protected-data) is yes.
25799         (tests): Add tst-protected1a and tst-protected1b if
25800         $(have-protected-data) is yes.
25801         ($(objpfx)tst-protected1a): New.
25802         ($(objpfx)tst-protected1b): Likewise.
25803         (tst-protected1modb.so-no-z-defs): Likewise.
25804         * elf/tst-protected1a.c: New file.
25805         * elf/tst-protected1b.c: Likewise.
25806         * elf/tst-protected1mod.h: Likewise.
25807         * elf/tst-protected1moda.c: Likewise.
25808         * elf/tst-protected1modb.c: Likewise.
25810 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25812         [BZ #17711]
25813         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25814         indicates it is called from do_lookup_x on relocation against
25815         protected data, skip the data definion in the executable from
25816         copy reloc.
25817         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25818         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25819         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25820         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25821         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25822         otherwise to 0.
25823         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25824         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25825         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25826         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25827         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25828         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25830 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25832         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25833         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25835 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25837         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25838         THREAD_SETMEM_NC.
25839         * sysdeps/x86_64/nptl/tls.h: Ditto.
25841 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25843         * dlfcn/tststatic.c (main): Converted to ...
25844         (do_test): ... this.
25845         (TEST_FUNCTION): New macro.
25846         Include test-skeleton.c.
25848 2015-03-26  Alan Modra  <amodra@gmail.com>
25850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25851         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25852         zero for undefined weak.
25853         (elf_machine_plt_conflict): Similarly.
25855 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25857         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25858         atanh.
25859         * math/auto-libm-test-out: Regenerated.
25860         * sysdeps/i386/fpu/libm-test-ulps: Update.
25861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25863         * math/auto-libm-test-in: Add another test of asin.
25864         * math/auto-libm-test-out: Regenerated.
25865         * sysdeps/i386/fpu/libm-test-ulps: Update.
25866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25868         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25869         Remove macro.
25870         (LLL_EBX_REG): Likewise.
25871         (LLL_ENTER_KERNEL): Likewise.
25873         * math/auto-libm-test-in: Add more tests of asin.
25874         * math/auto-libm-test-out: Regenerated.
25875         * sysdeps/i386/fpu/libm-test-ulps: Update.
25876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25878         [BZ #18138]
25879         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25880         libc_do_syscall_args): New structure.
25881         (INTERNAL_SYSCALL_MAIN_0): New macro.
25882         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25883         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25884         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25885         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25886         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25887         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25888         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25889         Replace conditional definitions by conditional definitions of ....
25890         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25891         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25892         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25893         (libpthread-sysdep_routines): Add libc-do-syscall.
25894         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25895         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25896         to __NR_futex not 240.
25898 2015-03-25  Alan Modra  <amodra@gmail.com>
25900         * NEWS: Advertise TLS optimization.
25901         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25902         (DT_PPC_NUM): Increment.
25903         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25904         (CHECK_STATIC_TLS): Use here.
25905         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25906         TLS descriptors.
25907         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25908         * sysdeps/powerpc/dl-tls.c: New file.
25909         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25910         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25911         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25912         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25917 2015-03-25  Alan Modra  <amodra@gmail.com>
25919         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25920         for overlapping .opd entries" to "support...".
25921         * sysdeps/powerpc/powerpc64/configure: Regenerate
25923 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25925         * math/auto-libm-test-in: Add more tests of acos.
25926         * math/auto-libm-test-out: Regenerated.
25927         * sysdeps/i386/fpu/libm-test-ulps: Update.
25928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25930         * math/auto-libm-test-in: Add more tests of expm1.
25931         * math/auto-libm-test-out: Regenerated.
25932         * sysdeps/i386/fpu/libm-test-ulps: Update.
25933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25935 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25937         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25938         * math/auto-libm-test-out: Regenerated.
25939         * sysdeps/i386/fpu/libm-test-ulps: Update.
25940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25942         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25945         * math/auto-libm-test-in: Add more tests of log2.
25946         * math/auto-libm-test-out: Regenerated.
25947         * sysdeps/i386/fpu/libm-test-ulps: Update.
25948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25950 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25952         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25953         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25954         _IO_IS_APPENDING bit in READ_WRITE instead.
25956 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25958         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25959         (__determine_cpumask_size): Replace extend_alloca with a
25960         variable-length array.  Do not treat res == 0 as an error.
25962 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25964         [BZ #18100]
25965         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25966         and integer overflow.
25967         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25968         (main): Add integer overflow tests.
25969         * manual/pattern.texi (Calling Wordexp): Document additional use
25970         for WRDE_SYNTAX.
25972 2015-03-23  Alan Modra  <amodra@gmail.com>
25974         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25975         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25976         and false branch of conditional.
25977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25978         Likewise.
25980 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25982         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25983         libc-modules.h
25984         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25985         unused declaration of _hurd_intr_rpc_msg_in_trap.
25986         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25987         defined instead of whether it is non-zero.
25988         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25989         input constraint instead of both input and output constraint.  Use ecx
25990         clobber instead of %ecx.
25991         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25992         mutex_unlock): Use a statement expression instead of an expression list.
25993         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25994         type to vm_size_t instead of vm_address_t.
25995         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25996         defined instead of whether it is non-zero.
25997         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25998         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25999         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
26000         comparisons with mapaddr.
26001         * nscd/nscd-client.h: Include <time.h>.
26002         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
26003         9th parameter to __vm_region instead of int.
26004         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
26005         * scripts/check-local-headers.sh (exclude): Add device/,
26006         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
26007         cthreads.h.
26009 2015-03-19  Roland McGrath  <roland@hack.frob.com>
26011         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
26012         to account for alignment padding.
26013         * sysdeps/arm/memmove.S: Likewise.
26015 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
26017         * sysdeps/unix/sysv/linux/generic/README: New file.
26019 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
26021         [BZ #18138]
26022         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
26023         (futex_abstimed_wait)
26024         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
26025         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
26026         of lll_futex_timed_wait.
26028 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
26030         [BZ #17542]
26031         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
26033 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
26035         [BZ #17090]
26036         [BZ #17620]
26037         [BZ #17621]
26038         [BZ #17628]
26039         * NEWS: Update.
26040         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
26041         entries with Static TLS too.  Skip entries past the end of the
26042         allocated DTV, from Alan Modra.
26043         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
26044         Static TLS DTV entry set up from...
26045         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
26046         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
26047         * nptl/allocatestack.c (init_one_static_tls): ... and here...
26048         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
26049         for Static TLS.
26050         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
26051         that the slot we find is associated with the given map before
26052         using its generation count.
26053         * nptl_db/db_info.c: Include ldsodefs.h.
26054         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
26055         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
26056         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
26057         (link_map::l_tls_offset): New struct field.
26058         (dtv_t::counter): Likewise.
26059         (rtld_global): New struct.
26060         (_rtld_global): New rtld variable.
26061         (dl_tls_dtv_slotinfo_list): New rtld global field.
26062         (dtv_slotinfo_list): New struct.
26063         (dtv_slotinfo): Likewise.
26064         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
26065         (td_lookup): Rename to...
26066         (td_mod_lookup): ... this.  Use new mod parameter instead of
26067         LIBPTHREAD_SO.
26068         * nptl_db/td_thr_tlsbase.c: Include link.h.
26069         (dtv_slotinfo_list, dtv_slotinfo): New functions.
26070         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
26071         addresses even if the DTV is out of date or missing them.
26072         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
26073         index zero-length arrays.
26074         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
26075         (td_lookup): Make it a macro implemented in terms of...
26076         (td_mod_lookup): ... this declaration.
26077         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
26078         (DB_MAIN_VARIABLE): Likewise.
26080 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26082         [BZ #18134]
26083         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26085 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
26087         * stdlib/setenv.c (__add_to_environ): Revert previous change.
26089 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
26091         [BZ #18128]
26092         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
26093         (atomic_add, atomic_increment_and_test)
26094         (atomic_decrement_and_test): Fix 64-bit arithmetic.
26096 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
26098         * stdlib/setenv.c (__add_to_environ):
26099         Dump core quickly if setenv (..., NULL, ...) is called.
26101 2015-03-13  Roland McGrath  <roland@hack.frob.com>
26103         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
26104         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
26105         all the necessary asm magic in one place.
26106         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
26107         using those.
26109 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
26111         [BZ #14906]
26112         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
26113         traced file mtime. Use consistent log message.
26114         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
26115         (register_traced_file): Call install_watches. Always set mtime.
26116         (invalidate_cache): Iterate over all trace files. Call install_watches.
26117         (inotify_check_files): Don't inline. Handle watching parent
26118         directories and configuration file movement in and out.
26119         (handle_inotify_events): New function.
26120         (main_loop_poll): Call handle_inotify_events.
26121         (main_loop_epoll): Likewise.
26122         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
26123         (struct traced_file): Use array of inotify fds. Add parent directory,
26124         and basename.
26125         (struct database_dyn): Remove unused file_mtime.
26126         (init_traced_file): New inline function.
26127         (define_traced_file): New macro.
26128         * nss/nss_db/db-init.c: Use define_traced_file.
26129         (_nss_db_init): Use init_traced_file.
26130         * nss/nss_files/files-init.c: Use define_traced_file.
26131         (_nss_files_init): Use init_traced_file.
26133 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
26135         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
26136         [_LIBC]: Do not include <stdlib.h>.
26137         [!_LIBC] (abort): Remove declaration.
26138         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
26139         _FP_STATIC_ASSERT instead of conditionally calling abort.
26140         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
26141         (_FP_EXTEND_CNAN): Likewise.
26142         (FP_TRUNC): Likewise.
26143         (__FP_CLZ): Likewise.
26144         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
26146 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
26148         * manual/string.texi (XPG basename): Fix prototype.
26150 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26152         [BZ #18080]
26153         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
26154         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26155         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
26156         (__setcontext): Likewise.
26157         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
26158         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26159         Call rt_sigprocmask syscall one time to set new signal mask
26160         and retrieve the current signal mask instead of two calls.
26161         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
26162         (__swapcontext): Likewise.
26163         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
26164         * stdlib/tst-setcontext2.c: New file.
26166 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26168         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26170 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
26172         [BZ #18093]
26173         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
26174         the wrong size.
26176 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26178         [BZ #18043]
26179         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
26181 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26183         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
26184         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
26185         Remove define.
26186         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
26187         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
26188         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
26189         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
26190         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
26191         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
26192         define.
26193         * nptl_db/td_symbol_list.c (td_lookup): Remove
26194         HAVE_ASM_GLOBAL_DOT_NAME code.
26195         * sysdeps/powerpc/powerpc64/configure.ac: Remove
26196         HAVE_ASM_GLOBAL_DOT_NAME check.
26197         * sysdeps/powerpc/powerpc64/configure: Regenerate.
26198         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
26199         (DOT_LABEL): Remove define.
26200         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
26201         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
26202         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
26203         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
26204         (__TLS_GET_ADDR): Likewise.
26205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
26206         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
26208 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
26210         [BZ #18111]
26211         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
26212         (_FPU_SETCW): Initialize cw from fpsr before storing.
26213         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
26214         (fesetexceptflag): Rewrite using fpu_control.h.
26215         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
26217 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
26219         [BZ #18110]
26220         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
26221         asms.
26222         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26224 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
26226         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
26227         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
26228         abort.
26229         (_FP_FMA): Likewise.
26230         (_FP_DIV): Likewise.
26232 2015-03-10  Roland McGrath  <roland@hack.frob.com>
26234         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
26235         with 0 in that case.
26236         * Makefile (summarize-tests): New canned sequence, factored out of
26237         commands for targets tests and xtests.  Display summary lines that
26238         don't start with PASS: or XFAIL: rather than ones that do start with
26239         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
26240         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
26241         do start with ERROR: or FAIL:.
26242         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
26243         (except for [$(build-shared) = yes]).
26244         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
26245         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
26246         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
26247         * nptl/Makefile: Revert 2015-03-04 changes.
26248         [$(CXX) empty] (tests-unsupported): New variable.
26249         * debug/Makefile: Likewise.
26251         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
26252         gnulib file.  Replace __attribute with __attribute__ throughout.
26254 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
26256         * sysdeps/hppa/fpu/libm-test-ulps: Update.
26258 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26260         [BZ #18104]
26261         * math/auto-libm-test-in: Add another test of pow.
26262         * math/auto-libm-test-out: Regenerated.
26264 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26266         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
26267         $(config-cflags-nofma).
26269 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26271         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
26272         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
26273         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
26274         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
26275         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
26276         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
26277         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
26278         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
26279         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
26280         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
26281         Add comment on closing #endif.
26283 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26285         * posix/wordexp.c (CHAR_IN_SET): New macro.
26286         (parse_param): Use it.
26288 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26290         * sysdeps/powerpc/fpu/libm-test-ulps: update.
26292 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26294         [BZ #18043]
26295         * posix/wordexp.c (parse_param): Fix buffer overflow.
26296         * posix/wordexp-test.c (test_case): Add test case.
26298 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26300         [BZ #18042]
26301         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26302         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26304 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26306         [BZ #18043]
26307         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26308         (do_bz18043): Delete.
26309         (at_page_end): New.
26310         (testit): Refactor to have words at the edge of unreadable page.
26312 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26314         [BZ #16734]
26315         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26316         Cleanup read-only streams as well.
26317         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26319 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26321         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26322         <bits/libc-lockP.h>
26324 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26326         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26327         on [__KERNEL__].
26328         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26329         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26330         * soft-fp/op-common.h (_FP_DECL): Likewise.
26332 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26334         * elf/ifuncdep2.c (global): Replace
26335         __attribute__((visibility("protected"))) with
26336         asm (".protected global").
26337         * elf/ifuncmod1.c (global): Likewise.
26338         * elf/ifuncmod5.c (global): Likewise.
26340 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26342         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26343         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26345 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26347         * manual/install.texi (Configuring and compiling):
26348         Document test-wrapper-env-only.
26349         * INSTALL: Regenerated.
26351 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26353         [BZ #18043]
26354         * posix/wordexp.c (parse_param): Fix buffer overflow.
26355         * posix/wordexp-test.c (do_bz18043): Add test case.
26357 2015-03-06  Vincent Bernat  <vincent@bernat.im>
26359         * time/tst-strptime2.c (do_test): Ensure failing tests are
26360         reported correctly.
26361         * time/tst-strptime3.c (do_test): Likewise.
26363 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26365         Fix aio_error thread-safety.
26366         * sysdeps/pthread/aio_error.c: New file
26367         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26368         synchronization.
26370 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26372         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26373         (group_number, vfprintf): Use it.
26374         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26375         (JUMP, REF): Use it.
26376         (WORK_BUFFER_SIZE): New enum constant.
26377         (process_arg, vfprintf): Use it.
26379 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26381         * manual/errno.texi (Error Messages): Complete example function
26382         by adding missing #define.
26383         (program_invocation_name): Add statement indicating GNU
26384         extension and reference which header file declares the variable.
26385         (program_invocation_short_name): Likewise.
26387 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26389         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26390         compatibility note.
26392 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26394         * Makeconfig (test-wrapper-env-only): New variable.
26395         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26396         then use that with $(test-wrapper-env-only) rather than using
26397         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26399 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26401         [BZ #18082]
26402         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26403         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26404         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26405         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26406         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26407         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26408         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26409         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26410         Likewise.
26411         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26412         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26413         Likewise.
26414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26415         Likewise.
26416         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26417         Likewise.
26418         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26419         Likewise.
26420         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26421         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26422         Likewise.
26423         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26424         Likewise.
26425         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26426         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26428 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26430         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26431         (ETH_ALEN): New macro.
26432         (struct ether_addr): Use it for length of ether_addr_octet.
26434         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26435         (setdb): Don't call __nss_configure_lookup for "rpc".
26436         (do_test): Don't call test_rpc.
26437         (output_rpcent, test_rpc): Functions moved ...
26438         * sunrpc/test-rpcent.c: ... to this new file.
26439         * sunrpc/Makefile (tests): Add it.
26441         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26442         __xpg_sigpause.
26443         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26444         * nptl/tst-signal6.c: Likewise.
26445         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26446         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26448         * configure.ac (libc_cv_cxx_link_ok): New check.
26449         Reset CXX to empty if it fails to link.
26450         * configure: Regenerated.
26451         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26452         bug-atexit3-lib only if $(CXX) is nonempty.
26453         * nptl/Makefile (tests): Likewise for tst-cancel24.
26454         (tests, tests-static): Likewise for tst-cancel24-static.
26455         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26456         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26457         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26458         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26460 2015-03-04  Andreas Schwab  <schwab@suse.de>
26462         [BZ #17631]
26463         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26464         for non-GCC compilers.
26465         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26466         Likewise.
26468 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26470         [BZ #17776]
26471         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26472         integer before bitwise and assembly operations.
26473         (feclearexcept): Likewise.
26474         * math/test-fenvinline.c: New file.
26475         * math/Makefile: Add test-fenvinline test.
26477 2015-03-03  Alan Modra  <amodra@gmail.com>
26479         [BZ #16512]
26480         * scripts/localplt.awk: Strip off symbol version.
26481         * NEWS: Mention bug fix.
26483 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26485         * sysdeps/pthread/timer_routines.c
26486         (timer_free_list, thread_free_list, thread_active_list): Make static.
26488 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26490         [BZ #17779]
26491         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26492         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26493         Undefine.
26494         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26495         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26496         Likewise.
26497         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26498         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26499         Likewise.
26501 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26503         [BZ #18036]
26504         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26505         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26507 2015-03-02  Andreas Schwab  <schwab@suse.de>
26509         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26510         variable name.
26512 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26514         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26515         Return error status.
26517 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26519         [BZ #15969]
26520         * locale/findlocale.c (_nl_find_locale): Introduce const
26521         version of loc_name and drop unsafe type casts.
26523 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26525         * dlfcn/tststatic2.c (main): Converted to ...
26526         (do_test): ... this.
26527         (TEST_FUNCTION): New macro.
26528         Include test-skeleton.c.
26530 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26532         [BZ #17711]
26533         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26534         (tests-pie): Add vismain.
26535         (CFLAGS-vismain.c): New.
26536         * elf/vismain.c: Add comments for PIE requirement.
26538 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26540         [BZ #18046]
26541         [BZ #18047]
26542         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26543         0x1p-56L as threshold for just returning the argument.
26544         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26545         0x1p-32L as threshold for just returning the argument.
26546         * math/auto-libm-test-in: Add more tests of atanh.
26547         * math/auto-libm-test-out: Regenerated.
26548         * sysdeps/i386/fpu/libm-test-ulps: Update.
26549         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26551 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26553         * string/bcopy.c (bcopy): Call memmove for performance.
26555 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26557         * string/bzero.c (__bzero): Call memset for performance.
26559 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26561         [BZ #18068]
26562         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26563         to 00100000.
26565 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26567         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26569 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26571         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26572         (__kernel_standard): Use CSTR macro when setting exc.name.
26573         * sysdeps/ieee754/Makefile [$(subdir) = math]
26574         (CFLAGS-k_standard.c): Remove variable.
26576         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26577         setting p and q from "else if" to "else".
26578         (qzero): Likewise.
26579         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26580         (qone): Likewise.
26581         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26582         (qzerof): Likewise.
26583         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26584         (qonef): Likewise.
26585         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26586         (qzero): Likewise.
26587         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26588         (qone): Likewise.
26590         [BZ #18038]
26591         [BZ #18039]
26592         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26593         return pi/2 for arguments below 0x1p-113L.
26594         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26595         return pi/2 for arguments below 0x1p-106L.
26596         * math/auto-libm-test-in: Add more tests of acos.
26597         * math/auto-libm-test-out: Regenerated.
26599         [BZ #16351]
26600         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26601         (MO): New macro.
26602         (__ieee754_asin): Force underflow exception for results with small
26603         absolute value.
26604         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26605         (MO): New macro.
26606         (__ieee754_asinf): Force underflow exception for results with
26607         small absolute value.
26608         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26609         (__ieee754_asin): Force underflow exception for results with small
26610         absolute value.
26611         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26612         (__ieee754_asinf): Force underflow exception for results with
26613         small absolute value.
26614         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26615         (__ieee754_asinl): Force underflow exception for results with
26616         small absolute value.
26617         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26618         (__ieee754_asinl): Force underflow exception for results with
26619         small absolute value.
26620         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26621         (__ieee754_asinl): Force underflow exception for results with
26622         small absolute value.
26623         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26624         Include <math.h>.
26625         * math/auto-libm-test-in: Do not mark underflow exceptions as
26626         possibly missing for bug 16351.
26627         * math/auto-libm-test-out: Regenerated.
26629         [BZ #18030]
26630         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26631         of power of 2 down when low part has opposite sign.
26632         * math/libm-test.inc (logb_test_data): Add more tests.
26634 2015-02-26  Andreas Schwab  <schwab@suse.de>
26636         [BZ #18032]
26637         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26638         over collating symbol inside a bracket expression.  Minor cleanup.
26639         * posix/tst-fnmatch3.c (do_test): Add test case.
26641 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26643         [BZ #18029]
26644         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26645         Adjust exponent of power of 2 down when low part has opposite
26646         sign.
26647         * math/libm-test.inc (ilogb_test_data): Add more tests.
26649 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26651         [BZ #15969]
26652         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26653         the previous change.
26655         [BZ #15969]
26656         * locale/findlocale.c (_nl_find_locale): Retry archive search
26657         after alias expansion.
26659 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26661         * iconv/tst-iconv3.c (main): Converted to ...
26662         (do_test): ... this.
26663         (TEST_FUNCTION): New macro.
26664         Include test-skeleton.c.
26666         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26667         (convert): Make function static.
26668         (test_unalign): Likewise.  Add const to argument pointee types.
26669         (main): Replace with static function do_test.
26670         Print "Succeeded." only if RET is zero.
26671         (TEST_FUNCTION): New macro.
26672         Include test-skeleton.c.
26674         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26675         returns a null pointer.
26677 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26679         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26680         to __memcpy_ppc only for static builds.
26682 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26684         [BZ #18020]
26685         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26686         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26687         * math/auto-libm-test-in: Add more tests of asinh.
26688         * math/auto-libm-test-out: Regenerated.
26689         * sysdeps/i386/fpu/libm-test-ulps: Update.
26690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26692 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26694         [BZ #15850]
26695         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26696         and ip6_mtuinfo definitions here.
26697         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26698         in this define too.  Update comment.
26700 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26702         * elf/sprof.c (load_shobj): Tweak error message to match others.
26704 2015-02-24  Kevin Easton  <kevin@guarana.org>
26706         [BZ #16145] (partial fix)
26707         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26708         to reduce lock contention.
26710 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26712         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26713         (struct timex): Update time comment.
26714         (ADJ_SETOFFSET): Define.
26716 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26718         [BZ #18019]
26719         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26720         2**56 not 2**28 as threshold for log (2x) formula.
26721         * math/auto-libm-test-in: Add more tests of acosh.
26722         * math/auto-libm-test-out: Regenerated.
26723         * sysdeps/i386/fpu/libm-test-ulps: Update.
26724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26726 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26728         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26729         parenthesis around the buf assignment.
26730         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26732 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26734         [BZ #16783]
26735         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26736         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26737         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26738         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26739         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26740         * math/libm-test.inc (scalb_test_data): Add more tests.
26742 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26744         [BZ #17916]
26745         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26746         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26748 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26750         [BZ #17523]
26751         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26752         * io/bits/fcntl2.h (open): Use it.
26753         (openat): Likewise.
26754         * io/open.c (__libc_open): Likewise.
26755         * io/open64.c (__libc_open64): Likewise.
26756         * io/open64_2.c (__open64_2): Likewise.
26757         * io/open_2.c (__open_2): Likewise.
26758         * io/openat.c (__openat): Likewise.
26759         * io/openat64.c (__openat64): Likewise.
26760         * io/openat64_2.c (__openat64_2): Likewise.
26761         * io/openat_2.c (__openat_2): Likewise.
26762         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26763         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26764         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26765         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26766         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26767         (__open_nocancel): Likewise.
26768         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26769         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26770         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26772 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26774         [BZ #14841]
26775         * resolv/gethnamaddr.c (getanswer): Skip logging if
26776         RES_USE_DNSSEC is set.
26777         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26779 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26781         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26783 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26785         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26786         201304L, for Unicode 7.
26788 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26790         [BZ #17836]
26791         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26792         shared library.  Add gmon-start.os otherwise.
26793         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26794         $(objpfx)gmon-start.os if builing shared library.
26795         ($(objpfx)g$(static-start-installed-name)): Likewise.
26797 2015-02-23  Andreas Schwab  <schwab@suse.de>
26799         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26801 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26803         [BZ #17269]
26804         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26805         (enlarge_userbuf): Likewise.
26807 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26809         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26810         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26811         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26812         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26814 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26816         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26817         expression inside statement expression.
26819 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26821         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26822         <sysdeps/nptl/lowlevellock.h> and remove macros and
26823         functions that are now defined there.
26824         (SYS_futex): Remove.
26825         (lll_compare_and_swap): Remove.
26826         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26828 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26830         [BZ #17999]
26831         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26832         instead of scandirat.
26833         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26834         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26835         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26836         __scandirat.
26837         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26838         (__scandirat): Declare.  Use libc_hidden_proto.
26839         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26840         Remove variable.
26841         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26843 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26845         [BZ #15319]
26846         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26847         (MO): New macro.
26848         (__ieee754_atan2): For results with small absolute value, force
26849         underflow exception and remove excess range and precision from
26850         return value.
26851         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26852         (MO): New macro.
26853         (__ieee754_atan2f): For results with small absolute value, force
26854         underflow exception and remove excess range and precision from
26855         return value.
26856         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26857         (MO): New macro.
26858         (__atan): For results with small absolute value, force underflow
26859         exception and remove excess range and precision from return value.
26860         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26861         (MO): New macro.
26862         (__atanf): For results with small absolute value, force underflow
26863         exception and remove excess range and precision from return value.
26864         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26865         <math.h>.
26866         (__ieee754_atan2): Force underflow exception for results with
26867         small absolute value.
26868         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26869         <math_private.h>.
26870         (atan): Force underflow exception for results with small absolute
26871         value.
26872         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26873         (__atanf): Force underflow exception for results with small
26874         absolute value.
26875         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26876         <math.h>.
26877         (__atanl): Force underflow exception for results with small
26878         absolute value.
26879         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26880         (__atanl): Force underflow exception for results with small
26881         absolute value.
26882         * sysdeps/x86/fpu/bits/mathinline.h
26883         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26884         (__ieee754_atan2): Only define inline for long double.
26885         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26886         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26887         * math/auto-libm-test-in: Do not mark underflow exceptions as
26888         possibly missing for bug 15319.  Add more tests of atan2.
26889         * math/auto-libm-test-out: Regenerated.
26890         * math/libm-test.inc (casin_test_data): Do not mark underflow
26891         exceptions as possibly missing for bug 15319.
26892         (casinh_test_data): Likewise.
26893         * sysdeps/i386/fpu/libm-test-ulps: Update.
26895 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26897         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26898         * sysdeps/mips/bits/endian.h: Fix comments.
26900 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26902         [BZ #17996]
26903         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26904         (hdestroy_r): Likewise.
26905         (hsearch_r): Likewise.
26906         (__hcreate_r): Declare and use libc_hidden_proto.
26907         (__hdestroy_r): Likewise.
26908         (__hsearch_r): Likewise.
26909         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26910         (hcreate): Call __hcreate_r instead of hcreate_r.
26911         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26912         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26913         as weak alias of __hcreate_r.
26914         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26915         __hdestroy_r.
26916         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26917         __hsearch_r.
26918         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26919         Remove variable.
26920         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26921         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26922         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26923         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26925 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26927         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26928         arena_lock into a single arena_get.
26930 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26932         * dl-reloc.c: Inlucde libc-internal.h.
26933         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26934         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26935         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26936         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26937         (grow_heap): Likewise.
26938         * malloc/malloc.c: Include libc-internal.h.
26939         (do_check_malloc): Call powerof2.
26940         (sysmalloc): Use pagesize. Call ALIGN_UP.
26941         (systrim): Use pagesize.
26942         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26943         (__libc_valloc): Use pagesize.
26944         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26946 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26948         [BZ #17991]
26949         * include/sys/resource.h (__getrlimit64): Declare.  Use
26950         libc_hidden_proto.
26951         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26952         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26953         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26954         getrlimit64.
26955         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26956         __getrlimit64.
26957         [!getrlimit64] (getrlimit64): Define as weak alias of
26958         __getrlimit64.  Use libc_hidden_weak.
26959         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26960         using __getrlimit64 not __new_getrlimit64.
26961         (__GI_getrlimit64): Likewise.
26962         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26963         Likewise.
26964         (__GI_getrlimit64): Likewise.
26965         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26967         (getrlimit): Add __getrlimit64 alias.
26968         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26969         Likewise.
26970         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26971         Remove variable.
26972         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26973         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26975 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26977         * libio/fileops.c: Add missing sys/mman.h
26978         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26980 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26982         * manual/math.texi (Errors in Math Functions): Clarify goals
26983         regarding inexact and underflow exceptions.
26985 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26987         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26988         * sysdeps/mips/memset.S: Ditto.
26990 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26992         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26994 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26996         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26997         (__v1longjmp): Remove versioned symbol.
26998         (__v1siglongjmp): Remove alias and versioned symbol.
26999         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
27000         (__v2siglongjmp): Likewise.
27002 2015-02-16  Torvald Riegel  <triegel@redhat.com>
27004         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
27006 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
27008         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
27010 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
27012         [BZ #17987]
27013         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
27014         zero result does not depend on the sign resulting from
27015         subtraction.
27016         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27017         Likewise.
27018         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27019         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27020         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27021         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27022         * math/libm-test.inc (remquo_test_data): Add more tests.
27024 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
27026         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
27027         Problem reported by J William Piggott.
27029 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
27031         [BZ #17978]
27032         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
27033         products 4 * y and 2 * y where those would overflow.
27034         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27035         Likewise.
27036         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27037         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27038         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27039         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27040         * math/libm-test.inc (remquo_test_data): Add more tests.
27042         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
27044         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
27045         [defined _COMPILING_NEWLIB].
27046         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
27047         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
27049         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
27050         [!defined __mips_isa_rev || __mips_isa_rev < 6].
27052 2015-02-16  Torvald Riegel  <triegel@redhat.com>
27054         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
27055         acquired.
27057 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
27059         [BZ #17792]
27060         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
27061         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
27062         HOST_STACK_END_ADDR): Likewise.
27064 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
27066         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
27067         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
27068         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
27070 2015-02-13  Roland McGrath  <roland@hack.frob.com>
27072         * sysdeps/generic/c++-types.data: New file.
27073         * sysdeps/generic/ld.abilist: New file.
27074         * sysdeps/generic/libBrokenLocale.abilist: New file.
27075         * sysdeps/generic/libanl.abilist: New file.
27076         * sysdeps/generic/libc.abilist: New file.
27077         * sysdeps/generic/libcrypt.abilist: New file.
27078         * sysdeps/generic/libdl.abilist: New file.
27079         * sysdeps/generic/libm.abilist: New file.
27080         * sysdeps/generic/libpthread.abilist: New file.
27081         * sysdeps/generic/libresolv.abilist: New file.
27082         * sysdeps/generic/librt.abilist: New file.
27084 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
27086         [BZ #17569]
27087         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27088         Compute absolute value of x as modified by fmod, not original
27089         value of x.
27090         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
27091         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
27092         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
27093         RUN_TEST_ffI_f1_mod8.
27094         (remquo_test_data): Add more tests.
27096 2015-02-13  Roland McGrath  <roland@hack.frob.com>
27098         * sysdeps/init_array/pt-crti.S: New file.
27100 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
27102         [BZ #17967]
27103         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
27104         __builtin_fmaf instead of relying on contraction of a * b + c.
27106 2015-02-12  J William Piggott  <elseifthen@gmx.com>
27108         [BZ #17969]
27109         * manual/time.texi: correct the zoneinfo path in the TZ Variable
27110         node.
27112 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
27114         [BZ #17964]
27115         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
27116         __builtin_fma instead of relying on contraction of a * b + c.
27118 2015-02-12  Roland McGrath  <roland@hack.frob.com>
27120         * Makeconfig (ASFLAGS): Add -Werror=undef.
27121         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
27122         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
27123         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
27125         * Makeconfig (after-link): New variable.
27126         (+link-pie, +link-pie-tests): Use it.
27127         (+link-static, +link-static-tests): Likewise.
27128         (+link, +link-tests): Likewise.
27129         * Makerules (build-module, build-module-asneeded): Likewise.
27130         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
27131         Likewise.
27132         * elf/Makefile ($(objpfx)ld.so): Likewise.
27134 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
27136         [BZ #17965]
27137         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
27138         both struct timeval and struct timespec.
27140 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
27142         [BZ #16560]
27143         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27144         and redefine.
27145         (__ieee754_exp2l): Do not multiply small fractional parts by
27146         M_LN2l.
27147         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
27148         small argument.
27149         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27150         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27151         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
27152         * math/auto-libm-test-in: Add more tests of exp2.
27153         * math/auto-libm-test-out: Regenerated.
27155 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27157         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
27158         unaligned path.
27160 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27162         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
27163         little endian.
27165 2015-02-12  Andreas Schwab  <schwab@suse.de>
27167         [BZ #15790]
27168         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27169         Filter out elision flags from value returned in kind.
27170         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
27171         * nptl/tst-pthread-mutexattr.c: New file.
27173 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27175         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
27176         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
27177         into gnu-gnu, and update comment to refer to abi-tags.
27179 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
27181         [BZ #15467]
27182         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
27183         (__sincos): Set errno to EDOM for infinite argument.
27184         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
27185         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
27186         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
27187         (__sincosl): Set errno to EDOM for infinite argument.
27188         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
27189         (__sincosl): Set errno to EDOM for infinite argument.
27190         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
27191         (__sincosl): Set errno to EDOM for infinite argument.
27192         * math/libm-test.inc (sincos_test_data): Test errno setting.
27194 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
27196         * string/strxfrm_l.c: Remove #define STRCMP.
27197         * string/strcoll_l.c: Remove #define STRLEN.
27198         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
27199         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
27201 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
27203         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
27204         * sysdeps/mips/mips32/sfp-machine.h: ... here.
27205         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
27206         * sysdeps/mips/mips64/Makefile: ... here.
27207         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
27208         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
27209         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
27210         * sysdeps/mips/mips64/sfp-machine.h: ... here.
27211         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
27212         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
27213         * sysdeps/mips/mips64/n64/Implies: Likewise.
27215 2015-02-10  Roland McGrath  <roland@hack.frob.com>
27217         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
27218         <sys/time.h>, <string.h>, and <errno.h>.
27219         (dest_offset, dest_address, value, zero): Remove unused variables.
27220         (ldouble): Remove typedef.
27221         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
27222         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
27223         1).  Fix code style.
27224         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
27225         (check): Function removed.
27226         (CHECK): New macro.
27227         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
27228         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
27229         Don't call set_sigaction_FP and remove_sigaction_FP here.
27230         (ldouble_test): Just use 'long double' as macro argument, no need for
27231         the 'ldouble' typedef.
27232         (do_test): Set up SIGFPE handler at start, using plain signal rather
27233         than sigaction.  Fix code style.
27235 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
27237         [BZ #17949]
27238         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
27239         jump label.
27241 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27243         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
27244         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27246         * sysdeps/powerpc/configure.ac: Remove file.
27247         * sysdeps/powerpc/configure: Likewise.
27249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27250         [sysdep_routines]: Remove wordcopy-power6 object.
27251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27252         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
27253         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
27254         (__memmove_ppc32): Likewise.
27255         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
27256         file.
27257         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
27258         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
27259         Remove preprocessor.
27261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27262         [sysdep_routines]: Remove wide chars objects.
27263         [wcsmbs]: New rule for wide char objects.
27265         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27266         Remove wordcopy-power6 obejct.
27267         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
27268         Use local call for wordcopy and memcpy symbols.
27269         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
27270         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
27271         implementation for loader.
27272         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
27274         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27275         Remove wordcopy-power7 object.
27276         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
27277         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
27278         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
27279         (_wordcopy_fwd_dest_aligned): Likewise.
27280         (_wordcopy_bwd_aligned): Likewise.
27281         (_wordcopy_bwd_dest_aligned): Likewise.
27283         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
27284         Rewrite to call __memmove_ppc instead of include default
27285         implementation.
27287         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27288         Remove wide chars objects.
27289         [wcsmbs]: New rule for wide char objects.
27291 2015-02-09  Andreas Schwab  <schwab@suse.de>
27293         [BZ #17912]
27294         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27295         in terms of __O_DIRECTORY.
27297 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27299         * time/getdate.c: Include <stdbool.h>.
27300         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27301         call PTR_MANGLE.
27302         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27303         PTR_DEMANGLE.
27305 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27307         Add ersatz _Static_assert on older C hosts
27308         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27309         pre-C11 C platform that is not known to support _Static_assert.
27311 2015-02-07  Richard Braun  <rbraun@sceen.net>
27313         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27314         sigstate.
27315         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27317 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27319         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27320         priority against unexistent AIO_PRIO_DELTA_MAX.
27321         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27322         instead of int.
27323         * misc/fchflags.c (fchflags): Likewise.
27324         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27325         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27326         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27327         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27328         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27329         Declare macros.
27330         [__USE_MISC] (chflags, fchflags): Declare functions.
27331         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27332         EINVAL when nfds is greater than FD_SETSIZE.
27333         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27334         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27335         45.
27336         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27337         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27338         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27339         MACH_RCV_TIMED_OUT.
27340         * hurd/hurd/signal.h (_hurd_self_sigstate,
27341         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27342         Explicit casts from void *.
27343         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27344         * abi-tags: Rename gnu-gnu os into gnu.
27346         [BZ #4719]
27347         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27348         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27349         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27350         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27351         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27352         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27354         [BZ #17944]
27355         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27356         duplicates ADDR->sun_path with sockaddr LEN limitation.
27357         * sysdeps/mach/hurd/connect.c: Include <string.h>
27358         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27359         * sysdeps/mach/hurd/sendmsg.c: Likewise.
27360         * sysdeps/mach/hurd/sendto.c: Likewise.
27361         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27362         implementing it by hand.
27364 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27366         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27367         Use sfi_breg on ldr.
27368         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27369         Likewise.
27371         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27372         it's defined.
27373         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27374         Test SIGSETXID only if it's defined.
27376         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27378         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27379         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27381         * nptl/tst-align2.c: Moved ...
27382         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27383         * nptl/Makefile (tests): Remove tst-align2.
27384         * sysdeps/unix/sysv/linux/Makefile
27385         [$(subdir) = nptl] (tests): Add tst-align-clone.
27386         * nptl/tst-getpid1.c: Moved ...
27387         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27388         * nptl/tst-getpid2.c: Moved ...
27389         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27390         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27391         * sysdeps/unix/sysv/linux/Makefile
27392         [$(subdir) = nptl] (tests): ... here.
27393         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27394         * sysdeps/unix/sysv/linux/Makefile
27395         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27397         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27398         Drop trailing \n from perror argument.  Use return rather than exit.
27400         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27401         on [SA_SIGINFO].
27402         * nptl/tst-cancel21.c (do_test): Likewise.
27403         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27404         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27405         [!SA_SIGINFO]: Make it a stub test.
27407         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27408         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27410         * posix/tst-getlogin.c: Move to ...
27411         * login/tst-getlogin.c: ... here.
27412         * posix/Makefile (tests): Move tst-getlogin to ...
27413         * login/Makefile (tests): ... here.
27415         * libio/tst-atime.c (do_test): Move local variables SV and E
27416         inside [ST_NOATIME] conditional.
27418         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27420         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27422         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27423         (wait_code): New function replaces macro.
27424         Call nanosleep rather than syscall.
27426         * nptl/pt-system.c: Rewritten.  Put everything under
27427         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27428         Use IFUNC to redirect when possible.
27430         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27431         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27432         Use IFUNC to redirect when possible.
27434         * nptl/pt-fork.c: Rewritten.  Put everything under
27435         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27436         Use IFUNC to redirect when possible.
27437         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27439         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27440         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27441         unconditionally nowadays.  This included the only reference to
27442         __vdso_clock_gettime that appears outside libc proper.
27443         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27444         Remove version set (containing only __vdso_clock_gettime).
27445         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27446         Add attribute_hidden.
27447         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27448         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27449         libc_hidden_data_def.
27450         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27451         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27453         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27454         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27455         setrpcent, and getrpcport to ...
27456         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27457         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27458         getrpcbynumber_r, and getrpcent_r to ...
27459         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27460         * inet/getrpcbyname.c: Moved ...
27461         * sunrpc/getrpcbyname.c: ... here.
27462         * inet/getrpcbyname_r.c: Moved ...
27463         * sunrpc/getrpcbyname_r.c: ... here.
27464         * inet/getrpcbynumber.c: Moved ...
27465         * sunrpc/getrpcbynumber.c: ... here.
27466         * inet/getrpcbynumber_r.c: Moved ...
27467         * sunrpc/getrpcbynumber_r.c: ... here.
27468         * inet/getrpcent.c: Moved ...
27469         * sunrpc/getrpcent.c: ... here.
27470         * inet/getrpcent_r.c: Moved ...
27471         * sunrpc/getrpcent_r.c: ... here.
27472         * inet/Makefile (routines): Move those to ...
27473         * sunrpc/Makefile (routines): ... here.
27474         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27475         the $(subdirs) list.
27476         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27477         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27478         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27479         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27481         * elf/Makefile (routines): Include $(all-dl-routines), not just
27482         $(dl-routines).
27483         (rtld-routines): Likewise.  Use = rather than :=.
27484         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27485         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27486         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27487         * sysdeps/arm/Makefile: Likewise.
27488         * sysdeps/i386/Makefile: Likewise.
27489         * sysdeps/x86_64/Makefile: Likewise.
27490         * sysdeps/hppa/Makefile [$(subdir) = elf]
27491         (sysdep_routines, sysdep-rtld-routines): Don't add
27492         $(sysdep-dl-routines) to these.
27493         * sysdeps/ia64/Makefile: Likewise.
27494         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27495         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27496         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27497         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27498         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27499         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27500         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27501         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27502         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27503         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27504         these; sysdep-dl-routines alone is enough.
27506 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27508         [BZ #17932]
27509         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27510         where multiplication results in zero and third argument is finite
27511         and nonzero.
27512         * math/auto-libm-test-in: Add more tests of fma.
27513         * math/auto-libm-test-out: Regenerated.
27515         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27516         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27517         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27518         (_FP_CMP_EQ): Likewise.
27519         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27521         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27522         extra argument CHECK_NAN.  Redefine as wrapper around
27523         _FP_EXTEND_CNAN.
27525 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27527         * version.h (RELEASE): Set to "stable".
27528         (VERSION): Set to "2.21"
27529         * include/features.h (__GLIBC_MINOR__): Set to 21.
27531         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27533 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27534             Paul Eggert  <eggert@cs.ucla.edu>
27536         [BZ #16618]
27537         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27538         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27539         size in bytes. Store needed elements in wpmax. Use needed size
27540         in bytes for extend_alloca.
27542 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27544         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27545         binutls 2.25, and texinfo 5.2.
27546         * INSTALL: Regenerate.
27547         * sysdeps/nios2/configure: Regenerate.
27548         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27549         * manual/contrib.texi: Update.
27550         * po/be.po: Update.
27551         * po/bg.po: Update.
27552         * po/ca.po: Update.
27553         * po/cs.po: Update.
27554         * po/da.po: Update.
27555         * po/de.po: Update.
27556         * po/el.po: Update.
27557         * po/eo.po: Update.
27558         * po/es.po: Update.
27559         * po/fi.po: Update.
27560         * po/fr.po: Update.
27561         * po/gl.po: Update.
27562         * po/hr.po: Update.
27563         * po/hu.po: Update.
27564         * po/ia.po: Update.
27565         * po/id.po: Update.
27566         * po/it.po: Update.
27567         * po/ja.po: Update.
27568         * po/ko.po: Update.
27569         * po/lt.po: Update.
27570         * po/nb.po: Update.
27571         * po/nl.po: Update.
27572         * po/pl.po: Update.
27573         * po/pt_BR.po: Update.
27574         * po/ru.po: Update.
27575         * po/rw.po: Update.
27576         * po/sk.po: Update.
27577         * po/sl.po: Update.
27578         * po/sv.po: Update.
27579         * po/tr.po: Update.
27580         * po/uk.po: Update.
27581         * po/vi.po: Update.
27582         * po/zh_CN.po: Update.
27583         * po/zh_TW.po: Update.
27585         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27586         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27587         * sysdeps/hppa/dl-irel.h: Remove #warning.
27588         * sysdeps/hppa/entry.h: Provide prototype for
27589         __canonicalize_funcptr_for_compare and cast argument.
27590         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27591         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27592         * sysdeps/hppa/sotruss-lib.c: New file.
27593         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27594         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27595         (atomic_compare_and_exchange_bool_acq): Likewise.
27596         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27597         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27599         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27600         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27601         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27603 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27605         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27606         called function in non-PIC case.
27608 2015-01-31  David S. Miller  <davem@davemloft.net>
27610         * sysdeps/sparc/sparc32/bits/atomic.h
27611         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27612         unlock not after it.
27613         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27614         volatile register usage warnings from the compiler.
27616         * sysdeps/sparc/nptl/sem_init.c: Delete.
27617         * sysdeps/sparc/nptl/sem_post.c: Delete.
27618         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27619         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27620         * sysdeps/sparc/sparc32/sem_init.c: New file.
27621         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27622         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27623         padding explicitly initialized.
27624         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27625         padding for in-semaphore spinlock.
27626         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27627         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27628         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27629         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27630         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27631         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27632         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27633         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27634         version.
27635         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27636         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27638 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27640         [BZ #17801]
27641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27642         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27643         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27644         New.
27645         (index_AVX_Fast_Unaligned_Load): Likewise.
27646         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27647         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27648         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27649         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27650         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27651         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27652         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27653         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27654         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27656 2015-01-29  Andreas Schwab  <schwab@suse.de>
27658         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27660 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27662         [BZ #17892]
27663         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27665 2015-01-28  Martin Sebor  <msebor@redhat.com>
27667         * math/README.libm-test: Clarify. Add "How to read the test output."
27669 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27671         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27672         Define to 0.
27674 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27676         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27677         (__HAVE_64B_ATOMICS): Define to 0.
27679 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27681         [BZ #17885]
27682         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27683         value to set as new flag.
27685         [BZ #16576]
27686         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27687         and use _ARCH_PPCSQ instead.
27688         (__ieee754_sqrt): Likewise.
27689         (__ieee754_sqrtf): Likewise.
27690         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27691         _ARCH_PPCSQ is defined.
27692         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27693         fsqrt instruction.
27694         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27695         _ARCH_PPCSQ is defined.
27696         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27697         fsqrts instruction.
27698         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27700 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27702         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27703         bug (GCC BZ #64739).
27705 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27707         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27708         Mark _retval as used.
27709         (lll_futex_wake_unlock): Likewise.
27710         (lll_futex_timed_wait_requeue_pi): Likewise.
27712         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27713         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27714         register variables.
27716         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27717         libm_hidden_def.
27719         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27720         (__bswap_64): Mark as __always_inline.
27722 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27724         [BZ #15378]
27725         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27726         when none of the search directories exist.
27728 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27730         [BZ #17869]
27731         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27732         power8 in .machine directive.
27734         [BZ #17868]
27735         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27736         set dependency from opd value.
27738 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27741         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27742         architecture.
27744 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27746         [BZ #17870]
27747         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27748         with uint64_t.
27749         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27750         (uint64_t) 1.
27751         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27752         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27753         Replace 1UL with (uint64_t) 1.
27754         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27755         int with uint64_t.
27757 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27759         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27760         (if_freenameindex): Likewise.
27762         * resource/getrlimit64.c: Add missing libc_hidden_def.
27764 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27766         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27767         __label__.
27768         (_FP_FMA): Likewise.
27769         (_FP_TO_INT_ROUND): Likewise.
27770         (_FP_FROM_INT): Likewise.
27772 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27774         [BZ #16418]
27775         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27776         Make code racy and cancel safe.
27778 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27780         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27781         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27782         attribution.
27784         * pwd/tst-getpw.c: Rewrite.
27786         [BZ #17702]
27787         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27788         (modules-names): Add moddummy1 and moddummy2.
27789         ($(objpfx)tst-rec-dlopen): Define.
27790         * dlfcn/moddummy1.c: New file.
27791         * dlfcn/moddummy2.c: New file.
27792         * dlfcn/tst-rec-dlopen.c: New file.
27793         * elf/dl-cache.c (_dl_load_cache_lookup):
27794         Return char*. Copy result with alloca/strcpy/strdup.
27795         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27796         returns char*. Free cached. If not saving realname
27797         free cached.
27798         * elf/dl-open.c (dl_open_worker): Do not assert that
27799         _r_debug->r_state is RT_CONSISTENT.
27800         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27801         returns char*.
27803 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27804             Carlos O'Donell  <carlos@redhat.com>
27806         [BZ #12674]
27807         * nptl/sem_waitcommon.c: New file.
27808         * nptl/sem_wait.c: Include sem_waitcommon.c.
27809         (__sem_wait_cleanup, do_futex_wait): Remove.
27810         (__new_sem_wait): Adapt.
27811         (__new_sem_trywait): New function.
27812         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27813         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27814         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27815         (sem_timedwait): Adapt.
27816         * nptl/sem_post.c (__new_sem_post): Adapt.
27817         (futex_wake): New function.
27818         (__old_sem_post): Add release MO fence.
27819         * nptl/sem_open.c (sem_open): Adapt.
27820         * nptl/sem_init.c (__new_sem_init): Adapt.
27821         (futex_private_if_supported): New function.
27822         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27823         (__old_sem_getvalue): Add using previous code.
27824         * sysdeps/nptl/internaltypes.h: Adapt.
27825         * nptl/tst-sem13.c (do_test): Adapt.
27826         * nptl/tst-sem11.c (main): Adapt.
27827         * nptl/sem_trywait.c: Remove.
27828         * nptl/DESIGN-sem.txt: Remove.
27829         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27830         (gen-as-const-headers): Remove structsem.sym.
27831         * nptl/structsem.sym: Remove.
27832         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27833         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27834         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27835         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27836         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27837         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27838         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27839         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27840         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27841         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27842         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27843         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27844         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27845         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27846         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27847         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27848         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27849         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27850         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27851         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27852         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27853         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27855 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27857         * INSTALL: Regenerated.
27859         * po/libc.pot: Regenerated.
27861 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27862             Sandra Loosemore  <sandra@codesourcery.com>
27863             Andrew Jenner  <andrew@codesourcery.com>
27864             Joseph Myers  <joseph@codesourcery.com>
27865             Nathan Sidwell  <nathan@codesourcery.com>
27867         * NEWS: Mention new Nios II port.
27868         * sysdeps/nios2/Implies: New file.
27869         * sysdeps/nios2/Makefile: New file.
27870         * sysdeps/nios2/Subdirs: New file.
27871         * sysdeps/nios2/Versions: New file.
27872         * sysdeps/nios2/__longjmp.S: New file.
27873         * sysdeps/nios2/abort-instr.h: New file.
27874         * sysdeps/nios2/backtrace.c: New file.
27875         * sysdeps/nios2/bits/endian.h: New file.
27876         * sysdeps/nios2/bits/fenv.h: New file.
27877         * sysdeps/nios2/bits/link.h: New file.
27878         * sysdeps/nios2/bits/setjmp.h: New file.
27879         * sysdeps/nios2/bsd-_setjmp.S: New file.
27880         * sysdeps/nios2/bsd-setjmp.S: New file.
27881         * sysdeps/nios2/configure: New generated file.
27882         * sysdeps/nios2/configure.ac: New file.
27883         * sysdeps/nios2/crti.S: New file.
27884         * sysdeps/nios2/crtn.S: New file.
27885         * sysdeps/nios2/dl-init.c: New file.
27886         * sysdeps/nios2/dl-machine.h: New file.
27887         * sysdeps/nios2/dl-sysdep.h: New file.
27888         * sysdeps/nios2/dl-tls.h: New file.
27889         * sysdeps/nios2/dl-trampoline.S: New file.
27890         * sysdeps/nios2/gccframe.h: New file.
27891         * sysdeps/nios2/gmp-mparam.h: New file.
27892         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27893         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27894         * sysdeps/nios2/ldsodefs.h: New file.
27895         * sysdeps/nios2/libc-tls.c: New file.
27896         * sysdeps/nios2/libm-test-ulps: New file.
27897         * sysdeps/nios2/machine-gmon.h: New file.
27898         * sysdeps/nios2/math-tests.h: New file.
27899         * sysdeps/nios2/math_private.h: New file.
27900         * sysdeps/nios2/memusage.h: New file.
27901         * sysdeps/nios2/nptl/Makefile: New file.
27902         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27903         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27904         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27905         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27906         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27907         * sysdeps/nios2/nptl/tls.h: New file.
27908         * sysdeps/nios2/preconfigure: New file.
27909         * sysdeps/nios2/s_fma.c: New file.
27910         * sysdeps/nios2/s_fmaf.c: New file.
27911         * sysdeps/nios2/setjmp.S: New file.
27912         * sysdeps/nios2/sfp-machine.h: New file.
27913         * sysdeps/nios2/sotruss-lib.c: New file.
27914         * sysdeps/nios2/stackguard-macros.h: New file.
27915         * sysdeps/nios2/stackinfo.h: New file.
27916         * sysdeps/nios2/start.S: New file.
27917         * sysdeps/nios2/sysdep.h: New file.
27918         * sysdeps/nios2/tls-macros.h: New file.
27919         * sysdeps/nios2/tst-audit.h: New file.
27920         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27921         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27922         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27923         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27924         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27925         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27926         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27927         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27928         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27929         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27930         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27931         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27932         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27933         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27934         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27935         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27936         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27937         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27938         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27939         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27940         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27941         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27942         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27943         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27944         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27945         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27946         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27947         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27948         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27949         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27950         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27951         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27952         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27953         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27954         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27955         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27956         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27957         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27958         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27959         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27960         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27961         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27962         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27963         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27965 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27967         [BZ #17844]
27968         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27969         (getutent): Use weak_alias in non SHARED case
27970         and default_symbol_version in SHARED case.
27971         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27972         (getutent_r, pututline): Likewise.
27973         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27974         (getutid): Likewise.
27975         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27976         (getutid_r): Likewise.
27977         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27978         (getutline): Likewise.
27979         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27980         (getutline_r): Likewise.
27981         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27982         (updwtmp): Likewise.
27984 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27986         [BZ #17848]
27987         * sysdeps/s390/s390-32/memcmp.S
27988         (memcmp_g5): Rename to __memcmp_g5.
27989         * sysdeps/s390/s390-32/memcpy.S
27990         (memcpy_g5): Rename to __memcpy_g5.
27991         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27992         (memcpy_mvcle) Rename to __memcpy_mvcle.
27993         * sysdeps/s390/s390-32/memset.S
27994         (memset_g5): Rename to __memset_g5.
27995         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27996         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27997         and use prefixed functions.
27998         * sysdeps/s390/s390-32/multiarch/memcmp.S
27999         (memcmp_z196): Rename to __memcmp_z196.
28000         (memcmp_z10): Rename to __memcmp_z10.
28001         (memcmp): Set alias to __memcmp_g5.
28002         (bcmp): Set alias to __memcmp_g5.
28003         * sysdeps/s390/s390-32/multiarch/memcpy.S
28004         (memcpy_z196): Rename to __memcpy_z196.
28005         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28006         (memcpy_z10): Rename to __memcpy_z10.
28007         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28008         (memcpy): Set alias to __memcpy_g5.
28009         * sysdeps/s390/s390-32/multiarch/memset.S
28010         (memset_z196): Rename to __memset_z196.
28011         Jump to __memset_mvcle instead of memset_mvcle.
28012         (memset_z10): Rename to __memset_z10.
28013         Jump to __memset_mvcle instead of memset_mvcle.
28014         (memset_mvcle) Rename to __memset_mvcle.
28015         (memset): Set alias to __memset_g5.
28016         * sysdeps/s390/s390-64/memcmp.S
28017         (memcmp_z900): Rename to __memcmp_z900.
28018         * sysdeps/s390/s390-64/memcpy.S
28019         (memcpy_z900): Rename to __memcpy_z900.
28020         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28021         (memcpy_mvcle) Rename to __memcpy_mvcle.
28022         * sysdeps/s390/s390-64/memset.S
28023         (memset_z900): Rename to __memset_z900.
28024         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
28025         (IFUNC_RESOLVE): Prefix ifunc-resolve function
28026         and use prefixed functions.
28027         * sysdeps/s390/s390-64/multiarch/memcmp.S
28028         (memcmp_z196): Rename to __memcmp_z196.
28029         (memcmp_z10): Rename to __memcmp_z10.
28030         (memcmp): Set alias to __memcmp_z900.
28031         (bcmp): Set alias to __memcmp_z900.
28032         * sysdeps/s390/s390-64/multiarch/memcpy.S
28033         (memcpy_z196): Rename to __memcpy_z196.
28034         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28035         (memcpy_z10): Rename to __memcpy_z10.
28036         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28037         (memcpy): Set alias to __memcpy_z900.
28038         * sysdeps/s390/s390-64/multiarch/memset.S
28039         (memset_z196): Rename to __memset_z196.
28040         Jump to __memset_mvcle instead of memset_mvcle.
28041         (memset_z10): Rename to __memset_z10.
28042         Jump to __memset_mvcle instead of memset_mvcle.
28043         (memset_mvcle) Rename to __memset_mvcle.
28044         (memset): Set alias to __memset_z900.
28046 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
28048         [BZ #17748]
28049         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
28050         __fesetenv instead of fesetenv.
28052 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28054         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
28055         macro.
28057 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28059         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
28060         regression on LE.
28062         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
28063         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
28064         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28065         strncmp-power8 object.
28066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28067         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
28068         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
28069         * NEWS: Update.
28071 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28072             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28074         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
28075         trailing byte check.
28077 2015-01-13  David S. Miller  <davem@davemloft.net>
28079         * include/signal.h (__sigreturn): Guard with __USE_MISC.
28081 2015-01-13  Roland McGrath  <roland@hack.frob.com>
28083         * login/logout.c (logout): Use memset rather than bzero.
28084         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
28085         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
28086         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
28087         (_gethtbyaddr): Likewise.
28088         * locale/programs/simple-hash.c (bcopy): Macro removed.
28090 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28092         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28093         Add strcmp-power8 object.
28094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28095         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
28096         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
28097         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
28098         __strcmp_power8 implementation.
28099         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
28100         * NEWS: Update.
28102         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28103         Add strncpy-power8 and stpncpy-power8 objects.
28104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28105         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
28106         implementations.
28107         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
28108         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
28109         __stpncpy_power8 implementation.
28110         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
28111         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
28112         __strncpy_power8 implementation.
28113         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
28114         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
28115         * NEWS: Update.
28117         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
28118         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
28119         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
28121         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28122         strncat-power8 object.
28123         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
28124         __strcat_power8 implementation.
28125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28126         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
28127         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
28128         optimized strcat for power8.
28130         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28131         strcpy-power8 and stpcpy-power8 objects.
28132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28133         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
28134         implementations.
28135         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
28136         multiarch stpcpy implementation for POWER8.
28137         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
28138         multiarch strcpy implementation for POWER8.
28139         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
28140         __strcpy_power8 function.
28141         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
28142         stpcpy for POWER8.
28143         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
28144         strcpy for POWER8.
28145         * NEWS: Update.
28147 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
28149         [BZ #16009]
28150         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
28151         weights and rules. Use do_xfrm_cached if data fits in cache,
28152         do_xfrm otherwise.  Moved former main loop to...
28153         * (do_xfrm_cached): New function.
28154         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
28155         find_idx, find_position and stack_push.
28156         * (find_idx): New function.
28157         * (find_position): Likewise.
28158         * localedata/sort-test.sh: Added test run for do_xfrm.
28159         * localedata/xfrm-test.c (main): Added command line option
28160         -nocache to run the test with strings that are too large for
28161         the STRXFRM cache.
28163 2015-01-13  Torvald Riegel  <triegel@redhat.com>
28165         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
28166         variable to lll_futex_wake call, not the value itself.
28168 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
28170         [BZ #17803]
28171         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
28172         twom64.  Adjust value to 0x1p-64L.
28173         (__scalblnl): Only return standard underflowing result for K <=
28174         -64 not K <= -63; adjust exponent for underflowing result by 64
28175         not 63.
28176         * math/libm-test.inc (scalbn_test_data): Add more tests.
28177         (scalbln_test_data): Likewise.
28179         [BZ #17834]
28180         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
28181         0x1p63L.
28182         (__scalblnl): Get new exponent of adjusted subnormal value from ES
28183         not HX.
28184         * math/libm-test.inc (scalbn_test_data): Add more tests.
28185         (scalbln_test_data): Likewise.
28187 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28188             Stefani Seibold  <stefani@seibold.net>
28190         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
28191         (sysdep_routines): Add dl-vdso here, ...
28192         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
28193         (sysdep_routines): ... not here.
28194         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
28195         fallback when vDSO is not presented.
28196         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28197         Define with libc_hidden_proto/libc_hidden_data_def definitions.
28198         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
28199         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
28200         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
28201         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
28202         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
28203         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
28204         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
28205         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
28206         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
28207         fallback configurable symbol when vDSO is not available.
28208         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
28209         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
28210         be able to redefine fallback symbol when vDSO is not available.
28211         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
28212         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
28214 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28216         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
28217         (TLS_INIT_TP): Add tm_capable initialization.
28218         (TLS_DEFINE_INIT_TP): Likewise.
28219         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
28220         TCB.
28221         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
28222         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
28223         calculation.
28224         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
28225         transactoion is lock elision is built and TCB tm_capable is set.
28226         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
28227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28228         (INTERNAL_SYSCALL_NCS): Likewise.
28229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28230         (INTERNAL_SYSCALL_NCS): Likewise.
28231         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
28233         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
28234         for powerpc.
28235         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28236         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
28237         and remove it for 32 bits case.
28238         [pthread_rwlock_t] (__rwelision): New field for lock elision.
28239         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
28240         initialization.
28241         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
28242         Disable lock elision with rdlocks if elision is not available.
28244         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
28245         (sysdep_routines): Add lock elision objects.
28246         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28247         [pthread_mutex_t] (__spins): Rework to add lock elision field.
28248         [pthread_mutex_t] (__elision): Add field.
28249         [__PTHREAD_SPINS]: Adjust to init lock elision field.
28250         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
28251         elision definitions for powerpc.
28252         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
28253         implementation of lock elision for powerpc.
28254         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
28255         implementation of timed lock elision for powerpc.
28256         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
28257         implementation of trylock with lock elision for powerpc.
28258         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
28259         implementaion of unlock for lock elision for powerpc.
28260         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
28261         automatic enable lock elision for mutexes.
28262         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
28263         transaction execution definitions for powerpc.
28264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
28265         definitions.
28266         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
28267         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
28268         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
28269         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
28270         * NEWS: Update.
28272 2015-01-09  Roland McGrath  <roland@hack.frob.com>
28274         * sysdeps/posix/shm-directory.c: Use <> rather than ""
28275         for #include of <shm-directory.h>.
28277 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
28279         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
28280         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
28282 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
28284         [BZ #17791]
28285         * NEWS: Mention bug fix.
28286         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
28287         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
28288         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
28290 2015-01-09  Torvald Riegel <triegel@redhat.com>
28292         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28294 2015-01-09  Torvald Riegel <triegel@redhat.com>
28296         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28298 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28300         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28301         pointer and cast to uintptr_t.
28303 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28305         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28306         removed.
28307         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28309 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28311         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28312         of 0.
28314 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28316         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28317         <nptl/pthreadP.h> instead.
28318         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28320         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28321         already defined.
28322         [__SIGRTMIN] (init): Function removed.
28323         [__SIGRTMIN] (initialized): Variable removed.
28324         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28325         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28326         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28327         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28328         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28329         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28330         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28331         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28332         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28333         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28334         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28335         * sysdeps/nptl/allocrtsig.c: New file.
28336         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28337         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28338         * sysdeps/generic/testrtsig.h: File removed.
28340         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28341         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28343         * nptl/nptl-init.c (pthread_functions): Conditionalize
28344         .ptr__nptl_setxid initialization on [SIGSETXID].
28346         * sysdeps/nptl/sys/procfs.h: New file.
28347         * nptl_db/Makefile (headers): Add it.
28348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28350         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28351         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28352         * nptl/pthread_attr_setaffinity.c: Include it.
28353         * nptl/pthread_setattr_default_np.c: Likewise.
28354         * nptl/check-cpuset.h: New file.
28356 2015-01-08  Richard Henderson  <rth@redhat.com>
28358         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28359         (CFLAGS-tst-execstack-prog.c): Likewise.
28360         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28362 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28363             Sandra Loosemore  <sandra@codesourcery.com>
28364             Andrew Jenner  <andrew@codesourcery.com>
28365             Joseph Myers  <joseph@codesourcery.com>
28366             Nathan Sidwell  <nathan@codesourcery.com>
28368         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28369         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28370         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28371         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28372         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28373         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28374         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28375         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28376         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28377         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28378         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28379         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28380         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28381         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28382         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28383         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28384         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28386 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28388         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28389         timespec struct member in syscall macro.
28390         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28391         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28392         first timeval struct member in syscall macro.
28393         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28395 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28397         [BZ #17748]
28398         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28399         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28400         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28401         __feupdateenv and define as weak alias of __feupdateenv.  Use
28402         libm_hidden_weak.
28403         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28404         libm_hidden_def.
28405         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28406         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28407         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28408         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28409         libm_hidden_def.
28410         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28411         __feupdateenv and define as weak alias of __feupdateenv.  Use
28412         libm_hidden_weak.
28413         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28414         libm_hidden_def.
28415         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28416         __feupdateenv and define as weak alias of __feupdateenv.  Use
28417         libm_hidden_weak.
28418         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28419         libm_hidden_def.
28420         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28421         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28422         (__feupdateenv): Likewise.
28423         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28424         __feupdateenv and define as weak alias of __feupdateenv.  Use
28425         libm_hidden_weak.
28426         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28427         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28428         libm_hidden_def.
28429         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28430         function.
28431         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28432         libm_hidden_def.
28433         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28434         __feupdateenv instead of feupdateenv.
28435         (default_libc_feupdateenv_test): Likewise.
28436         (libc_feresetround_ctx): Likewise.
28438 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28440         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28441         prototype.
28443 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28445         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28446         COLL_SYM in a couple of places to avoid uninitialized variable
28447         wanings on tilegx gcc 4.8.2.
28449 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28451         * sysdeps/aarch64/strcpy.S: New file.
28452         * sysdeps/aarch64/stpcpy.S: New file.
28453         * NEWS: Updated.
28455 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28457         * sysdeps/aarch64/strrchr.S: New file.
28458         * NEWS: Updated.
28460 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28462         [BZ #17658]
28463         * stdlib/setenv.c: Fix memory leak when setting large,
28464         duplicate string.
28466 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28468         [BZ #17273]
28469         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28470         and tabs from buffer before parsing fstab entry.
28471         * misc/tst-mntent.c (main): Add test for mount entry with
28472         trailing spaces and tabs.
28474 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28476         [BZ #17748]
28477         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28478         * math/fesetround.c (fesetround): Rename to __fesetround and
28479         define as weak alias of __fesetround.  Use libm_hidden_weak.
28480         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28481         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28482         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28483         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28484         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28485         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28486         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28487         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28488         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28489         __fesetround_inline.
28490         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28491         __fesetround_inline instead of __fesetround.
28492         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28493         __fesetround and define as weak alias of __fesetround.  Use
28494         libm_hidden_weak.  Call __fesetround_inline instead of
28495         __fesetround.
28496         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28497         __fesetround and define as weak alias of __fesetround.  Use
28498         libm_hidden_weak.
28499         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28500         Likewise.
28501         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28502         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28503         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28504         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28505         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28506         __fesetround and define as weak alias of __fesetround.  Use
28507         libm_hidden_weak.
28508         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28509         __fesetround instead of fesetround.
28510         (default_libc_feholdexcept_setround): Likewise.
28511         (libc_feholdsetround_ctx): Likewise.
28512         (libc_feholdsetround_noex_ctx): Likewise.
28514         [BZ #17748]
28515         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28516         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28517         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28518         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28519         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28520         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28521         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28522         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28523         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28524         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28525         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28526         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28527         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28528         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28529         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28530         libm_hidden_def.
28531         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28532         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28533         Likewise.
28534         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28535         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28536         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28537         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28538         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28539         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28540         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28541         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28542         __fesetenv instead of fesetenv.
28543         (libc_feresetround_noex_ctx): Likewise.
28544         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28545         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28546         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28547         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28548         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28549         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28550         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28551         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28552         (__feupdateenv): Likewise.
28553         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28554         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28555         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28556         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28558 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28560         [BZ #17806]
28561         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28562         addresses have been freed.
28564 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28566         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28567         and nservall.
28569 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28571         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28572         Clean up check_pf allocation pattern. addresses
28574 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28576         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28577         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28578         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28579         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28580         * nptl/pthread_join.c (pthread_join): Likewise.
28581         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28582         * sysdeps/posix/waitid.c (__waitid): Likewise.
28583         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28584         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28585         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28586         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28587         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28588         Likewise.
28589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28590         (__libc_pread64): Likewise.
28591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28592         (__libc_pwrite): Likewise.
28593         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28594         (__libc_pwrite64): Likewsie.
28595         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28596         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28597         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28598         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28599         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28600         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28601         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28603         Likewise.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28605         (__libc_pread64): Likewise.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28607         Likewise.
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28609         (__libc_pwrite64): Likewise.
28610         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28611         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28612         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28613         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28614         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28615         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28616         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28617         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28618         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28619         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28620         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28621         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28622         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28623         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28624         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28625         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28626         Likewise.
28628 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28630         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28631         (CFLAGS-test-double.c): Likewise.
28632         (CFLAGS-test-ldouble.c): Likewise.
28633         (CPPFLAGS-test-ifloat.c): Likewise.
28634         (CPPFLAGS-test-idouble.c): Likewise.
28635         (CPPFLAGS-test-ildoubl.c): Likewise.
28636         (CFLAGS-test-test-fenv.c): Remove variable.
28637         (CFLAGS-test-misc.c): Likewise.
28639 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28641         [BZ #17797]
28642         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28643         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28644         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28645         CLOCKS_PER_SEC == 1000000.
28646         * time/clocktest.c (main): Replace %ld with %jd and cast to
28647         intmax_t.
28649 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28651         * sysdeps/generic/unwind-resume.h: New file.
28652         * sysdeps/gnu/unwind-resume.c: Include it.
28653         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28654         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28655         argument list.
28656         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28657         global rather than static.
28658         (_Unwind_Resume): Update user.
28659         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28660         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28661         rather than static.  Add __attribute__ ((cold)).
28662         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28663         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28664         * sysdeps/arm/arm-unwind-resume.S: New file.
28665         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28666         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28667         * sysdeps/arm/Makefile [$(subdir) = csu]
28668         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28669         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28670         Add rt-arm-unwind-resume.
28671         [$(subdir) = nptl]
28672         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28673         Add pt-arm-unwind-resume.
28674         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28675         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28677 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28679         [BZ #17748]
28680         * include/fenv.h (__feholdexcept): Declare.  Use
28681         libm_hidden_proto.
28682         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28683         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28684         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28685         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28686         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28687         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28688         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28689         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28690         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28691         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28692         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28693         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28694         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28695         (feholdexcept): Likewise.
28696         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28697         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28698         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28699         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28700         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28701         __feholdexcept instead of feholdexcept.
28702         (default_libc_feholdexcept_setround): Likewise.
28704 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28706         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28707         to avoid using stl/str to align destination.
28709 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28711         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28713 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28715         [BZ #17796]
28716         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28717         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28718         Define as weak alias not strong alias.
28720 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28722         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28723         bltzal with addiupc.
28724         (RTLD_START): Ditto.
28726 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28728         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28729         for __vdso_* functions in declarations.
28730         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28731         definitions.
28732         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28733         INTERNAL_VSYSCALL): Use struct return types to check for error.
28735         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28736         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28737         function with cast from llround().
28738         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28739         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28740         Define.
28742 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28744         [BZ #17793]
28745         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28746         Define as weak alias not strong alias.
28748         [BZ #17635]
28749         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28750         ...
28751         * ctype/ctype-extn.c: ... here.
28752         (__isblank_l): Move to ...
28753         * ctype/ctype-c99_l.c: ... here.  New file.
28754         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28755         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28756         Remove variable.
28757         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28758         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28759         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28760         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28761         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28763         [BZ #17777]
28764         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28765         (posix_fadvise64): Define as weak alias not strong alias.
28766         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28767         (posix_fallocate64): Likewise.
28768         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28769         Remove variable.
28770         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28771         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28772         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28773         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28774         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28776 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28778         [BZ #16191]
28779         * NEWS: Mention bug fix.
28780         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28781         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28782         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28783         (HOST_STACK_END_ADDR): Likewise.
28785 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28787         [BZ #17748]
28788         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28789         * math/fegetround.c (fegetround): Rename to __fegetround and
28790         define as weak alias of __fegetround.  Use libm_hidden_weak.
28791         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28792         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28793         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28794         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28795         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28796         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28797         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28798         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28799         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28800         Undefine after rather than before function definition; use
28801         parentheses around function name in definition.
28802         (__fegetround): Also undefine macro after function definition.
28803         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28804         __fegetround and define as weak alias of __fegetround.  Use
28805         libm_hidden_weak.  Do not undefine as macro.
28806         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28807         Likewise.
28808         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28809         __fegetround and define as weak alias of __fegetround.  Use
28810         libm_hidden_weak.
28811         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28812         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28813         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28814         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28815         __fegetround and define as weak alias of __fegetround.  Use
28816         libm_hidden_weak.
28817         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28818         __fegetround instead of fegetround.
28820         [BZ #17782]
28821         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28822         Condition macro definition on [__USE_MISC].
28824         [BZ #17781]
28825         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28826         (struct sigaction): Change type of sa_flags field to int.
28828         [BZ #17780]
28829         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28830         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28831         __glibc_reserved0.
28833         * nptl/version.c (banner): Use single year in copyright notice.
28835         * NEWS: Update copyright dates.
28836         * catgets/gencat.c (print_version): Likewise.
28837         * csu/version.c (banner): Likewise.
28838         * debug/catchsegv.sh: Likewise.
28839         * debug/pcprofiledump.c (print_version): Likewise.
28840         * debug/xtrace.sh (do_version): Likewise.
28841         * elf/ldconfig.c (print_version): Likewise.
28842         * elf/ldd.bash.in: Likewise.
28843         * elf/pldd.c (print_version): Likewise.
28844         * elf/sotruss.sh: Likewise.
28845         * elf/sprof.c (print_version): Likewise.
28846         * iconv/iconv_prog.c (print_version): Likewise.
28847         * iconv/iconvconfig.c (print_version): Likewise.
28848         * locale/programs/locale.c (print_version): Likewise.
28849         * locale/programs/localedef.c (print_version): Likewise.
28850         * login/programs/pt_chown.c (print_version): Likewise.
28851         * malloc/memusage.sh (do_version): Likewise.
28852         * malloc/memusagestat.c (print_version): Likewise.
28853         * malloc/mtrace.pl: Likewise.
28854         * manual/libc.texinfo: Likewise.
28855         * nptl/version.c (banner): Likewise.
28856         * nscd/nscd.c (print_version): Likewise.
28857         * nss/getent.c (print_version): Likewise.
28858         * nss/makedb.c (print_version): Likewise.
28859         * posix/getconf.c (main): Likewise.
28860         * scripts/test-installation.pl: Likewise.
28861         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28863 2015-01-02  Will Newton  <will.newton@linaro.org>
28865         * sysdeps/arm/armv7/configure: Removed.
28866         * sysdeps/arm/armv7/configure.ac: Likewise.
28868 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28870         * All files with FSF copyright notices: Update copyright dates
28871         using scripts/update-copyrights.
28872         * intl/plural.c: Regenerated.
28873         * locale/programs/charmap-kw.h: Likewise.
28874         * locale/programs/locfile-kw.h: Likewise.
28876 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28878         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28880 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28882         [BZ #17748]
28883         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28884         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28885         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28886         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28887         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28888         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28889         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28890         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28891         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28892         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28893         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28894         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28895         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28896         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28897         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28898         libm_hidden_def.
28899         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28900         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28901         Likewise.
28902         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28903         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28904         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28905         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28906         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28907         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28908         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28909         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28910         __fegetenv instead of fegetenv.
28911         (libc_feholdsetround_noex_ctx): Likewise.
28913 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28915         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28916         (Elf_MIPS_ABIFlags_v0): New structure.
28917         (EF_MIPS_FP64): Define.
28918         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28919         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28920         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28921         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28922         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28923         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28924         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28925         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28926         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28927         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28928         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28929         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28930         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28931         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28932         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28933         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28934         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28935         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28936         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28937         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28938         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28939         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28940         field.
28941         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28942         EF_MIPS_FP64.
28943         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28944         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28945         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28946         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28947         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28948         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28949         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28950         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28951         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28952         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28953         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28954         record the current FP ABI extension.
28955         (mips-mode-switch): Define to show if kernel headers support mode
28956         switching.
28957         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28958         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28959         supported SYSV ABI version to 3.
28960         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28961         feature.
28963 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28964             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28966         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28967         path.
28968         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28970 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28972         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28973         __fegetround and redefine to call __fegetround.  Remove condition
28974         on [!__NO_MATH_INLINES].
28975         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28976         function.
28977         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28978         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28979         Remove macro.
28980         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28981         instead of <fenv_libc.h>.
28982         (__llrintl): Call fegetround instead of __fegetround.
28983         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28984         instead of <fenv_libc.h>.
28985         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28986         (__lrintl): Call fegetround instead of __fegetround.
28987         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28988         instead of <fenv_libc.h>.
28989         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28990         (__rintl): Call fegetround instead of __fegetround.
28992 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28994         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28995         arrays.
28997 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28999         [BZ #17775]
29000         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
29001         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
29002         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
29004 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29006         * sysdeps/i386/tls-macros.h: Include <features.h>.
29007         (TLS_LE): Use non-PIC version for GCC >= 5.0.
29008         (TLS_IE): Likewise.
29009         (TLS_LD): Likewise.
29010         (TLS_GD): Likewise.
29011         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
29012         define for GCC >= 5.0.
29014 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
29016         * math/test-fenv.c (test_single_exception, set_single_exc,
29017         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
29018         feexcp_mask_test, feenable_test, fe_single_test): Add
29019         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
29020         case where they are not used.
29021         * math/libm-test.inc: Likewise.
29022         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
29023         unused in the absence of FP rounding/exception support.
29024         * stdio-common/tst-printf-round.c: Likewise.
29025         * stdlib/tst-strtod-round.c: Likewise.
29026         * stdlib/tst-strtod-underflow.c: Likewise.
29028 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
29030         [BZ #17723]
29031         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
29032         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
29033         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29034         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29035         libm_hidden_weak.
29036         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
29037         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29038         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
29039         libm_hidden_def.
29040         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29041         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29042         libm_hidden_weak.
29043         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
29044         Likewise.
29045         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
29046         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29047         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29048         libm_hidden_weak.
29049         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29050         libm_hidden_def.
29051         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29052         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
29053         (__feraiseexcept): Likewise.
29054         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29055         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29056         libm_hidden_weak.
29057         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29058         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29059         libm_hidden_def.
29060         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
29061         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
29062         Use libm_hidden_def.
29063         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
29064         libm_hidden_def.
29065         (feraiseexcept): Define as weak not strong alias.  Use
29066         libm_hidden_weak.
29067         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
29068         New inline function.  Factored out of ...
29069         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
29070         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
29071         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
29072         feraiseexcept.
29073         * math/w_acos.c (__acos): Likewise.
29074         * math/w_asin.c (__asin): Likewise.
29075         * math/w_ilogb.c (__ilogb): Likewise.
29076         * math/w_j0.c (y0): Likewise.
29077         * math/w_j1.c (y1): Likewise.
29078         * math/w_jn.c (yn): Likewise.
29079         * math/w_log.c (__log): Likewise.
29080         * math/w_log10.c (__log10): Likewise.
29081         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
29082         * sysdeps/aarch64/fpu/math_private.h
29083         (libc_feupdateenv_test_aarch64): Likewise.
29084         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29085         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
29086         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
29087         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29088         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29089         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29090         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
29091         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29092         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29093         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29095 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
29097         [BZ #17732]
29098         * io/test-utime.c (main): Replace %ld with %jd and cast to
29099         intmax_t.
29100         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
29101         * nptl/tst-mutex5.c: Include <stdint.h>.
29102         (do_test): Replace %ld with %jd and cast to intmax_t.
29103         * posix/tst-regex.c (run_test): Likewise.
29104         (run_test_backwards): Likewise.
29105         * rt/tst-clock.c: Include <stdint.h>.
29106         (clock_test): Replace %ld with %jd and cast to intmax_t.
29107         * rt/tst-cpuclock1.c: Include <stdint.h>.
29108         (do_test): Replace %lu with %ju and cast to uintmax_t.
29109         * rt/tst-cpuclock2.c: Include <stdint.h>.
29110         (do_test): Replace %lu with %ju and cast to uintmax_t.
29111         * rt/tst-mqueue1.c: Include <stdint.h>.
29112         (check_attrs): Replace %ld with %jd and cast to intmax_t.
29113         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
29114         intmax_t.
29115         * rt/tst-mqueue4.c (do_test): Likewise.
29116         * rt/tst-timer4.c: Include <stdint.h>.
29117         (check_ts): Replace %ld with %jd and cast to intmax_t.
29118         (do_test): Likewise.
29119         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
29120         and cast to intmax_t.
29121         * sysdeps/pthread/tst-timer.c (main): Likewise.
29122         * time/clocktest.c (main): Likewise.
29123         * time/tst-posixtz.c (do_test): Likewise.
29124         * timezone/tst-timezone.c (main): Likewise.
29126 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29127             H.J. Lu  <hongjiu.lu@intel.com>
29129         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
29130         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29131         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
29132         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
29133         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
29134         version if bit_Fast_Unaligned_Load is set.
29135         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29136         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29137         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29138         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29139         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29140         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29141         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29142         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
29143         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
29144         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
29145         to 4.
29146         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
29147         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
29148         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
29149         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
29151 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
29153         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
29154         instead of #if to avoid a Wundef warning.
29155         * stdlib/tst-limits.c (do_test): Likewise.
29157         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
29158         parallel other exception macros.
29159         (fegetenv): Convert from macro to extern inline so that it applies
29160         retroactively to inline functions already seen by the compiler.
29161         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
29163         * posix/Makefile (before-compile): Use $(objpfx) for
29164         posix-conf-vars-def.h.
29166 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29168         * posix/getconf.c (main): Use size_t for type of I.
29169         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
29170         NSPEC.
29172         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
29173         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
29174         * posix/posix-envs.def: Likewise.
29175         * sysdeps/posix/sysconf.c: Likewise.
29176         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
29177         (specs): Remove array.
29178         * scripts/gen-posix-conf-vars.awk: Support generation of specs
29179         array.
29181         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
29182         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
29183         (__sysconf): Use CONF_IS_* macros.
29185         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
29186         ($(objpfx)posix-conf-vars-def.h): New target.
29187         * posix/posix-conf-vars.list: New file.
29188         * posix/posix-conf-vars.h: New file.
29189         * posix/confstr.c: Include posix-conf-vars.h.
29190         (confstr): Use CONF_IS_* macros.
29191         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
29192         CONF_IS_* macros.
29193         * scripts/gen-posix-conf-vars.awk: New file.
29195 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
29197         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
29198         fegetround): Add no-op macros to avoid linknamespace issues.
29200         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
29201         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
29203         * sysdeps/unix/sysv/linux/tile/sysdep.h
29204         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
29205         assembly-specific section to avoid a redefinition warning.
29207         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
29208         long before casting to pointer to avoid a cast warning.
29210 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
29212         * sysdeps/tile/tilegx/Implies: New file.
29214 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
29216         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
29218 2014-12-23  Florian Weimer  <fweimer@redhat.com>
29220         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
29222 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29224         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
29225         not define.
29226         * sysdeps/unix/sysv/linux/utimes.c: Do not include
29227         <kernel-features.h>.
29228         (__utimes) [__NR_utimes]: Make code unconditional.
29229         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
29230         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29231         (__ASSUME_UTIMES): Do not undefine.
29232         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29233         (__ASSUME_UTIMES): Likewise.
29234         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29235         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
29236         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
29237         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
29239 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29241         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
29243 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
29245         [BZ #17747]
29246         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
29247         alias to weak alias for j0l, y0l.
29248         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
29249         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
29251         [BZ #17746]
29252         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
29253         conversion.
29255 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29257         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
29258         to zero if not already defined.
29260 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29262         [BZ #17724]
29263         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
29264         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
29265         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
29266         (char *) casts added.
29267         * sysdeps/ieee754/k_standardf.c: New file.
29268         * sysdeps/ieee754/k_standardl.c: Likewise.
29269         * math/Makefile (libm-support): Remove k_standard.
29270         (libm-calls): Add k_standard.
29272 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29274         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29275         Optimize to avoid an unnecessary FPCR read.
29277 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29279         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29280         Optimize to reduce FPCR/FPSR accesses.
29282 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29284         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
29285         Call libc_fetestexcept_aarch64.
29287 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29289         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
29290         Call libc_fesetround_aarch64.
29292 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29294         [BZ #17733]
29295         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29296         (__bind): Do not define as weak alias.
29297         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29298         define.
29299         (__getsockname): Do not define as weak alias.
29301 2014-12-22  Will Newton  <will.newton@linaro.org>
29303         * manual/install.texi: Document that we require bison 2.7
29304         or above.
29305         * INSTALL: Regenerate.
29306         * configure.ac: Use AC_CHECK_PROG_VER instead of
29307         AC_PATH_PROG when checking for bison and check for
29308         version 2.7 or above.
29309         * configure: Regenerate.
29311 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29313         [BZ #17745]
29314         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29315         * sysdeps/tile/ffsll.c (ffsll): To here.
29317         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29319 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29321         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29322         if not defined.
29323         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29324         definition.
29325         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29326         hidden ___tls_get_addr.
29327         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29328         hidden __tls_get_addr.
29329         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29330         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29331         Likewise.
29333 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29335         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29336         _dl_init call.
29338 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29340         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29341         from "call _dl_init@PLT".
29342         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29344 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29346         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29347         guarantees.
29349 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
29351         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29353 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29355         [BZ #17744]
29356         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29357         strnlen.
29359 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29361         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29362         of multu on MIPSr6.
29363         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29364         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29365         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29366         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29367         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29369 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29371         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29372         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29373         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29374         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29375         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29376         mips32r6/mips64r6.
29377         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29379 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29381         * string/strncat.c (STRNCAT): Simplify implementation.
29383 2014-12-19  David S. Miller  <davem@davemloft.net>
29385         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29386         access the quad as both a long double and as a series of 4 words.
29388         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29389         link_map->l_info array access.
29391 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29393         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29395         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29396         * math/atest-exp2.c (TIMEOUT): Likewise.
29397         * math/atest-sincos.c (TIMEOUT): Likewise.
29399 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29401         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29402         -Wno-error with -fno-builtin-lround.
29404 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29406         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29407         Contains futex constants and functions moved over from ...
29408         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29409         <lowlevellock-futex.h>.
29410         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29411         (lll_timedwait_tid): Add comments and parentheses around macro
29412         arguments.
29414 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29416         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29417         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29418         (__lll_private_flag): Remove.
29419         (lll_futex_wait): Likewise.
29420         (lll_futex_timed_wait): Likewise.
29421         (lll_futex_wake): Likewise.
29422         (lll_futex_requeue): Likewise.
29423         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29424         (__lll_timedwait_tid): Spell out argument names.
29425         (lll_timedwait_tid): Add comments and parentheses around macro
29426         arguments.
29427         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29428         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29430 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29432         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29433         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29434         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29435         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29436         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29437         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29438         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29439         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29440         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29441         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29442         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29443         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29444         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29445         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29446         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29447         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29448         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29449         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29450         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29452 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29454         * sysdeps/x86_64/x32/Makefile: New file.
29456 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29458         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29459         1L with (mp_limb_t) 1.
29461 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29463         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29464         * nptl/libc_pthread_init.c: ... here.
29465         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29466         * nptl/register-atfork.c: ... here.
29468         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29469         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29470         Use assert_perror to check its return value.
29471         (__gai_create_helper_thread): Likewise.
29473         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29475         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29477 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29479         [BZ #17725]
29480         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29481         __profil_counter.
29482         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29483         Likewise.
29484         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29485         Likewise.
29486         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29487         Likewise.
29488         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29489         (profil_counter): Likewise.
29490         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29491         (profil_counter): Likewise.
29492         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29493         Likewise.
29494         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29495         Likewise.
29496         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29497         (profil_counter): Likewise.
29498         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29499         Likewise.
29500         [!__profil_counter] (profil_counter): Define as weak alias of
29501         __profil_counter.
29502         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29503         (profil_counter): Rename to __profil_counter.
29504         [!__profil_counter] (profil_counter): Define as weak alias of
29505         __profil_counter.
29506         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29507         (profil_counter): Rename to __profil_counter.
29508         [!__profil_counter] (profil_counter): Define as weak alias of
29509         __profil_counter.
29510         * sysdeps/posix/profil.c: Update comment referring to
29511         profil_counter.
29512         (__profil): Use __profil_counter instead of profil_counter.
29513         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29514         __profil_counter.  Use __profil_counter_ushort and
29515         __profil_counter_uint in definitions.
29516         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29517         instead of profil_counter_uint and profil_counter_ushort.
29519         [BZ #17722]
29520         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29521         define as weak alias of __inet_makeaddr.
29522         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29523         as weak alias of __inet_addr.
29524         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29525         as weak alias of __inet_pton.  Use libc_hidden_weak.
29526         * include/arpa/inet.h (__inet_pton): Declare.  Use
29527         libc_hidden_proto.
29528         (inet_makeaddr): Don't use libc_hidden_proto.
29529         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29530         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29531         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29532         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29533         Remove variable.
29534         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29535         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29537 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29539         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29541 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29543         * stdio-common/bug-vfprintf-nargs.c (do_test):
29544         Cast value to intptr_t to avoid format warning
29545         for usage with PRIdPTR printing macro.
29547 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29549         * libio/tst-widetext.c (do_test):
29550         Use format type %td instead of %Zd for ptrdiff_t
29551         in order to avoid format warning.
29553 2014-12-17  Andreas Schwab  <schwab@suse.de>
29555         * nscd/mem.c (gc): Add size_t cast to match printf format.
29557 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29559         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29560         (init): Apply PTR_MANGLE to pointers before storing them.
29561         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29562         before using them.
29564 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29566         [BZ #17719]
29567         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29568         define as weak alias of __memrchr.
29569         (__memrchr): Do not define as strong alias of memrchr.
29570         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29571         Remove variable.
29572         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29573         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29574         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29576         [BZ #17717]
29577         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29578         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29579         (if_indextoname): Rename to __if_indextoname and define as weak
29580         alias of __if_indextoname.  Use libc_hidden_weak.
29581         (if_freenameindex): Rename to __if_freenameindex and define as
29582         weak alias of __if_freenameindex.
29583         (if_nameindex): Rename to __if_nameindex and define as weak alias
29584         of __if_nameindex.
29585         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29586         __if_nametoindex and define as weak alias of __if_nametoindex.
29587         Use libc_hidden_weak.
29588         (if_freenameindex): Rename to __if_freenameindex and define as
29589         weak alias of __if_freenameindex.
29590         (if_nameindex): Rename to __if_nameindex and define as weak alias
29591         of __if_nameindex.
29592         (if_indextoname): Rename to __if_indextoname and define as weak
29593         alias of __if_indextoname.  Use libc_hidden_weak.
29594         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29595         __if_nametoindex and define as weak alias of __if_nametoindex.
29596         Use libc_hidden_weak.
29597         (if_freenameindex): Rename to __if_freenameindex and define as
29598         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29599         (if_nameindex_netlink): Use __if_freenameindex instead of
29600         if_freenameindex.
29601         (if_nameindex): Rename to __if_nameindex and define as weak alias
29602         of __if_nameindex.  Use libc_hidden_weak.
29603         (if_indextoname): Rename to __if_indextoname and define as weak
29604         alias of __if_indextoname.  Use libc_hidden_weak.
29605         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29606         libc_hidden_proto.
29607         [!_ISOMAC] (__if_freenameindex): Likewise.
29608         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29609         if_nametoindex.
29610         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29611         variable.
29612         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29613         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29614         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29615         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29616         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29617         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29618         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29620         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29621         Remove variable.
29622         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29623         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29625 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29627         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29628         subscript above bounds'
29630         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29631         bounds.
29633 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29635         * libio/tst-fopenloc.c: Use test-skeleton.c.
29637         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29638         (entry): Rename to ITEM.
29639         (do_test, comp): Adjust.
29641         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29643 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29645         * string/tester.c: Include <libc-internal.h>.
29646         (test_memset): Ignore -Wmemset-transposed-args.
29648 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29650         * misc/tst-mntent2.c (do_test): Fix warning.
29652 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29654         * elf/tst-unique4lib.cc(a): Mark as used.
29656 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29658         [BZ #17630]
29659         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29660         names.
29662 2014-12-16  Allan McRae  <allan@archlinux.org>
29664         * stdio-common/Makefile (tests): Re-add bug26.
29666 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29668         [BZ #17657]
29669         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29670         static array.
29672 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29674         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29675         (__lll_lock_wait): Likewise.
29676         (__lll_timedlock_wait): Likewise.
29677         (__lll_timedwait_tid): Likewise.
29678         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29679         (__lll_robust_timedlock_wait): Likewise.
29680         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29681         (lll_cond_trylock): Likewise.
29682         (__lll_lock): Likewise.
29683         (__lll_robust_lock): Likewise.
29684         (__lll_cond_lock): Likewise.
29685         (lll_robust_cond_lock): Likewise.
29686         (__lll_timedlock): Likewise.
29687         (__lll_robust_timedlock): Likewise.
29688         (__lll_unlock): Likewise.
29689         (__lll_robust_unlock): Likewise.
29690         (lll_wait_tid): Likewise.
29691         (lll_timedwait_tid): Likewise.
29693 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29695         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29697 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29699         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29701 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29703         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29704         * stdio-common/tst-sprintf.c: Likewise.
29706 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29708         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29710 2014-12-15  Jeff Law  <law@redhat.com>
29712         [BZ #16617]
29713         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29714         on the heap.  (CVE-2012-3406)
29715         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29716         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29717         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29719 2014-12-15  Will Newton  <will.newton@linaro.org>
29721         * manual/install.texi: Bump required version of texinfo
29722         to 4.7 from 4.5.
29723         * INSTALL: Regenerated.
29724         * configure.ac: Check for makeinfo version 4.7 and above.
29725         * configure: Regenerated.
29727 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29729         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29730         PREFIX, string constant to insert between directory and name.
29731         * sysdeps/posix/shm_open.c: Update caller.
29732         * sysdeps/posix/shm_unlink.c: Likewise.
29733         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29734         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29735         (SEM_SHM_PREFIX): New macro.
29736         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29737         [$(have-thread-library) = no].
29738         * nptl/Makefile (libpthread-routines): Add shm-directory.
29739         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29740         * sysdeps/nptl/shm-directory.h: New file.
29741         * sysdeps/posix/shm-directory.c
29742         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29743         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29744         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29745         INTERNAL_SYSCALL.
29746         (__where_is_shmfs): Function removed.
29747         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29748         Variables removed.
29749         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29750         Use SHM_GET_NAME.
29751         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29753         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29754         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29755         unconditional for use inside libpthread.
29756         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29758 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29760         * nptl/pthread_getaffinity.c: New file.
29761         * nptl/pthread_setaffinity.c: New file.
29762         * nptl/pthread_getname.c: New file.
29763         * nptl/pthread_setname.c: New file.
29765         * nptl/pthread_create.c (START_THREAD_DEFN)
29766         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29768 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29769             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29771         * resolv/res_send.c (send_vc): Disable warning resplen may
29772         be used uninitialized.
29774 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29776         * nptl/tst-mutex6.c
29777         (ATTR_NULL): New define checks ATTR against NULL.
29778         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29779         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29781 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29783         [BZ #17581]
29784         * malloc/hooks.c
29785         (mem2mem_check): Revert my previous change.
29786         (malloc_check_get_size): Revert my previous change.
29787         (mem2chunk_check): Revert my previous change.
29789 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29791         * sysdeps/posix/shm-directory.c: New file.
29792         * sysdeps/posix/shm-directory.h: New file.
29793         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29794         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29795         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29796         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29797         Transmute EPERM to EACCES.
29798         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29799         from ...
29800         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29801         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29803 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29805         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29806         pointer and cast to uintptr_t.
29807         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29808         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29809         Add cast to avoid warning.
29810         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29812 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29814         * nptl/semaphore.h: Move to ...
29815         * sysdeps/pthread/semaphore.h: ... here.
29816         * Makefile (installed-headers): Change nptl/semaphore.h to
29817         sysdeps/pthread/semaphore.h.
29819 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29821         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29822         generated error format strings.
29824         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29825         -Wformat-extra-args warnings for scanf formats.
29826         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29827         test of zero-length format (duh).
29828         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29829         corner-case scanf format test.
29830         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29831         generated fprintf format string.
29832         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29833         corner-case sprintf format tests.
29834         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29835         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29836         -Wformat-extra-args warnings throughout.
29837         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29838         (CFLAGS-scanf4.c): Likewise.
29839         (CFLAGS-scanf7.c): Likewise.
29840         (CFLAGS-tst-sprintf.c): Likewise.
29841         (CFLAGS-tst-printf.c): Likewise.
29842         (CFLAGS-tst-printfsz.c): Likewise.
29844 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29846         * include/cpio.h: New file.
29847         * include/fmtmsg.h: Likewise.
29849         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29850         corresponding format argument to size_t.
29851         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29852         arguments.
29853         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29854         corresponding format argument to size_t.
29855         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29856         arguments.
29857         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29858         corresponding format argument to size_t.
29859         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29860         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29861         (CFLAGS-tst-mbswcs2.c): Likewise.
29862         (CFLAGS-tst-mbswcs3.c): Likewise.
29863         (CFLAGS-tst-mbswcs4.c): Likewise.
29864         (CFLAGS-tst-mbswcs5.c): Likewise.
29865         (CFLAGS-tst-trans.c): Likewise.
29867 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29869         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29870         rather than assuming they won't contain any '%'s.
29872 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29874         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29875         inhibit_loop_to_libcall to avoid recursive calls.
29876         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29877         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29879 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29881         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29882         prototype.
29884 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29886         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29887         integer value instead of boolean.
29889 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29891         * malloc/malloc.c: Fix powerof2 check.
29893 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29895         * locale/programs/locfile.h (maybe_swap_uint32):
29896         Remove inline and add unused attribute.
29898 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29900         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29901         Truncating assembler expression to a .long expression.
29903 2014-12-11  Andreas Schwab  <schwab@suse.de>
29905         * elf/rtld.c (struct map_args): Constify str member.
29906         (do_preload): Constify fname argument.
29908 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29910         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29911         constants definition.
29913 2014-12-11  Andreas Schwab  <schwab@suse.de>
29915         [BZ #16657]
29916         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29917         FORCE_ELISION instead of DO_ELISION.
29918         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29919         Remove.
29920         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29921         Likewise.
29923         * iconvdata/gconv-modules: Remove duplicate entry.
29925 2014-12-11  Will Newton  <will.newton@linaro.org>
29927         Merge gettext 0.19.3 into intl/.
29929         This involves a number of cosmetic changes to comments
29930         and ANSI function definitions and prototypes throughout
29931         all the files. The gettext copyright header is used but
29932         with the date ranges taken from the glibc copy.
29934         * NEWS: Add gettext merge to 2.21.
29935         * intl/bindtextdom.c: Switch to gettext copyright.
29936         Use ANSI definitions and prototypes.
29937         Use gl_* locking primitives rather than __libc_* ones.
29938         Use __builtin_expect rather than __glibc_likely/unlikely.
29939         * intl/dcgettext.c: Switch to gettext copyright.
29940         Use ANSI definitions and prototypes.
29941         * intl/dcigettext.c: Switch to gettext copyright.
29942         Use ANSI definitions and prototypes.
29943         (INTDIV0_RAISES_SIGFPE): New define.
29944         Use gl_* locking primitives rather than __libc_* ones.
29945         Include eval-plural.h instead of plural-eval.c.
29946         Use __builtin_expect rather than __glibc_likely/unlikely.
29947         * intl/dcngettext.c: Switch to gettext copyright.
29948         Use ANSI definitions and prototypes.
29949         * intl/dgettext.c: Likewise.
29950         * intl/dngettext.c: Likewise.
29951         * intl/plural-eval.c: Renamed to...
29952         * intl/eval-plural.h: ...this.
29953         * intl/explodename.c: Switch to gettext copyright.
29954         Use ANSI definitions and prototypes.
29955         (_nl_explode_name): Use strchr instead of __rawmemchr.
29956         * intl/finddomain.c: Switch to gettext copyright.
29957         Use ANSI definitions and prototypes.
29958         Use gl_* locking primitives rather than __libc_* ones.
29959         (_nl_find_domain): Use malloc rather than alloca for
29960         allocation of temporary locale name.
29961         * intl/gettext.c: Switch to gettext copyright.
29962         Use ANSI definitions and prototypes.
29963         * intl/gettextP.h: Switch to gettext copyright.
29964         Use ANSI definitions and prototypes.
29965         Use gl_* locking primitives rather than __libc_* ones.
29966         * intl/gmo.h: Switch to gettext copyright.
29967         (struct sysdep_string): Move struct segment_pair outside of
29968         struct definition.
29969         * intl/hash-string.c: Use ANSI definitions and prototypes.
29970         * intl/hash-string.h: Switch to gettext copyright.
29971         Use ANSI definitions and prototypes.
29972         * intl/l10nflist.c: Switch to gettext copyright.
29973         Use ANSI definitions and prototypes.
29974         (_nl_normalize_codeset): Avoid integer overflow.
29975         * intl/loadinfo.h: Switch to gettext copyright.
29976         Use ANSI definitions and prototypes.
29977         (LIBINTL_DLL_EXPORTED): New define.
29978         (PATH_SEPARATOR): New define.
29979         * intl/loadmsgcat.c: Switch to gettext copyright.
29980         * intl/localealias.c: Switch to gettext copyright.
29981         Use ANSI definitions and prototypes.
29982         (_nl_expand_alias): Use PATH_SEPARATOR.
29983         * intl/ngettext.c: Switch to gettext copyright.
29984         Use ANSI definitions and prototypes.
29985         * intl/plural-exp.c: Likewise.
29986         * intl/plural-exp.h: Switch to gettext copyright.
29987         Use ANSI definitions and prototypes.
29988         (struct expression): Move definition of enum operator outside
29989         of struct definition.
29990         * intl/plural.c: Regenerate.
29991         * intl/plural.y: Switch to gettext copyright.
29992         Use ANSI definitions and prototypes.
29993         Port to bison 3.0.
29994         * intl/textdomain.c: Switch to gettext copyright.
29995         Use ANSI definitions and prototypes.
29996         Use gl_* locking primitives rather than __libc_* ones.
29998 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
30000         * debug/warning-nop.c: Add used atrribute.
30002 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30004         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
30006         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
30007         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
30008         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
30010 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30011             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30013         [BZ #17634]
30014         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
30015         Undefine after defining function.  Define as weak alias of
30016         __wcschr.  Use libc_hidden_weak.
30017         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
30018         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
30019         (libc_hidden_def): Also define __GI___wcschr alias.
30020         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
30021         __wcschr and define as weak alias of __wcschr.
30022         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
30023         __wcschr.
30024         [!WCSCHR] (DEFAULT_WCSCHR): Define.
30025         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
30026         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
30027         libc_hidden_weak.  Do not use libc_hidden_def.
30028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
30029         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
30030         __GI___wcschr alias.
30031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
30032         [IS_IN (libc)] (wcschr): Define as macro expanding to
30033         __redirect_wcschr.
30034         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
30035         [IS_IN (libc)] (__wcschr_power6): Likewise.
30036         [IS_IN (libc)] (__wcschr_power7): Likewise.
30037         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
30038         instead of wcschr.
30039         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
30040         __libc_wcschr.
30041         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
30042         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
30043         __wcschr and define as weak alias of __wcschr.  Use
30044         libc_hidden_builtin_def.
30045         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
30046         as weak alias of __wcschr.  Use libc_hidden_weak.
30047         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
30048         wcschr.
30049         * time/era.c (_nl_init_era_entries): Likewise.
30050         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
30051         variable.
30052         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30053         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30055 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30057         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
30058         format for long int variable.
30060 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
30062         [BZ #10672]
30063         * manual/search.texi: (Array Sort Function): Remove claim how to make
30064         qsort stable.
30066 2014-12-10  Andreas Schwab  <schwab@suse.de>
30068         [BZ #12847]
30069         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
30070         user-controlled locks.
30072 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
30074         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
30075         register.
30077 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30079         * configure.ac (--disable-werror): New configure option.
30080         (enable_werror): New AC_SUBST.
30081         * configure: Regenerated.
30082         * config.make.in (enable-werror): New variable.
30083         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
30084         -Wno-error=undef.
30085         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
30086         * manual/install.texi (Configuring and compiling): Document
30087         --disable-werror.
30088         * INSTALL: Regenerated.
30089         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
30090         (CFLAGS-tst-chk2.c): Likewise.
30091         (CFLAGS-tst-chk3.c): Likewise.
30092         (CFLAGS-tst-chk4.cc): Likewise.
30093         (CFLAGS-tst-chk5.cc): Likewise.
30094         (CFLAGS-tst-chk6.cc): Likewise.
30095         (CFLAGS-tst-lfschk1.c): Likewise.
30096         (CFLAGS-tst-lfschk2.c): Likewise.
30097         (CFLAGS-tst-lfschk3.c): Likewise.
30098         (CFLAGS-tst-lfschk4.cc): Likewise.
30099         (CFLAGS-tst-lfschk5.cc): Likewise.
30100         (CFLAGS-tst-lfschk6.cc): Likewise.
30102         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
30103         (main): Disable -Wdeprecated-declarations around calls to
30104         register_printf_function.
30106         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
30107         (do_test): Disable -Wdiv-by-zero around some calls to
30108         fwrite_unlocked and fread_unlocked.
30110         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
30111         (DIAG_POP_NEEDS_COMMENT): Likewise.
30112         (_DIAG_STR1): Likewise.
30113         (_DIAG_STR): Likewise.
30114         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
30115         * stdio-common/bug21.c: Include <libc-internal.h>.
30116         (do_test): Disable -Wformat around call to sscanf.
30117         * stdio-common/scanf14.c: Include <libc-internal.h>.
30118         (main): Disable -Wformat around some calls to scanf functions.
30120 2014-12-09  Torvald Riegel  <triegel@redhat.com>
30122         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
30124 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30126         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
30127         stack variable alignment.
30129 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
30131         [BZ #17682]
30132         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
30133         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
30134         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
30135         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
30136         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
30137         __getrlimit instead of getrlimit.
30138         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
30139         __gettimeofday instead of gettimeofday.
30140         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30141         Likewise.
30142         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30143         Likewise.
30144         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30145         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
30146         Remove variable.
30147         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30148         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30150 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30152         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
30153         for wide-character tests.
30155 2014-12-04  Roland McGrath  <roland@hack.frob.com>
30157         * io/openat64.c: #include <libc-internal.h>
30158         (__openat64): Prototypify.  Use ignore_value on MODE.
30159         * io/openat.c: Likewise.
30160         * misc/reboot.c: #include <libc-internal.h>
30161         (reboot): Prototypify.  Use ignore_value on HOWTO.
30162         * misc/ptrace.c: #include <libc-internal.h>
30163         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
30165 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
30167         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
30168         XPG4, UNIX98 and XOPEN2K.
30169         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
30170         Remove variable.
30171         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30173 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30175         * libio/fileops.c: Use ISO C style for function definitions.
30176         * libio/iofopen.c: Likewise.
30177         * libio/wfileops.c: Likewise.
30179         [BZ #17653]
30180         * libio/fileops.c (_IO_new_file_underflow): Unset cached
30181         offset on EOF.
30182         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
30183         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
30184         (fgets_func): Function pointer to fgets and fgetws.
30185         (do_ftell_test): Add test to verify ftell value after read
30186         EOF.
30187         (do_test): Set fgets_func.
30189         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
30190         O_TRUNC flag for w and w+ modes.
30191         (do_rewind_test): Likewise.
30192         (do_ftell_test): Likewise.
30193         (do_write_test): Likewise.
30195         [BZ #17647]
30196         * libio/fileops.c (do_ftell): Seek only when there are
30197         unflushed writes.
30198         * libio/wfileops.c (do_ftell_wide): Likewise.
30199         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
30200         test case.
30201         (do_one_test): Call it.
30203 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
30205         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
30206         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
30207         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
30208         Remove variable.
30209         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30210         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30211         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30213 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30215         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
30216         Remove variable.
30217         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30219         [BZ #17668]
30220         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
30221         as weak alias of __getifaddrs.  Use libc_hidden_weak.
30222         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30223         __freeifaddrs.  Use libc_hidden_weak.
30224         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
30225         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
30226         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30227         __freeifaddrs.  Use libc_hidden_weak.
30228         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
30229         __getifaddrs and define as weak alias of __getifaddrs.  Use
30230         libc_hidden_weak.
30231         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30232         __freeifaddrs.  Use libc_hidden_weak.
30233         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
30234         Remove variable.
30235         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30236         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30238 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30240         [BZ #17601]
30241         * sysdeps/mips/start.S (__start): Use indirect jump to call
30242         __libc_start_main.
30244 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30246         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
30248         * nptl/tst-mutex1.c: Include <stdbool.h>.
30249         [!ATTR] (ATTR_NULL): New macro.
30250         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
30251         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
30252         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
30254         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
30255         to char *.
30257         [BZ #17665]
30258         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
30259         Change conditional to [__USE_MISC].
30261         [BZ #17664]
30262         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
30263         fgets_unlocked.
30264         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
30265         __fgets_unlocked.
30266         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
30267         fgets_unlocked.
30268         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
30269         Remove variable.
30270         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30271         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30272         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30273         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30274         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30275         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30276         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30277         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30278         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30280         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
30282 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30284         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30285         Remove strpbrk objects.
30286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30287         (__libc_ifunc_impl_list): Remove strpbrk implementation.
30288         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
30289         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
30290         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30291         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30293         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30294         Remove strcspn objects.
30295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30296         (__libc_ifunc_impl_list): Remove strcspn implementation.
30297         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30298         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30299         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30300         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30302         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30303         Remove strspn objetcs.
30304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30305         (__libc_ifunc_impl_list): Remove strspn implementation.
30306         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30307         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30308         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30309         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30311 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30313         [BZ #17581]
30314         * malloc/hooks.c
30315         (mem2mem_check): Add a terminator to the chain of checking blocks.
30316         (malloc_check_get_size): Use it here.
30317         (mem2chunk_check): Ditto.
30319 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30321         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30322         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30324 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30326         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30328         * nptl/nptl-init.c: Include libc-internal.h.
30329         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30331         * elf/ldconfig.c (search_dir): Expand comment.
30333 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30335         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30336         variable.
30337         (linknamespace-symlist-stdlibs-tests): Likewise.
30338         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30339         instead of $(objpfx)symlist-stdlibs.
30340         (linknamespace-libs-isoc): New variable.
30341         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30342         (linknamespace-libs-ISO): New variable.
30343         (linknamespace-libs-ISO99): Likewise.
30344         (linknamespace-libs-ISO11): Likewise.
30345         (linknamespace-libs-XPG3): Likewise.
30346         (linknamespace-libs-XPG4): Likewise.
30347         (linknamespace-libs-POSIX): Likewise.
30348         (linknamespace-libs-UNIX98): Likewise.
30349         (linknamespace-libs-XOPEN2K): Likewise.
30350         (linknamespace-libs-POSIX2008): Likewise.
30351         (linknamespace-libs-XOPEN2K8): Likewise.
30352         ($(objpfx)symlist-stdlibs): Replace by
30353         $(linknamespace-symlist-stdlibs-tests).  Use
30354         $(linknamespace-libs-$*) as set of libraries.
30355         ($(linknamespace-header-tests)): Update dependencies.  Use
30356         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30357         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30358         * conform/linknamespace.pl: Remove comment about considering
30359         definitions of symbols from irrelevant libraries.
30361 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30363         [BZ #13862]
30364         * elf/dl-tls.c: Include <atomic.h>.
30365         (oom): Remove #ifdef SHARED/#endif.
30366         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30367         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30368         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30369         big enough.
30370         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30371         * nptl/Makefile (tests): Add tst-stack4.
30372         (modules-names): Add tst-stack4mod.
30373         ($(objpfx)tst-stack4): New.
30374         (tst-stack4mod.sos): Likewise.
30375         ($(objpfx)tst-stack4.out): Likewise.
30376         ($(tst-stack4mod.sos)): Likewise.
30377         (clean): Likewise.
30378         * nptl/tst-stack4.c: New file.
30379         * nptl/tst-stack4mod.c: Likewise.
30381 2014-11-27  J. Brown  <jb999@gmx.de>
30383         * sysdeps/x86/bits/string.h: Add recent CPUs.
30385 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30387         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30388         sigblock.
30390         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30391         feof.
30393         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30394         variable.
30396 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30398         * nscd/connections.c: Include libc-internal.h because of macro
30399         usage ignore_value.
30401 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30403         * string/bits/string3.h (__warn_memset_zero_len): Don't
30404         declare for gcc newer than 5.0.
30405         (memset): Don't test for zero-length __LEN for gcc newer than
30406         5.0.
30408 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30410         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30411         size_t for %zu format.
30413         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30414         difference, not %ju.
30416 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30418         * include/libc-internal.h (ignore_value): New macro.
30419         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30420         with ignore_value.
30422         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30423         definition.
30425         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30426         pthread_cleanup_push to void *.
30428         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30429         Undefine.
30431         [BZ #16619]
30432         [BZ #16740]
30433         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30434         instead of 1L << 52.
30436         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30437         * libio/bug-rewind2.c (do_test): Likewise.
30439         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30440         * debug/test-strcpy_chk-ifunc.c: Likewise.
30441         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30442         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30443         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30444         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30445         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30446         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30447         * Rules [$(multi-arch) = no] (tests): Do not filter out
30448         $(tests-ifunc).
30449         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30450         * debug/Makefile (tests-ifunc): Remove variable.
30451         (tests): Do not add $(tests-ifunc).
30452         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30453         (tests): Do not add $(tests-ifunc).
30454         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30455         [TEST_IFUNC]: Remove conditionals.
30456         * string/test-string.h (TEST_IFUNC): Remove macro.
30457         [TEST_IFUNC]: Remove conditionals.
30459         * string/test-strchr.c [!WIDE] (L): New macro.
30460         [WIDE] (L): Likewise.
30461         (check1): Use CHAR instead of char.  Use L on string and character
30462         constants.
30464 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30466         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30467         tests.
30468         * sysdeps/powerpc/bits/atomic.h
30469         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30470         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30471         (atomic_exchange_and_add_acq): Likewise.
30472         (atomic_exchange_and_add_rel): Likewise.
30473         * sysdeps/powerpc/powerpc32/bits/atomic.h
30474         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30475         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30476         * sysdeps/powerpc/powerpc64/bits/atomic.h
30477         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30478         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30480 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30482         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30483         Change synchronization of __sched_fifo_min_prio and
30484         __sched_fifo_max_prio.
30485         * nptl/pthread_mutexattr_getprioceiling.c
30486         (pthread_mutexattr_getprioceiling): Likewise.
30487         * nptl/pthread_mutexattr_setprioceiling.c
30488         (pthread_mutexattr_setprioceiling): Likewise.
30489         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30490         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30491         Likewise.
30493 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30495         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30496         void.
30498 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30500         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30501         third argument const.
30503 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30505         fnmatch: work around GCC compiler warning bug with uninit var
30506         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30507         This works around a bug with x86-64 GCC 4.9.2 and earlier
30508         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30509         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30510         used uninitialized in this function [-Wmaybe-uninitialized]".
30512 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30514         * posix/bug-regex31.c (main): Return RES not 0.
30516 2014-11-25  Anton Blanchard <anton@samba.org>
30518         * sysdeps/powerpc/bits/atomic.h
30519         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30521 2014-11-24  Sterling Augustine  <saugustine@google.com>
30523         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30525 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30527         [BZ #17608]
30528         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30530 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30532         [BZ #17633]
30533         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30534         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30535         variable.
30536         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30537         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30539 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30541         * string/strncpy.c (strncpy): Improve performance by using memset.
30543 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30545         * string/strcpy.c (strcpy):
30546         Improve performance by using strlen and memcpy.
30548 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30550         * string/strcoll_l.c (get_next_seq): __always_inline.
30551         * string/strcoll_l.c (do_compare): __always_inline.
30553 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30555         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30556         defined.
30557         * include/mqueue.h: Likewise.
30558         * include/stdlib.h: Likewise.
30560         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30561         (get_null_defines): Adjust.
30562         * sunrpc/Makefile: Adjust comment.
30563         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30564         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30565         (CFLAGS-interp.c): Likewise.
30566         (CFLAGS-ldconfig.c): Likewise.
30567         (CPPFLAGS-.os): Likewise.
30568         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30569         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30570         * extra-modules.mk (extra-modules.mk): Likewise.
30571         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30572         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30573         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30574         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30575         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30576         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30577         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30578         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30579         * iconvdata/Makefile (CPPFLAGS): Likewise.
30580         (cpp-srcs-left): Add libof for all iconvdata routines.
30581         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30582         * include/assert.h: Likewise.
30583         * include/ctype.h: Likewise.
30584         * include/errno.h: Likewise.
30585         * include/libc-symbols.h: Likewise.
30586         * include/math.h: Likewise.
30587         * include/netdb.h: Likewise.
30588         * include/resolv.h: Likewise.
30589         * include/stdio.h: Likewise.
30590         * include/stdlib.h: Likewise.
30591         * include/string.h: Likewise.
30592         * include/sys/stat.h: Likewise.
30593         * include/wctype.h: Likewise.
30594         * intl/l10nflist.c: Likewise.
30595         * libidn/idn-stub.c: Likewise.
30596         * libio/libioP.h: Likewise.
30597         * nptl/libc_multiple_threads.c: Likewise.
30598         * nptl/pthreadP.h: Likewise.
30599         * posix/regex_internal.h: Likewise.
30600         * resolv/res_hconf.c: Likewise.
30601         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30602         * sysdeps/arm/memmove.S: Likewise.
30603         * sysdeps/arm/sysdep.h: Likewise.
30604         * sysdeps/generic/_itoa.h: Likewise.
30605         * sysdeps/generic/symbol-hacks.h: Likewise.
30606         * sysdeps/gnu/errlist.awk: Likewise.
30607         * sysdeps/gnu/errlist.c: Likewise.
30608         * sysdeps/i386/i586/memcpy.S: Likewise.
30609         * sysdeps/i386/i586/memset.S: Likewise.
30610         * sysdeps/i386/i686/memcpy.S: Likewise.
30611         * sysdeps/i386/i686/memmove.S: Likewise.
30612         * sysdeps/i386/i686/mempcpy.S: Likewise.
30613         * sysdeps/i386/i686/memset.S: Likewise.
30614         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30615         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30616         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30617         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30618         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30619         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30620         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30621         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30622         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30623         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30624         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30625         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30626         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30627         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30628         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30629         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30630         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30631         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30632         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30633         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30634         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30635         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30636         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30637         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30638         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30639         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30640         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30641         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30642         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30643         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30644         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30645         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30646         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30647         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30648         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30649         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30650         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30651         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30652         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30653         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30654         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30655         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30656         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30657         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30658         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30659         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30660         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30661         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30662         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30663         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30664         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30665         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30666         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30667         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30668         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30669         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30670         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30671         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30672         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30673         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30674         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30675         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30676         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30677         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30678         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30679         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30680         * sysdeps/posix/closedir.c: Likewise.
30681         * sysdeps/posix/opendir.c: Likewise.
30682         * sysdeps/posix/readdir.c: Likewise.
30683         * sysdeps/posix/rewinddir.c: Likewise.
30684         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30685         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30686         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30687         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30688         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30689         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30690         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30691         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30692         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30694         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30695         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30696         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30697         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30698         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30699         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30700         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30701         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30702         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30703         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30704         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30705         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30706         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30707         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30712         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30719         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30720         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30721         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30722         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30723         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30724         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30725         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30726         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30727         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30728         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30729         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30730         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30731         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30732         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30733         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30734         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30735         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30736         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30737         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30738         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30739         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30741         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30742         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30743         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30744         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30745         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30746         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30747         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30748         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30749         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30750         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30751         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30752         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30753         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30754         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30755         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30756         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30757         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30758         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30759         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30760         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30761         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30762         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30763         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30764         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30765         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30766         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30767         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30768         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30769         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30770         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30771         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30772         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30773         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30774         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30775         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30776         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30777         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30778         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30780         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30781         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30782         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30783         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30784         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30785         * sysdeps/unix/alpha/sysdep.S: Likewise.
30786         * sysdeps/unix/alpha/sysdep.h: Likewise.
30787         * sysdeps/unix/make-syscalls.sh: Likewise.
30788         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30789         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30790         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30791         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30792         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30793         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30794         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30795         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30796         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30797         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30798         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30799         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30800         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30801         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30802         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30803         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30804         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30805         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30806         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30807         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30808         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30809         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30810         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30811         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30812         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30813         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30814         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30817         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30818         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30819         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30821         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30822         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30823         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30824         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30825         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30826         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30827         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30828         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30829         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30830         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30831         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30832         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30834         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30835         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30838         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30839         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30840         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30841         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30843         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30844         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30846         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30847         * sysdeps/x86_64/memcpy.S: Likewise.
30848         * sysdeps/x86_64/memmove.c: Likewise.
30849         * sysdeps/x86_64/memset.S: Likewise.
30850         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30851         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30852         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30853         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30854         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30855         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30857         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30858         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30859         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30860         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30861         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30862         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30863         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30864         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30865         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30866         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30867         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30868         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30869         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30870         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30871         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30872         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30873         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30874         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30875         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30876         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30877         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30878         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30879         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30880         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30881         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30882         * sysdeps/x86_64/strcmp.S: Likewise.
30884         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30886         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30887         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30888         * elf/rtld-Rules: Likewise.
30889         * elf/setup-vdso.h: Likewise.
30890         * include/assert.h: Likewise.
30891         * include/bits/stdlib-float.h: Likewise.
30892         * include/errno.h: Likewise.
30893         * include/sys/stat.h: Likewise.
30894         * include/unistd.h: Likewise.
30895         * sysdeps/aarch64/setjmp.S: Likewise.
30896         * sysdeps/alpha/setjmp.S: Likewise.
30897         * sysdeps/arm/__longjmp.S: Likewise.
30898         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30899         * sysdeps/arm/setjmp.S: Likewise.
30900         * sysdeps/arm/sysdep.h: Likewise.
30901         * sysdeps/generic/_itoa.h: Likewise.
30902         * sysdeps/generic/dl-sysdep.h: Likewise.
30903         * sysdeps/generic/ldsodefs.h: Likewise.
30904         * sysdeps/i386/dl-tls.h: Likewise.
30905         * sysdeps/i386/setjmp.S: Likewise.
30906         * sysdeps/m68k/setjmp.c: Likewise.
30907         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30908         * sysdeps/mach/hurd/opendir.c: Likewise.
30909         * sysdeps/posix/getcwd.c: Likewise.
30910         * sysdeps/posix/opendir.c: Likewise.
30911         * sysdeps/posix/profil.c: Likewise.
30912         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30913         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30914         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30915         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30916         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30917         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30918         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30919         * sysdeps/s390/dl-tls.h: Likewise.
30920         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30921         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30922         * sysdeps/sh/sh3/setjmp.S: Likewise.
30923         * sysdeps/sh/sh4/setjmp.S: Likewise.
30924         * sysdeps/unix/alpha/sysdep.h: Likewise.
30925         * sysdeps/unix/arm/sysdep.S: Likewise.
30926         * sysdeps/unix/i386/sysdep.S: Likewise.
30927         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30928         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30929         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30930         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30931         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30932         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30933         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30934         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30935         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30936         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30937         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30938         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30939         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30942         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30944         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30945         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30946         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30947         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30948         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30949         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30950         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30951         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30952         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30954         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30955         * sysdeps/x86_64/setjmp.S: Likewise.
30957         * include/math.h: Use IS_IN instead of IS_IN_libm.
30958         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30959         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30960         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30961         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30962         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30963         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30964         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30966         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30967         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30968         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30969         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30970         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30971         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30972         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30973         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30974         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30975         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30976         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30977         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30978         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30979         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30980         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30981         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30982         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30983         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30984         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30985         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30986         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30987         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30988         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30989         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30990         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30992         Likewise.
30993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30994         Likewise.
30995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30996         Likewise.
30997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30998         Likewise.
30999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
31000         Likewise.
31001         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31002         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
31003         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31004         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31005         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31006         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
31008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
31009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
31010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
31011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
31012         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
31013         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
31014         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31015         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31016         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31017         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31018         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31019         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31020         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31021         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
31022         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
31023         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
31024         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
31025         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
31026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31027         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
31029         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
31030         * nptl/pthreadP.h: Likewise.
31031         * nptl_db/structs.def: Likewise.
31032         * sysdeps/arm/sysdep.h: Likewise.
31033         * sysdeps/nptl/bits/libc-lock.h: Likewise.
31034         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31035         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
31036         * sysdeps/unix/alpha/sysdep.h: Likewise.
31037         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31038         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31039         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31040         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31041         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31042         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31043         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31044         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31045         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31046         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31047         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31048         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31049         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31050         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31053         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31054         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31055         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31056         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31057         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31058         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31059         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31060         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31061         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
31062         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31064         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
31065         * nptl/pthreadP.h: Likewise.
31066         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31067         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31068         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31069         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31070         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31071         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31072         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31073         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31074         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31075         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31076         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31077         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31079         Likewise.
31080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31081         Likewise.
31082         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31084         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31085         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31087         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31088         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31089         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31091         * dlfcn/dladdr.c: Use IS_IN.
31092         * dlfcn/dladdr1.c: Likewise.
31093         * dlfcn/dlclose.c: Likewise.
31094         * dlfcn/dlerror.c: Likewise.
31095         * dlfcn/dlinfo.c: Likewise.
31096         * dlfcn/dlmopen.c: Likewise.
31097         * dlfcn/dlopen.c: Likewise.
31098         * dlfcn/dlsym.c: Likewise.
31099         * dlfcn/dlvsym.c: Likewise.
31101         * include/ifaddrs.h: Use IS_IN.
31102         * inet/check_pf.c: Likewise.
31103         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31104         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
31106         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
31107         IS_IN_ldconfig.
31108         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
31109         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
31111         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
31112         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
31113         IS_IN (libc).
31115         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
31117         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
31118         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31119         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31120         * include/libc-symbols.h (IS_IN_LIB): New macro.
31121         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
31122         * include/netdb.h: Likewise.
31123         * include/stap-probe.h: Remove all uses of IN_LIB.
31125         * Makeconfig (module-cppflags-real): Define MODULE_NAME
31126         instead of IN_MODULE.
31127         * include/libc-symbols.h (IN_MODULE): Define using
31128         MODULE_NAME.
31129         (PASTE_NAME, PASTE_NAME1): New macros.
31130         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
31131         of IN_LIB.
31132         (STAP_PROBE_ASM): Likewise.
31134 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31136         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
31137         __mach_init in dlopened libc.
31139 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
31141         * sysdeps/arm/preconfigure.ac: Delete EABI check.
31142         * sysdeps/arm/preconfigure: Regenerate.
31144 2014-11-21  Roland McGrath  <roland@hack.frob.com>
31146         * nptl/pthread_create.c (__pthread_create_2_1): Set
31147         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
31148         when copying values from IATTR into PD.
31150 2014-11-21  Will Newton  <will.newton@linaro.org>
31151             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
31153         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
31154         Refactor inline-asm.  Also add comment.
31156         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
31157         ElfW macro instead of hardcoded Elf64 types.
31158         (la_aarch64_gnu_pltenter): Likewise.
31159         * sysdeps/aarch64/dl-machine.h
31160         (elf_machine_runtime_setup): Use ElfW(Addr).
31162         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
31163         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
31164         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
31165         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
31166         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
31167         (R_AARCH64_TLS_DTPMOD64): Rename to ..
31168         (R_AARCH64_TLS_DTPMOD): This.
31169         (R_AARCH64_TLS_DTPREL64): Rename to ...
31170         (R_AARCH64_TLS_DTPREL): This.
31171         (R_AARCH64_TLS_TPREL64): Rename to ...
31172         (R_AARCH64_TLS_TPREL): This.
31173         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
31174         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
31175         R_AARCH64_TLS_TPREL64.
31176         (elf_machine_rela): Likewise.
31178 2014-11-21  Torvald Riegel  <triegel@redhat.com>
31180         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
31181         by setting it to 0.  64b atomics are not supported currently.
31183 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31185         [BZ #16469]
31186         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
31187         search domain names.
31189 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31191         [BZ #16469]
31192         * NEWS: Update.
31193         * resolv/res_query.c (__libc_res_nquerydomain): Retain
31194         trailing dot.
31195         * posix/tst-getaddrinfo5.c: New.
31196         * posix/Makefile (tests): Add it.
31198 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31200         [BZ #14498]
31201         * NEWS: Fixed.
31202         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
31203         after parsing line but before break_if_match.
31204         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
31205         if there is a protocol mismatch.
31207 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
31209         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
31210         because the potential race is on the user-supplied stream.
31212 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31214         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
31215         string literal if not passed a buffer.
31216         * manual/job.texi (ctermid): Update reasoning, note deviation
31217         from posix, suggest mtasurace when not passed a buffer, for
31218         future non-preliminary safety notes.
31220 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31222         * manual/users.texi (cuserid): Fix MT-Safety note for the case
31223         of not passing it a buffer.
31224         Reported by Peng Haitao.
31226 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31228         * manual/Makefile ($(objpfx)stamp-summary): Require
31229         check-safety.sh to pass.
31230         * manual/check-safety.sh: Wish for verification that every
31231         @deftypefn and @deftypefun is followed by a @safety remark.
31233 2014-11-20  Roland McGrath  <roland@hack.frob.com>
31235         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
31237         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
31238         PTHREAD_CANCEL_ASYNCHRONOUS.
31239         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
31240         send SIGCANCEL.
31242         * nptl/default-sched.h: New file.
31243         * sysdeps/unix/sysv/linux/default-sched.h: New file.
31244         * nptl/pthread_create.c: Include it.
31245         (__pthread_create_2_1): Use collect_default_sched instead of making
31246         Linux syscalls here directly.
31248 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31250         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
31251         __pthread_once): Use C11 atomics.
31253 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31255         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
31257 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31259         * include/atomic.h (__atomic_link_error, __atomic_check_size,
31260         atomic_thread_fence_acquire, atomic_thread_fence_release,
31261         atomic_thread_fence_seq_cst, atomic_load_relaxed,
31262         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
31263         atomic_compare_exchange_weak_relaxed,
31264         atomic_compare_exchange_weak_acquire,
31265         atomic_compare_exchange_weak_release,
31266         atomic_exchange_acquire, atomic_exchange_release,
31267         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
31268         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
31269         atomic_fetch_and_acquire,
31270         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
31272 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31274         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
31275         USE_ATOMIC_COMPILER_BUILTINS): Define.
31276         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
31277         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31278         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
31279         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31280         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
31281         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31282         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
31283         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31284         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
31285         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31286         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31287         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31288         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
31289         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31290         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31291         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31292         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31293         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31294         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31295         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31296         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31297         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31298         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31299         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31300         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31301         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31302         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31303         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31304         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31305         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31306         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31307         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31308         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31309         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31310         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31311         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31312         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31313         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31314         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31315         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31317 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31319         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31320         the sched_priority value here.  It was already checked when the user
31321         called pthread_attr_setschedparam.
31323         * nptl/tst-bad-schedattr.c: New file.
31324         * nptl/Makefile (tests): Add it.
31326 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31327             Florian Weimer  <fweimer@redhat.com>
31328             Joseph Myers  <joseph@codesourcery.com>
31329             Adam Conrad  <adconrad@0c3.net>
31330             Andreas Schwab  <schwab@suse.de>
31331             Brooks  <bmoses@google.com>
31333         [BZ #17625]
31334         * wordexp-test.c (__dso_handle): Add prototype.
31335         (__register_atfork): Likewise.
31336         (__app_register_atfork): New function.
31337         (registered_forks): New global.
31338         (register_fork): New function.
31339         (test_case): Add 3 new tests for WRDE_CMDSUB.
31340         (main): Call __app_register_atfork.
31341         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31342         fork count is non-zero fail the test.
31343         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31344         is set.
31345         (parse_dollars): Remove check for WRDE_NOCMD.
31346         (parse_dquote): Likewise.
31348 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31350         * Makeconfig (built-modules): List non-library modules to be
31351         built.
31352         (module-cppflags): Include libc-modules.h for
31353         everything except shlib-versions.v.i.
31354         (CPPFLAGS): Use it.
31355         (before-compile): Add libc-modules.h.
31356         ($(common-objpfx)libc-modules.h,
31357         $(common-objpfx)libc-modules.stmp): New targets.
31358         (common-generated): Add libc-modules.h and libc-modules.stmp.
31359         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31360         * include/libc-symbols.h: Don't include libc-modules.h.
31361         * include/libc-modules.h: Remove file.
31362         * scripts/gen-libc-modules.awk: New script to generate
31363         libc-modules.h.
31364         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31365         Depend on libc-modules.stmp.
31367         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31369         * Makeconfig (in-module): Get value of libof set for the
31370         translation unit.
31371         (CPPFLAGS): Use $(in-module).
31372         * Makerules: Don't suffix routine names for nonlib.
31373         * include/libc-modules.h: New file.
31374         * include/libc-symbols.h: Include libc-modules.h
31375         (IS_IN): New macro to replace IS_IN_* macros.
31376         * elf/Makefile: Set libof-* for each routine.
31377         * elf/rtld-Rules: Likewise.
31378         * extra-modules.mk: Likewise.
31379         * iconv/Makefile: Likewise.
31380         * iconvdata/Makefile: Likewise.
31381         * locale/Makefile: Likewise.
31382         * malloc/Makefile: Likewise.
31383         * nss/Makefile: Likewise.
31384         * sysdeps/gnu/Makefile: Likewise.
31385         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31386         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31387         * sysdeps/s390/s390-64/Makefile: Likewise.
31388         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31389         CPPFLAGS for nscd instead of nonlib.
31391 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31393         * nptl/createthread.c: New file.
31395         * nptl/createthread.c: Moved ...
31396         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31398         * nptl/createthread.c: Add proper top-line comment.
31399         (do_clone): Folded into ...
31400         (create_thread): ... here.  Take new arguments STOPPED_START and
31401         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31402         increment __nptl_threads, do event-reporting logic, do
31403         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31404         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31405         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31406         just send SIGCANCEL.
31407         * nptl/pthread_create.c: Forward-declare create_thread before
31408         including createthread.c.
31409         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31410         declaration, and new macro START_THREAD_SELF to replace argument.
31411         Remove return statement.
31412         (report_thread_creation): New function.
31413         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31414         synchronization logic, and __nptl_nthreads increment here, around
31415         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31416         PD->parent_cancelhandling here, before create_thread.  When
31417         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31418         __deallocate_stack, and ENOMEM translation here.
31420 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31422         [BZ #17616]
31423         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31424         (mptwo): Rename to __mptwo.
31425         (__inv): Use __mptwo instead of mptwo.
31426         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31427         (mptwo): Rename to __mptwo.
31428         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31429         of mpone and __mptwo instead of mptwo.
31430         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31431         instead of mpone.
31432         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31433         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31434         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31435         of mpone and __mptwo instead of mptwo.
31436         (__mpranred): Use __mpone instead of mpone.
31437         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31438         variable.
31439         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31440         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31441         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31442         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31443         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31444         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31445         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31446         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31447         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31448         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31449         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31450         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31451         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31452         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31453         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31454         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31455         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31456         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31457         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31459 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31461         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31462         replace BSD Handler xref with BSD Signal Handling.
31464 2014-11-17  Richard Henderson  <rth@redhat.com>
31466         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31467         (_FP_PACK_RAW_2): Remove.
31468         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31469         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31470         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31471         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31472         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31473         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31474         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31475         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31476         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31477         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31478         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31479         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31480         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31481         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31482         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31483         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31485 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31487         * signal/signal.h [__USE_MISC]
31488         (struct sigvec): Remove type.
31489         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31490         (sigvec): Remove declaration.
31491         * sysdeps/posix/sigvec.c: Moved ...
31492         * signal/sigvec.c: ... here, replacing old file.
31493         (struct sigvec): New type, copied from old signal.h definition.
31494         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31495         (__sigvec): Convert definition to prototype.
31496         (sigvec): Replace weak_alias with compat_symbol.
31497         * signal/Versions (libc: GLIBC_2.21): New version set.
31498         * include/signal.h: Remove __sigvec declaration.
31499         * sysdeps/unix/bsd/sigvec.c: Remove file.
31500         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31501         * manual/signal.texi (BSD Handler): Remove subsection.
31502         Move siginterrupt up to ...
31503         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31504         (Blocking in BSD): Fold subsection into its parent.
31505         * NEWS: Mention sigvec removal.
31507 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31509         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31510         (DLA_FMS): Make definition conditional only on [__FMA4__].
31511         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31512         definition.
31514         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31515         Make definition conditional only on [PROF].
31516         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31517         definition.
31518         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31519         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31521         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31522         !__GNUC__].
31523         * include/signal.h (__sigpause): Move declaration above call to
31524         libc_hidden_proto.
31525         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31526         variable.
31527         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31528         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31530 2014-11-14  David S. Miller  <davem@davemloft.net>
31532         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31533         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31535 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31537         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31538         * configure: Regenerated.
31539         * manual/install.texi (Tools for Compilation): Document a
31540         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31541         compiler verified to work.
31542         * INSTALL: Regenerated.
31544         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31545         redeclare with asm name.
31546         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31547         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31548         including <string.h>.
31549         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31550         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31551         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31552         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31553         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31554         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31555         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31557 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31559         * stdlib/strtol.c (__strtol): Use prototype definition.
31561         [BZ #17594]
31562         * stdlib/strtol.c (SYM__): New macro.
31563         (SYM__1): Likewise.
31564         (__strtol): Likewise.
31565         (strtol): Rename to __strtol and define as weak alias of
31566         __strtol.  Use libc_hidden_weak.
31568 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31570         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31571         Use numbered labels in inline assembly.
31573 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31575         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31576         Add setjmp LIBC_PROBE.
31577         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31578         Likewise.
31579         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31580         Add longjmp, longjmp_target LIBC_PROBE.
31581         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31582         Likewise.
31584 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31586         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31587         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31588         to get rid of unused variable warning.
31590 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31592         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31593         Check for unwind_backtrace ==  NULL only in SHARED case.
31594         (__backchain_backtrace): Compile only in SHARED case.
31595         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31596         Likewise.
31597         (__backchain_backtrace): Declare as static.
31599 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31601         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31602         (__libc_multiple_threads_ptr): Variable moved ...
31603         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31605 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31607         * conform/GlibcConform.pm: New file.
31608         * conform/conformtest.pl: Use GlibcConform module.
31609         * conform/linknamespace.pl: New file.
31610         * conform/list-header-symbols.pl: Likewise.
31611         * conform/Makefile (linknamespace-symlists-base): New variable.
31612         (linknamespace-symlists-tests): Likewise.
31613         (linknamespace-header-base): Likewise.
31614         (linknamespace-header-tests): Likewise.
31615         (tests-special): Add new tests.
31616         ($(linknamespace-symlists-tests)): New rule.
31617         (linknamespace-libs): New variable.
31618         ($(objpfx)symlist-stdlibs): New rule.
31619         ($(linknamespace-header-tests)): Likewise.
31620         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31621         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31622         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31623         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31624         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31625         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31626         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31627         (test-xfail-ISO/math.h/linknamespace): Likewise.
31628         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31629         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31630         (test-xfail-ISO/time.h/linknamespace): Likewise.
31631         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31632         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31633         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31634         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31635         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31636         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31637         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31638         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31639         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31640         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31641         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31642         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31643         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31644         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31645         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31646         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31647         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31648         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31649         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31650         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31651         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31652         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31653         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31654         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31655         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31656         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31657         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31658         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31659         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31660         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31661         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31662         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31663         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31664         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31665         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31666         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31667         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31668         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31669         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31670         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31671         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31672         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31673         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31674         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31675         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31676         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31677         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31678         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31679         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31680         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31681         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31682         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31683         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31684         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31685         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31686         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31687         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31688         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31689         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31690         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31691         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31692         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31693         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31694         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31695         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31696         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31697         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31698         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31699         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31700         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31701         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31702         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31703         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31704         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31705         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31706         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31707         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31708         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31709         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31710         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31711         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31712         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31713         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31714         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31715         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31716         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31717         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31718         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31719         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31720         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31721         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31722         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31723         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31724         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31725         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31726         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31727         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31728         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31729         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31730         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31731         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31732         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31733         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31734         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31735         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31736         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31737         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31738         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31739         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31740         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31741         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31742         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31743         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31744         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31745         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31746         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31747         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31748         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31749         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31750         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31751         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31752         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31753         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31754         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31755         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31756         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31757         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31758         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31759         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31760         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31761         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31762         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31763         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31764         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31765         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31766         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31767         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31768         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31769         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31770         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31771         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31772         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31773         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31774         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31775         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31776         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31777         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31778         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31779         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31780         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31782         [BZ #17589]
31783         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31784         of fgets_unlocked.
31786         [BZ #17585]
31787         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31788         (memmem): Rename to __memmem and define as weak alias of
31789         __memmem.  Use libc_hidden_weak.
31790         (__memmem): Use libc_hidden_def.
31791         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31792         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31793         memmem.
31795         [BZ #17582]
31796         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31797         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31798         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31799         and define as weak alias of __fgets_unlocked.  Use
31800         libc_hidden_weak.
31801         (__fgets_unlocked): Use libc_hidden_def.
31802         * include/stdio.h (__fgets_unlocked): Declare.  Use
31803         libc_hidden_proto.
31804         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31805         __fgets_unlocked instead of fgets_unlocked.
31806         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31807         (GET_NPROCS_CONF_PARSER): Likewise.
31808         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31809         (GET_NPROCS_CONF_PARSER): Likewise.
31811         [BZ #17574]
31812         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31813         weak alias of __wmemset.  Use libc_hidden_weak.
31814         (__wmemset): Use libc_hidden_def.
31815         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31816         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31817         of wmemset.
31819         [BZ #17573]
31820         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31821         with asm name __mempcpy.
31822         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31824         [BZ #17572]
31825         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31826         and define as weak alias of __rawmemchr.
31827         (__rawmemchr): Do not define as strong alias of rawmemchr.
31829         [BZ #17571]
31830         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31831         alias of __qsort_r.
31832         (qsort): Call __qsort_r instead of qsort_r.
31833         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31834         (__qsort_r): Declare.  Call libc_hidden_proto.
31835         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31836         instead of qsort_r.
31837         * nscd/gai.c (__qsort_r): Define to qsort_r.
31838         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31839         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31840         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31842         [BZ #17570]
31843         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31844         define as weak alias of __malloc_info.
31846         [BZ #17584]
31847         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31848         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31849         (__rewinddir): Use libc_hidden_def.
31850         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31851         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31852         (__rewinddir): Use libc_hidden_def.
31853         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31854         weak alias of __rewinddir.  Don't use libc_hidden_def.
31855         (__rewinddir): Use libc_hidden_def.
31856         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31857         (__rewinddir): Use libc_hidden_proto.
31858         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31859         rewinddir.
31860         (__getcwd): Use __rewinddir instead of rewinddir.
31862         [BZ #17583]
31863         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31864         alias of __fileno.  Use libc_hidden_weak.
31865         (__fileno): Use libc_hidden_def.
31866         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31867         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31868         alias of __ftello.
31869         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31870         __ftello.
31871         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31872         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31873         libc_hidden_def.
31874         (fread_unlocked): Don't use libc_hidden_ver.
31875         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31876         and define as weak alias of __fread_unlocked.  Don't use
31877         libc_hidden_def.
31878         (__fread_unlocked): Use libc_hidden_def.
31879         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31880         (ftello): Don't use libc_hidden_proto.
31881         (__ftello): Declare.  Use libc_hidden_proto.
31882         (fread_unlocked): Don't use libc_hidden_proto.
31883         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31884         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31885         and __ftello instead of fileno, fread_unlocked and ftello.
31887 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31889         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31890         GOT12.
31891         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31892         Likewise.
31893         (_dl_start_user): Likewise.
31894         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31896 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31897             Siddhesh Poyarekar  <siddhesh@redhat.com>
31899         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31900         Move argv and envp down instead of moving argc up.
31901         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31903 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31905         [BZ #17506]
31906         * test-skeleton.c (main): Return successful if one of
31907         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31908         * string/tst-strcoll-overflow.c: Define expected status.
31910 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31912         [BZ #17475]
31913         * locale/iso-639.def: Define Bhili and Tulu language codes.
31915 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31917         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31919 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31921         [BZ #17555]
31922         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31924 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31926         * configure.ac: Updated check of minimal required version to
31927         2.22.
31928         * manual/install.texi (Tools for Compilation): Updated version
31929         number.
31930         * configure: Regenerated.
31931         * INSTALL: Likewise.
31933 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31935         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31936         __tls_get_addr.
31938 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31940         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31941         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31942         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31943         libc_hidden_weak.
31944         (waitpid): Define as alias of __waitpid.
31945         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31946         __waitpid.
31947         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31948         libc_hidden_weak.
31949         (waitpid): Define as alias of __waitpid.
31950         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31951         __libc_waitpid alias.
31952         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31953         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31954         Likewise.
31955         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31956         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31957         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31958         alias.
31959         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31960         __waitpid.
31961         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31962         libc_hidden_weak.
31963         (waitpid): Define as alias of __waitpid.
31965 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31967         * manual/llio.texi: Add comment that write safety has been
31968         fixed in Linux.
31970         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31971         (localplt-build-dso): Add elf/ld.so.
31972         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31973         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31974         and free for ld.so.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31976         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31978         Likewise.
31979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31980         Likewise.
31981         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31982         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31983         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31984         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31985         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31986         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31987         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31988         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31989         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31990         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31991         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31993 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31995         [BZ #14132]
31996         * include/libc-symbols.h (INTUSE): Remove macro.
31997         (INTDEF): Likewise.
31998         (INTVARDEF): Likewise.
31999         (_INTVARDEF): Likewise.
32000         (INTDEF2): Likewise.
32001         (INTVARDEF2): Likewise.
32002         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
32003         rtld_hidden_def instead of INTVARDEF.
32004         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
32005         (_dl_starting_up_internal): Remove declaration.
32006         (_dl_starting_up): Use rtld_hidden_proto.
32007         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
32008         declaration.
32009         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
32010         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
32011         _dl_starting_up.
32012         * elf/dl-writev.h (_dl_writev): Likewise.
32013         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
32014         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
32015         _dl_starting_up_internal.
32017 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32019         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32020         test-skeleton.c.
32022 2014-11-05  Will Newton  <will.newton@linaro.org>
32024         * benchtests/Makefile: (bench-malloc): Add malloc thread
32025         scalability benchmark.
32026         * benchtests/bench-malloc-threads.c: New file.
32028 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
32030         * sysdeps/aarch64/strchrnul.S: New file.
32032 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32034         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
32035         definition.
32036         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32037         Likwise.
32038         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32039         Likewise.
32040         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32041         Likewise.
32042         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32043         Likewise.
32044         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32045         Likewise.
32047 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
32049         * catgets/test-gencat.c: Use test-skeleton.c.
32050         * catgets/tst-catgets.c: Likewise.
32051         * csu/tst-empty.c: Likewise.
32052         * elf/tst-audit2.c: Likewise.
32053         * elf/tst-global1.c: Likewise.
32054         * elf/tst-pathopt.c: Likewise.
32055         * elf/tst-piemod1.c: Likewise.
32056         * elf/tst-tls10.c: Likewise.
32057         * elf/tst-tls11.c: Likewise.
32058         * elf/tst-tls12.c: Likewise.
32059         * gnulib/tst-gcc.c: Likewise.
32060         * iconvdata/tst-e2big.c: Likewise.
32061         * iconvdata/tst-loading.c: Likewise.
32062         * iconv/tst-iconv1.c: Likewise.
32063         * iconv/tst-iconv2.c: Likewise.
32064         * inet/test-inet6_opt.c: Likewise.
32065         * inet/tst-gethnm.c: Likewise.
32066         * inet/tst-network.c: Likewise.
32067         * inet/tst-ntoa.c: Likewise.
32068         * intl/tst-codeset.c: Likewise.
32069         * intl/tst-gettext2.c: Likewise.
32070         * intl/tst-gettext3.c: Likewise.
32071         * intl/tst-ngettext.c: Likewise.
32072         * intl/tst-translit.c: Likewise.
32073         * io/test-stat.c: Likewise.
32074         * libio/test-fmemopen.c: Likewise.
32075         * libio/tst-freopen.c: Likewise.
32076         * libio/tst-sscanf.c: Likewise.
32077         * libio/tst-ungetwc1.c: Likewise.
32078         * libio/tst-ungetwc2.c: Likewise.
32079         * libio/tst-widetext.c: Likewise.
32080         * localedata/tst-ctype.c: Likewise.
32081         * localedata/tst-digits.c: Likewise.
32082         * localedata/tst-leaks.c: Likewise.
32083         * localedata/tst-mbswcs1.c: Likewise.
32084         * localedata/tst-mbswcs2.c: Likewise.
32085         * localedata/tst-mbswcs3.c: Likewise.
32086         * localedata/tst-mbswcs4.c: Likewise.
32087         * localedata/tst-mbswcs5.c: Likewise.
32088         * localedata/tst-setlocale.c: Likewise.
32089         * localedata/tst-trans.c: Likewise.
32090         * localedata/tst-wctype.c: Likewise.
32091         * localedata/tst-xlocale1.c: Likewise.
32092         * login/tst-grantpt.c: Likewise.
32093         * malloc/tst-calloc.c: Likewise.
32094         * malloc/tst-malloc.c: Likewise.
32095         * malloc/tst-mallocstate.c: Likewise.
32096         * malloc/tst-mcheck.c: Likewise.
32097         * malloc/tst-mtrace.c: Likewise.
32098         * malloc/tst-obstack.c: Likewise.
32099         * math/atest-exp2.c: Likewise.
32100         * math/atest-exp.c: Likewise.
32101         * math/atest-sincos.c: Likewise.
32102         * math/test-matherr.c: Likewise.
32103         * math/test-misc.c: Likewise.
32104         * math/test-powl.c: Likewise.
32105         * math/tst-definitions.c: Likewise.
32106         * misc/tst-dirname.c: Likewise.
32107         * misc/tst-efgcvt.c: Likewise.
32108         * misc/tst-fdset.c: Likewise.
32109         * misc/tst-hsearch.c: Likewise.
32110         * misc/tst-mntent2.c: Likewise.
32111         * nptl/tst-sem7.c: Likewise.
32112         * nptl/tst-sem8.c: Likewise.
32113         * nptl/tst-sem9.c: Likewise.
32114         * nss/test-netdb.c: Likewise.
32115         * posix/tst-fnmatch.c: Likewise.
32116         * posix/tst-getlogin.c: Likewise.
32117         * posix/tst-gnuglob.c: Likewise.
32118         * posix/tst-mmap.c: Likewise.
32119         * pwd/tst-getpw.c: Likewise.
32120         * resolv/tst-inet_ntop.c: Likewise.
32121         * rt/tst-timer.c: Likewise.
32122         * stdio-common/test-fseek.c: Likewise.
32123         * stdio-common/test-popen.c: Likewise.
32124         * stdio-common/test-vfprintf.c: Likewise.
32125         * stdio-common/tst-cookie.c: Likewise.
32126         * stdio-common/tst-fileno.c: Likewise.
32127         * stdio-common/tst-gets.c: Likewise.
32128         * stdio-common/tst-obprintf.c: Likewise.
32129         * stdio-common/tst-perror.c: Likewise.
32130         * stdio-common/tst-sprintf2.c: Likewise.
32131         * stdio-common/tst-sprintf3.c: Likewise.
32132         * stdio-common/tst-sprintf.c: Likewise.
32133         * stdio-common/tst-swprintf.c: Likewise.
32134         * stdio-common/tst-tmpnam.c: Likewise.
32135         * stdio-common/tst-unbputc.c: Likewise.
32136         * stdio-common/tst-wc-printf.c: Likewise.
32137         * stdlib/tst-environ.c: Likewise.
32138         * stdlib/tst-fmtmsg.c: Likewise.
32139         * stdlib/tst-limits.c: Likewise.
32140         * stdlib/tst-rand48-2.c: Likewise.
32141         * stdlib/tst-rand48.c: Likewise.
32142         * stdlib/tst-random2.c: Likewise.
32143         * stdlib/tst-random.c: Likewise.
32144         * stdlib/tst-strtol.c: Likewise.
32145         * stdlib/tst-strtoll.c: Likewise.
32146         * stdlib/tst-tls-atexit.c: Likewise.
32147         * stdlib/tst-xpg-basename.c: Likewise.
32148         * string/test-ffs.c: Likewise.
32149         * string/tst-bswap.c: Likewise.
32150         * string/tst-inlcall.c: Likewise.
32151         * string/tst-strtok.c: Likewise.
32152         * string/tst-strxfrm.c: Likewise.
32153         * sysdeps/x86_64/tst-audit10.c: Likewise.
32154         * sysdeps/x86_64/tst-audit3.c: Likewise.
32155         * sysdeps/x86_64/tst-audit4.c: Likewise.
32156         * sysdeps/x86_64/tst-audit5.c: Likewise.
32157         * time/tst-ftime_l.c: Likewise.
32158         * time/tst-getdate.c: Likewise.
32159         * time/tst-mktime3.c: Likewise.
32160         * time/tst-mktime.c: Likewise.
32161         * time/tst-posixtz.c: Likewise.
32162         * time/tst-strptime2.c: Likewise.
32163         * time/tst-strptime3.c: Likewise.
32164         * wcsmbs/tst-btowc.c: Likewise.
32165         * wcsmbs/tst-mbrtowc.c: Likewise.
32166         * wcsmbs/tst-mbsrtowcs.c: Likewise.
32167         * wcsmbs/tst-wchar-h.c: Likewise.
32168         * wcsmbs/tst-wcpncpy.c: Likewise.
32169         * wcsmbs/tst-wcrtomb.c: Likewise.
32170         * wcsmbs/tst-wcsnlen.c: Likewise.
32171         * wcsmbs/tst-wcstof.c: Likewise.
32173 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
32175         [BZ #14132]
32176         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
32177         INTDEF.
32178         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
32179         declaration.
32180         (_dl_mcount): Use rtld_hidden_proto.
32181         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
32182         _dl_mcount.
32183         * elf/rtld.c (_rtld_global_ro): Likewise.
32185         [BZ #14132]
32186         * elf/dl-init.c (_dl_init): Don't use INTDEF.
32187         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
32188         of _dl_init_internal.
32189         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
32190         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
32191         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
32192         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
32193         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
32194         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
32195         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
32196         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
32197         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
32198         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
32199         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
32200         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
32201         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32202         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32203         * sysdeps/tile/dl-start.S (_start): Likewise.
32204         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
32205         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
32207         [BZ #14132]
32208         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
32209         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
32210         (rtld_progname): Make macro definition unconditional.
32211         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
32212         INTDEF.
32213         (dlmopen_doit): Do not use INTUSE with _dl_argv.
32214         (dl_main): Likewise.
32215         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32216         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
32217         instead of _dl_argv_internal.
32218         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32219         __GI__dl_argv instead of INTUSE(_dl_argv).
32220         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
32221         __GI__dl_argv instead of _dl_argv_internal.
32223         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
32224         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
32225         macro.
32226         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
32227         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
32228         New macro.
32229         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
32230         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
32231         macro.
32232         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
32233         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
32235 2014-11-04  Andreas Schwab  <schwab@suse.de>
32237         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
32239 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32241         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
32242         mtvsrd instruction in binary form.
32244 2014-11-03  Andreas Schwab  <schwab@suse.de>
32246         [BZ #17522]
32247         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
32248         for less than MB_LEN_MAX use a local buffer of that size.
32249         * libio/tst-fputws.c: New file.
32250         * libio/Makefile (tests): Add tst-fputws.
32252 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
32254         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
32255         the size of the fpu_fr.fpu_dregs[] array.
32257 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
32259         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
32260         (__nanosleep): Do not define as alias.
32261         (nanosleep): Define as alias of __nanosleep.
32262         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
32263         __libc_nanosleep name.
32265 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32267         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
32268         install.texi in comment.
32270 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32272         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
32273         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
32274         ... add here and use lwsync or sync ...
32275         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
32276         ... and add here using lwsync.
32278 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32280         * elf/dl-machine-reject-phdr.h: New file.
32281         * elf/dl-load.c: #include that.
32282         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32283         if that returned true.
32285 2014-10-31  Roland McGrath  <roland@hack.frob.com>
32287         [BZ #17496]
32288         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
32289         gen-as-const-headers chunk.  Add a big scare comment after the last
32290         safe place to touch before-compile.
32292 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32294         * manual/install.texi (Tools for Compilation): Update autoconf
32295         version requirements.
32296         * INSTALL: Regenerated.
32298         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32299         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32300         (__libc_pselect): Likewise.
32302         [BZ #14138]
32303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32308 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32310         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32311         correct barrier instruction.
32312         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32313         Likewise.
32314         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32315         Likewise.
32317 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32319         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32320         after defining inlines.  Instead, just use parens to defeat macro
32321         expansion of __isctype in its declaration.
32323 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32325         * include/sys/uio.h (__libc_readv): Remove declaration.
32326         (__libc_writev): Likewise.
32327         * misc/readv.c (__libc_readv): Rename to __readv.
32328         (__readv): Do not define as alias.
32329         (readv): Define as alias of __readv.
32330         * misc/writev.c (__libc_writev): Rename to __writev.
32331         (__writev): Do not define as alias.
32332         (writev): Define as alias of __writev.
32333         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32334         (__readv): Do not define as alias.
32335         (readv): Define unconditionally as alias of __readv.
32336         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32337         (__writev): Do not define as alias.
32338         (writev): Define unconditionally as alias of __writev.
32339         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32340         name.
32341         (writev): Do not define __libc_writev name.
32343 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32345         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32346         (convert_charseq): New function, broken out of ...
32347         (use_from_charmap): ... here.  Call it.
32348         (use_to_charmap): Use convert_charseq and free instead of duplicating
32349         its code with a variable-length stack struct.
32351 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32353         * include/fcntl.h (__libc_creat): Remove declaration.
32354         * io/creat.c (__libc_creat): Rename to creat.
32355         (creat): Do not define as alias.
32356         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32357         of creat instead of __libc_creat.
32358         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32359         to creat.
32360         (creat): Do not define as alias.
32361         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32362         __libc_creat.
32363         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32364         __libc_creat name.
32365         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32366         Likewise.
32368 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32370         * manual/llio.texi: Add comments discussing why write() may be
32371         considered MT-unsafe on Linux.
32373 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32375         * dl-load.c (local_strdup): Remove.
32376         (expand_dynamic_string_token): Use __strdup.
32377         (decompose_rpath): Likewise.
32378         (_dl_map_object): Likewise.
32380 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32382         [BZ #14132]
32383         * sysdeps/generic/unwind-dw2-fde.c
32384         (__register_frame_info_bases_internal): Do not declare.
32385         (__register_frame_info_table_bases_internal): Likewise.
32386         (__deregister_frame_info_bases_internal): Likewise.
32387         (__register_frame_info_bases): Declare and use hidden_proto before
32388         definition.  Use hidden_def instead of INTDEF.
32389         (__register_frame_info_table_bases): Likewise.
32390         (__deregister_frame_info_bases): Likewise.
32391         (__register_frame_info): Do not use INTUSE.
32392         (__register_frame): Likewise.
32393         (__register_frame_info_table): Likewise.
32394         (__register_frame_table): Likewise.
32395         (__deregister_frame_info): Likewise.
32396         (__deregister_frame): Likewise.
32398 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32400         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32401         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32402         not undefine.
32403         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32404         Likewise.
32405         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32406         Likewise.
32408 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32410         [BZ #14138]
32411         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32412         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32413         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32414         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32415         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32416         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32417         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32418         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32419         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32420         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32421         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32422         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32423         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32424         syscall.
32425         (setfsuid): Likewise.
32426         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32427         (setfsuid): Likewise.
32428         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32429         (setfsuid): Likewise.
32430         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32431         Likewise.
32432         (setfsuid): Likewise.
32433         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32434         (setfsuid): Likewise.
32435         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32436         Likewise.
32437         (setfsuid): Likewise.
32439 2014-10-27  Andreas Schwab  <schwab@suse.de>
32441         [BZ #17501]
32442         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32443         check for Slow_SSE4_2 feature bit.
32444         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32445         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32446         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32447         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32449 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32451         * configure.ac: Validate compiler version with a empirical test of
32452         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32453         $CC -v output.
32454         * configure: Regenerated.
32456         * inet/htons.c (htons): Prototypify.
32457         * inet/htonl.c (htonl): Likewise.
32459 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32461         * string/strncat.c (strncat): Improve performance by using strlen.
32463 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32465         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32467 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32469         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32470         Call libc_fetestexcept_aarch64.
32472 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32474         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32475         Call libc_feholdexcept_aarch64.
32477 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32479         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32480         Call get_rounding_mode.
32482 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32484         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32485         Simplify logic.
32487 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32489         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32490         Simplify logic.
32492 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32494         [BZ #14138]
32495         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32496         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32497         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32498         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32499         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32500         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32501         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32502         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32503         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32504         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32505         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32506         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32507         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32508         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32509         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32510         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32511         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32512         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32513         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32514         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32515         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32516         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32517         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32518         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32519         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32520         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32521         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32522         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32523         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32524         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32525         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32526         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32527         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32528         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32529         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32530         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32531         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32532         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32533         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32534         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32535         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32536         syscall.
32537         (geteuid): Likewise.
32538         (getgid): Likewise.
32539         (getuid): Likewise.
32540         (getresgid): Likewise.
32541         (getresuid): Likewise.
32542         (getgroups): Likewise.
32543         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32544         (geteuid): Likewise.
32545         (getgid): Likewise.
32546         (getuid): Likewise.
32547         (getresgid): Likewise.
32548         (getresuid): Likewise.
32549         (getgroups): Likewise.
32550         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32551         (geteuid): Likewise.
32552         (getgid): Likewise.
32553         (getuid): Likewise.
32554         (getresgid): Likewise.
32555         (getresuid): Likewise.
32556         (getgroups): Likewise.
32557         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32558         Likewise.
32559         (geteuid): Likewise.
32560         (getgid): Likewise.
32561         (getuid): Likewise.
32562         (getresgid): Likewise.
32563         (getresuid): Likewise.
32564         (getgroups): Likewise.
32565         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32566         (geteuid): Likewise.
32567         (getgid): Likewise.
32568         (getuid): Likewise.
32569         (getresgid): Likewise.
32570         (getresuid): Likewise.
32571         (getgroups): Likewise.
32572         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32573         Likewise.
32574         (geteuid): Likewise.
32575         (getgid): Likewise.
32576         (getuid): Likewise.
32577         (getgroups): Likewise.
32579         [BZ #14138]
32580         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32581         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32582         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32583         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32584         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32585         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32586         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32587         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32588         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32589         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32590         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32591         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32592         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32593         __chown.
32594         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32595         (lchown): Likewise.
32596         (fchown): Likewise.
32597         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32598         Likewise.
32599         (lchown): Likewise.
32600         (fchown): Likewise.
32601         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32602         (lchown): Likewise.
32603         (fchown): Likewise.
32604         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32605         Likewise.
32606         (lchown): Likewise.
32607         (fchown): Likewise.
32609 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32611         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32612         Simplify logic.
32614 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32616         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32617         Cleanup logic.
32619 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32621         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32622         Remove unused include.
32624 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32626         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32627         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32628         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32629         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32631 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32632             Helge Deller <deller@gmx.de>
32634         [BZ #17508]
32635         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32636         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32637         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32639 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32641         [BZ #14132]
32642         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32643         Remove macro definition.
32644         (__ashrdi3_v_glibc20): Likewise.
32645         (__lshrdi3_v_glibc20): Likewise.
32646         (__cmpdi2_v_glibc20): Likewise.
32647         (__ucmpdi2_v_glibc20): Likewise.
32648         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32649         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32650         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32651         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32652         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32653         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32655 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32657         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32658         old GNU extension [0] syntax.
32659         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32660         alloca rather than an array member with variable length.
32661         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32662         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32663         (parse_opt): ... here.  Likewise use alloca there.
32664         Validate the -i argument before checking for rootness.
32665         (send_shutdown): New function, broken out of ...
32666         (parse_opt): ... here.
32668 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32670         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32671         macro to get at the _rt_local_ro field.
32672         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32673         ([PIC] case) or _dl_hwcap ([!PIC] case).
32674         * sysdeps/arm/setjmp.S: Likewise.
32676         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32677         * sysdeps/arm/configure.ac: New check to define it.
32678         * sysdeps/arm/configure: Regenerated.
32679         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32680         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32681         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32682         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32683         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32684         Use move/movt pair instead of a load.
32685         (LDST_GLOBAL): Macro removed.
32686         (LDR_GLOBAL): New macro replaces it.
32687         (LDR_HIDDEN): New macro.
32688         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32689         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32691         * setjmp/tst-setjmp-static.c: New file.
32692         * setjmp/Makefile (tests): Add it.
32693         (tests-static): New variable.
32695 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32697         [BZ #17485]
32698         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32700 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32702         [BZ #14132]
32703         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32705 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32707         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32709 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32711         * io/fts.c (dirent_not_directory): New function.
32712         (fts_build): Call it.
32714 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32716         * nptl/version.c (__nptl_main): Use normal __write rather than
32717         INTERNAL_SYSCALL.
32718         (banner): Update copyright years.
32720         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32721         gettimeofday.
32722         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32723         * nptl/pthread_cond_timedwait.c: Likewise.
32724         * nptl/pthread_mutex_timedlock.c: Likewise.
32725         * nptl/sem_timedwait.c: Likewise.
32727         * sysdeps/nptl/bits/libc-lock.h
32728         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32729         (__libc_lock_init_recursive): Return void, not 0.
32730         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32731         (__libc_rwlock_init): Likewise.
32732         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32734 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32736         [BZ #15215]
32737         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32738         (__pthread_once_slow): ... here.
32739         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32740         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32742 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32744         [BZ #15215]
32745         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32746         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32747         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32748         * nptl/pthread_once.c (__pthread_once): Likewise.
32749         Update comments.
32751 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32753         [BZ #14138]
32754         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32755         name.
32756         (writev): Use __libc_writev as strong name.
32757         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32758         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32760 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32762         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32764         * sysdeps/i386/nptl/tls.h
32765         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32766         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32767         New macros.
32768         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32769         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32770         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32771         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32772         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32773         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32775         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32776         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32777         on [__NR_futex].
32778         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32779         broken out of ...
32780         (__pthread_mutex_init): ... here.  Call it.
32781         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32782         Conditionalize PI cases on [__NR_futex].
32783         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32784         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32785         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32787         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32788         conditional on [SIGSETXID].
32789         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32790         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32791         is defined.  Likewise for SIGSETXID.
32792         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32793         Conditionalize definitions on [SIGSETXID].
32794         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32795         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32796         unblocking on [SIGCANCEL].
32798         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32799         [__NR_set_robust_list].
32801 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32803         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32804         (do_compare): Likewise.
32806 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32808         [BZ #15884]
32809         * string/strcoll_l.c: Don't include stdio.h.
32810         (coll_seq): Remove members idxarr and rulearr.
32811         (get_next_seq_cached): Remove function.
32812         (get_next_seq): Likewise.
32813         (get_next_seq_nocache): Rename to get_next_seq.
32814         (do_compare): Remove function.
32815         (do_compare_nocache): Rename to do_compare.
32816         (STRCOLL): Remove weight and rules cache.
32818 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32820         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32821         * sysdeps/arm/sfp-machine.h: ... to here.
32822         * sysdeps/arm/Implies: Remove arm/soft-fp.
32824 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32826         * conform/data/sys/utsname.h-data (*_t): Allow.
32827         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32828         [POSIX] (WEXITED): Do not expect constant.
32829         [POSIX] (WSTOPPED): Likewise.
32830         [POSIX] (WNOHANG): Likewise.
32831         [POSIX] (WNOWAIT): Likewise.
32832         [POSIX] (siginfo_t): Do not expect type or elements.
32833         [POSIX] (pid_t): Do not expect type.
32834         [POSIX] (signal.h): Do not allow header.
32835         [POSIX] (sys/resource.h): Likewise.
32836         [POSIX] (si_*): Do not allow pattern.
32837         [POSIX] (W*): Likewise.
32838         [POSIX] (P_*): Likewise.
32839         [POSIX] (BUS_*): Likewise.
32840         [POSIX] (CLD_*): Likewise.
32841         [POSIX] (FPE_*): Likewise.
32842         [POSIX] (ILL_*): Likewise.
32843         [POSIX] (POLL_*): Likewise.
32844         [POSIX] (SEGV_*): Likewise.
32845         [POSIX] (SI_*): Likewise.
32846         [POSIX] (TRAP_*): Likewise.
32847         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32848         variable.
32850 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32852         [BZ #12926]
32853         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32854         infinite loop when __recvmsg returns 0.
32856 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32858         * CANCEL-FCT-WAIVE: Remove file.
32859         * CANCEL-FILE-WAIVE: Likewise.
32861         [BZ #14132]
32862         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32863         instead of INTVARDEF.
32864         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32865         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32866         rtld_hidden_data_def instead of INTVARDEF.
32867         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32868         * elf/dl-deps.c (expand_dst): Likewise.
32869         * elf/dl-load.c (_dl_dst_count): Likewise.
32870         (_dl_dst_substitute): Likewise.
32871         (decompose_rpath): Likewise.
32872         (_dl_init_paths): Likewise.
32873         (open_path): Likewise.
32874         (_dl_map_object): Likewise.
32875         * elf/rtld.c (dl_main): Likewise.
32876         (process_dl_audit): Likewise.
32877         (process_envvars): Likewise.
32878         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32879         Remove declaration.
32880         (__libc_enable_secure): Use rtld_hidden_proto.
32882 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32884         * elf/dl-load.c
32885         (add_path): New function broken out of _dl_rtld_di_serinfo.
32886         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32888 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32890         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32891         parentheses around macro arguments.
32892         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32893         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32895         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32896         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32897         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32898         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32899         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32901         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32902         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32903         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32904         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32905         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32906         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32907         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32908         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32909         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32910         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32913         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32914         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32916         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32917         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32920         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32921         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32922         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32923         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32924         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32925         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32926         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32927         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32928         Likewise.
32929         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32930         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32931         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32932         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32935         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32936         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32937         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32938         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32939         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32940         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32941         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32950         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32951         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32953         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32954         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32955         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32956         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32957         (_FP_FRAC_SRS_1): Likewise.
32958         (_FP_FRAC_CLZ_1): Likewise.
32959         (_FP_MUL_MEAT_1_imm): Likewise.
32960         (_FP_MUL_MEAT_1_wide): Likewise.
32961         (_FP_MUL_MEAT_1_hard): Likewise.
32962         (_FP_SQRT_MEAT_1): Likewise.
32963         (_FP_FRAC_ASSEMBLE_1): Likewise.
32964         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32965         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32966         (__FP_CLZ_2): Likewise.
32967         (_FP_MUL_MEAT_2_wide): Likewise.
32968         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32969         (_FP_MUL_MEAT_2_gmp): Likewise.
32970         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32971         (_FP_SQRT_MEAT_2): Likewise.
32972         (_FP_FRAC_ASSEMBLE_2): Likewise.
32973         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32974         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32975         (_FP_FRAC_CLZ_4): Likewise.
32976         (_FP_MUL_MEAT_4_wide): Likewise.
32977         (_FP_MUL_MEAT_4_gmp): Likewise.
32978         (_FP_SQRT_MEAT_4): Likewise.
32979         (_FP_FRAC_ASSEMBLE_4): Likewise.
32980         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32981         * soft-fp/op-common.h (_FP_CMP): Likewise.
32982         (_FP_CMP_EQ): Likewise.
32983         (_FP_CMP_UNORD): Likewise.
32984         (_FP_TO_INT): Likewise.
32985         (_FP_FROM_INT): Likewise.
32986         [!__FP_CLZ] (__FP_CLZ): Likewise.
32987         (_FP_DIV_HELP_imm): Likewise.
32988         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32989         Likewise.
32990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32991         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32993         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32995         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32996         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32997         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32999         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
33000         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
33001         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
33002         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
33003         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
33004         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
33005         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
33006         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
33007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
33008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
33009         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
33010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
33011         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
33012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
33013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33015         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
33016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
33017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
33018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
33019         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
33020         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
33021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
33022         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
33023         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
33024         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
33025         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
33026         (FP_UNPACK_RAW_SP): Likewise.
33027         (FP_PACK_RAW_S): Likewise.
33028         (FP_PACK_RAW_SP): Likewise.
33029         (FP_UNPACK_S): Likewise.
33030         (FP_UNPACK_SP): Likewise.
33031         (FP_UNPACK_SEMIRAW_S): Likewise.
33032         (FP_UNPACK_SEMIRAW_SP): Likewise.
33033         (FP_PACK_S): Likewise.
33034         (FP_PACK_SP): Likewise.
33035         (FP_PACK_SEMIRAW_S): Likewise.
33036         (FP_PACK_SEMIRAW_SP): Likewise.
33037         (_FP_SQRT_MEAT_S): Likewise.
33038         (FP_CMP_S): Likewise.
33039         (FP_CMP_EQ_S): Likewise.
33040         (FP_CMP_UNORD_S): Likewise.
33041         (FP_TO_INT_S): Likewise.
33042         (FP_FROM_INT_S): Likewise.
33044         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
33046         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
33047         (FP_EX_INVALID_IMZ): Likewise.
33048         (FP_EX_INVALID_IMZ_FMA): Likewise.
33049         (FP_EX_INVALID_ISI): Likewise.
33050         (FP_EX_INVALID_ZDZ): Likewise.
33051         (FP_EX_INVALID_IDI): Likewise.
33052         (FP_EX_INVALID_SQRT): Likewise.
33053         (FP_EX_INVALID_CVI): Likewise.
33054         (FP_EX_INVALID_VC): Likewise.
33055         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
33056         "invalid" exceptions.
33057         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
33058         (_FP_ADD_INTERNAL): Likewise.
33059         (_FP_MUL): Likewise.
33060         (_FP_FMA): Likewise.
33061         (_FP_DIV): Likewise.
33062         (_FP_CMP_CHECK_NAN): Likewise.
33063         (_FP_SQRT): Likewise.
33064         (_FP_TO_INT): Likewise.
33065         (FP_EXTEND): Likewise.
33067 2014-10-09  Allan McRae  <allan@archlinux.org>
33069         * po/fr.po: Update French translation from translation project.
33071 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
33073         [BZ #14132]
33074         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
33075         of INTDEF.
33076         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
33077         (__cxa_atexit): Use libc_hidden_proto.
33078         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
33080         [BZ #14132]
33081         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
33082         declaration.
33083         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
33084         [!_ISOMAC] (__iswspace_l_internal): Likewise.
33085         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
33086         [!_ISOMAC] (__iswctype_internal): Likewise.
33087         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
33088         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
33089         alias.
33090         (fcntl): Remove __fcntl_internal alias.
33091         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
33092         __connect_internal alias.
33093         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
33094         Likewise.
33096         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
33097         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
33098         FP_DENORM_ZERO.
33099         (_FP_CHECK_FLUSH_ZERO): New macro.
33100         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
33101         (_FP_CMP): Likewise.
33102         (_FP_CMP_EQ): Likewise.
33103         (_FP_TO_INT): Do not set inexact for subnormal arguments if
33104         FP_DENORM_ZERO.
33105         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
33106         (FP_TRUNC): Likewise.
33108         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
33109         treated as invalid conversion, not as normal exponent.
33111         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
33112         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
33113         (_FP_CMP_EQ): Likewise.
33114         (_FP_CMP_UNORD): Likewise.
33115         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
33116         (FP_CMP_EQ_D): Likewise.
33117         (FP_CMP_UNORD_D): Likewise.
33118         * soft-fp/extended.h (FP_CMP_E): Likewise.
33119         (FP_CMP_EQ_E): Likewise.
33120         (FP_CMP_UNORD_E): Likewise.
33121         * soft-fp/quad.h (FP_CMP_Q): Likewise.
33122         (FP_CMP_EQ_Q): Likewise.
33123         (FP_CMP_UNORD_Q): Likewise.
33124         * soft-fp/single.h (FP_CMP_S): Likewise.
33125         (FP_CMP_EQ_S): Likewise.
33126         (FP_CMP_UNORD_S): Likewise.
33127         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
33128         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
33129         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
33130         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
33131         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
33132         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
33133         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
33134         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
33135         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
33136         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
33137         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
33138         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
33139         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
33140         to FP_CMP_Q.
33141         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
33142         FP_CMP_Q.
33143         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
33144         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
33145         FP_CMP_EQ_Q.
33146         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
33147         FP_CMP_Q.
33148         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
33149         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
33150         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
33151         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
33152         FP_CMP_EQ_Q.
33153         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
33154         FP_CMP_Q.
33155         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
33156         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
33157         FP_CMP_EQ_Q.
33158         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
33159         FP_CMP_Q.
33160         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
33161         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
33162         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
33163         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
33164         FP_CMP_EQ_Q.
33166         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
33167         a subnormal result, set the underflow exception if trapping on
33168         underflow is enabled.
33169         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
33170         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
33171         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
33172         redefine to 0.
33173         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
33174         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33175         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33176         * soft-fp/extendxftf2.c (__extendxftf2): Use
33177         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
33179         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
33180         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
33181         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33182         FP_HANDLE_EXCEPTIONS.
33183         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
33184         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33185         FP_HANDLE_EXCEPTIONS.
33186         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
33187         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33188         FP_HANDLE_EXCEPTIONS.
33189         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
33190         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33191         FP_HANDLE_EXCEPTIONS.
33193 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
33195         [BZ #14132]
33196         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
33197         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
33198         use INTUSE.
33199         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
33200         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
33201         Remove alias.
33202         (__adjtimex): Define using libc_hidden_ver.
33203         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
33204         Remove declaration.
33205         (ntp_gettime): Call __adjtimex directly.
33206         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
33207         Remove declaration.
33208         (ntp_gettimex): Call __adjtimex directly.
33209         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
33210         __adjtimex_internal alias.
33212 2014-10-08  Roland McGrath  <roland@hack.frob.com>
33214         [BZ #17460]
33215         * nscd/nscd.c (more_help): Rewrite list of tables collection
33216         using xstrdup and asprintf.
33218         * nscd/nscd_conf.c: Remove local xstrdup declaration.
33220 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33221             Roland McGrath  <roland@hack.frob.com>
33223         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
33224         (do_lookup_unique): ... local function 'enter' here; update callers.
33226 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
33228         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
33229         compat_symbol calls on [SHARED].
33230         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
33231         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
33232         Remove.
33233         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33234         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
33235         (oldsetrlimit): Remove.
33236         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33238         (lchown): New syscall entry.
33239         (oldsetrlimit): Remove.
33240         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33241         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
33242         (oldsetrlimit): Remove.
33243         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33245         [BZ #14138]
33246         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
33247         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
33248         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
33249         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
33250         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33251         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
33252         (fchown): Likewise.
33253         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
33254         (fchown): Likewise.
33255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
33256         Likewise.
33258 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33260         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
33261         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
33262         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
33263         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
33264         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
33265         Likewise.
33266         (__old_sem_post): Likewise.
33268 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
33270         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
33271         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
33272         HAVE_CLOCK_GETTIME_VSYSCALL macros.
33273         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
33274         Use INLINE_VSYSCALL macro.
33275         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
33276         __vdso_clock_gettime.
33277         * sysdeps/unix/sysv/linux/tile/init-first.c
33278         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
33279         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
33280         __vdso_clock_gettime.
33282         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
33283         to set up frame more cleanly.
33285         * sysdeps/tile/memcmp.c: New file.
33287         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
33289         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33290         * sysdeps/tile/tilegx/strcasestr.c: New file.
33291         * sysdeps/tile/tilegx/strnlen.c: New file.
33292         * sysdeps/tile/tilegx/strstr.c: New file.
33294         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33296 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33298         * nptl/tst-setuid3.c: Write errors to stdout.
33300 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33302         * elf/dl-deps.c
33303         (preload): New functions broken out of _dl_map_object_deps.
33304         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33306 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33308         [BZ #14138]
33309         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33310         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33312 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33314         * sysdeps/mips/strcmp.S: New.
33316 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33318         [BZ #14138]
33319         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33320         (linkat): Likewise.
33321         (mkdirat): Likewise.
33322         (readlinkat): Likewise.
33323         (renameat): Likewise.
33324         (symlinkat): Likewise.
33325         (unlinkat): Likewise.
33326         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33327         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33328         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33329         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33330         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33331         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33332         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33334 2014-09-30  Will Newton  <will.newton@linaro.org>
33336         * math/math.h: Define long double math functions if
33337         _LIBC_TEST is defined.
33338         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33340         * localedata/Makefile: Move assignment to tests-special
33341         into an ifdef testing run-built-tests.
33342         * timezone/Makefile: Likewise.
33344 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33346         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33347         with $(BASH) not $(SHELL).
33349 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
33350             Matthew LeGendre  <legendre1@llnl.gov>
33352         [BZ #17411]
33353         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33354         l_reloc_result.
33356 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33358         * stdio-common/printf_fp.c
33359         (hack_digit): New function, broken out of ...
33360         (__printf_fp): ... local function here.  Update call sites.
33361         hack_digit now takes an additional parameter that is a pointer
33362         to a struct of the referenced locals.  Those locals moved inside
33363         the struct and references updated.
33365 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33367         * aclocal.m4: Require autoconf 2.69.
33368         * configure: Regenerated.
33369         * sysdeps/aarch64/configure: Likewise.
33370         * sysdeps/alpha/configure: Likewise.
33371         * sysdeps/arm/armv7/configure: Likewise.
33372         * sysdeps/arm/configure: Likewise.
33373         * sysdeps/ia64/configure: Likewise.
33374         * sysdeps/mach/configure: Likewise.
33375         * sysdeps/mips/configure: Likewise.
33376         * sysdeps/s390/configure: Likewise.
33377         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33380         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33381         file.
33382         * sysdeps/ia64/configure.ac: Likewise.
33384 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33387         specify symbol version for ld.so.  Do not include entry for
33388         libpthread.
33389         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33390         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33391         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33393         [BZ #14171]
33394         * Makeconfig [$(build-shared) = yes]
33395         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33396         makefiles.
33397         [$(build-shared) = yes && $(soversions.mk-done) = t]
33398         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33399         [$(build-shared) = yes && $(soversions.mk-done) = t]
33400         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33401         to Makerules.
33402         [$(build-shared) = yes && $(soversions.mk-done) = t]
33403         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33404         here.
33405         [$(build-shared) = yes && $(soversions.mk-done) = t]
33406         (common-generated): Don't append gnu/lib-names.h and
33407         gnu/lib-names.stmp here.
33408         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33409         (lib-names-h-abi): New variable.
33410         [$(build-shared) = yes && $(soversions.mk-done) = t]
33411         (lib-names-stmp-abi): Likewise.
33412         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33413         abi-variants] (before-compile): Append
33414         $(common-objpfx)$(lib-names-h-abi).
33415         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33416         abi-variants] (common-generated): Append gnu/lib-names.h.
33417         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33418         abi-variants] (install-others-nosubdir): Depend on
33419         $(inst_includedir)/$(lib-names-h-abi).
33420         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33421         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33422         [$(build-shared) = yes && $(soversions.mk-done) = t]
33423         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33424         [$(build-shared) = yes && $(soversions.mk-done) = t]
33425         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33426         [$(build-shared) = yes && $(soversions.mk-done) = t]
33427         (common-generated): Append $(lib-names-h-abi) and
33428         $(lib-names-stmp-abi).
33429         * scripts/lib-names.awk: Do not handle multi being set.
33430         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33431         Remove variable.
33432         (abi-lp64_be-ld-soname): Likewise.
33433         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33434         Likewise.
33435         (abi-hard-ld-soname): Likewise.
33436         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33437         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33438         Remove variable.
33439         (abi-o32_hard-ld-soname): Likewise.
33440         (abi-o32_soft_2008-ld-soname): Likewise.
33441         (abi-o32_hard_2008-ld-soname): Likewise.
33442         (abi-n32_soft-ld-soname): Likewise.
33443         (abi-n32_hard-ld-soname): Likewise.
33444         (abi-n32_soft_2008-ld-soname): Likewise.
33445         (abi-n32_hard_2008-ld-soname): Likewise.
33446         (abi-n64_soft-ld-soname): Likewise.
33447         (abi-n64_hard-ld-soname): Likewise.
33448         (abi-n64_soft_2008-ld-soname): Likewise.
33449         (abi-n64_hard_2008-ld-soname): Likewise.
33450         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33451         Likewise.
33452         (abi-64-v2-ld-soname): Likewise.
33453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33454         ld.so entries.
33455         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33456         variable.
33457         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33458         entry.
33459         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33460         variable.
33461         (abi-64-ld-soname): Likewise.
33462         (abi-x32-ld-soname): Likewise.
33463         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33464         entry.
33465         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33467 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33469         [BZ #14138]
33470         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33471         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33472         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33473         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33474         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33475         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33476         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33477         syscall entry for GLIBC_2.2 symbol version.
33478         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33479         Likewise.
33480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33481         (setrlimit): Likewise.
33482         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33483         Likewise.
33485 2014-09-23  Will Newton  <will.newton@linaro.org>
33487         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33488         _LINUX_ARM_SYSDEP_H include guard too.
33489         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33490         define.
33492 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33494         * sysdeps/unix/sysv/linux/eventfd.c:
33495         Make first argument unsigned.
33496         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33497         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33499 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33501         [BZ #16852]
33502         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33503         * socket/sys/socket.h: Likewise.
33504         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33506 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33508         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33510 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33512         * time/tst-ftime.c: New test.
33513         * time/Makefile (tests): Add tst-ftime.
33515 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33517         * soft-fp/extended.h: Fix comment formatting.
33518         * soft-fp/op-1.h: Likewise.
33519         * soft-fp/op-2.h: Likewise.
33520         * soft-fp/op-4.h: Likewise.
33521         * soft-fp/op-8.h: Likewise.
33522         * soft-fp/op-common.h: Likewise.
33523         * soft-fp/soft-fp.h: Likewise.
33525         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33527 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33529         [BZ #6652]
33530         * Makeconfig (soversions-default-setname): Remove variable.
33531         ($(common-objpfx)soversions.i): Don't pass default_setname to
33532         soversions.awk.
33533         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33534         oldest_abi to abi-versions.awk.
33535         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33536         * config.make.in (oldest-abi): Remove variable.
33537         * configure.ac (--enable-oldest-abi): Remove configure option.
33538         * configure: Regenerated.
33539         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33540         text.
33541         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33542         * scripts/soversions.awk: Do not handle default_setname variable.
33543         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33544         variable.
33545         * sysdeps/mach/hurd/configure: Regenerated.
33546         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33547         variable.
33548         * sysdeps/unix/sysv/linux/configure: Regenerated.
33550 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33552         * elf/Makefile (CFLAGS-interp.c): Remove.
33553         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33554         path string.
33555         * elf/interp.c: Include generated runtime-linker.h
33557         * Makerules (lib%.so): Don't include $(+interp) in
33558         prerequisites.
33559         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33560         * dlfcn/eval.c: Remove file.
33562         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33563         macros.
33565         [BZ #17266]
33566         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33567         4.2 and newer.
33569         [BZ #17370]
33570         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33572 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33573             Jakub Jelinek  <jakub@redhat.com>
33575         [BZ #17266]
33576         * libio/stdio.h: Check definition of __fortify_function
33577         instead of __extern_always_inline to include bits/stdio2.h.
33578         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33579         check if __extern_always_inline is defined.
33580         [__USE_MISC || __USE_XOPEN]: Likewise.
33581         [__USE_ISOC99] Likewise.
33582         * misc/sys/cdefs.h (__fortify_function): Define only if
33583         __extern_always_inline is defined.
33584         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33585         __extern_always_inline and __extern_inline only for g++-4.3
33586         and newer or a compatible gcc.
33588 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33590         [BZ #17371]
33591         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33592         last change to handle zero prefix length.
33594 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33596         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33597         _SC_REGEX_VERSION.
33599         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33600         _POSIX_RAW_SOCKETS.
33602 2014-09-13  Allan McRae  <allan@archlinux.org>
33604         * po/ru.po: Update Russian translation from translation project.
33606 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33608         * locale/programs/locale.c (show_locale_vars): Inline local function
33609         into its sole call site.  Clean up some style nits.
33610         (print_item): New function, broken out of ...
33611         (show_info): ... local function here.  Clean up style nits.
33613         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33614         out of ...
33615         (set_class_defaults): ... local function set_default here.
33616         Define set_default as a macro locally to pass constant parameters.
33617         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33618         rather than a shared local.
33620         * stdlib/rpmatch.c (try): New function, broken out of ...
33621         (rpmatch): ... local function here.  Also, prototypify definition.
33623 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33625         * scripts/soversions.awk: Do not handle configuration names.
33626         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33627         vendor and os variables to soversions.awk.
33628         * configure.ac: Do not modify gnu-* host_os.
33629         * configure: Regenerated
33630         * shlib-versions: Remove first column with configuration names.
33631         * nptl/shlib-versions: Likewise.
33632         * nptl_db/shlib-versions: Likewise.
33633         * sysdeps/hppa/shlib-versions: Likewise.
33634         * sysdeps/m68k/shlib-versions: Likewise.
33635         * sysdeps/mach/hurd/shlib-versions: Likewise.
33636         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33637         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33638         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33639         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33640         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33641         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33642         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33643         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33645         Likewise.
33646         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33647         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33648         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33649         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33650         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33651         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33652         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33653         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33656         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33658         Regenerated.
33659         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33661         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33663         * shlib-versions: Remove OS-specific entries.  Moved to files in
33664         sysdeps.
33665         * sysdeps/mach/hurd/shlib-versions: New file.
33666         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33668         * nptl/shlib-versions: Remove architecture-specific entries.
33669         Moved to files in sysdeps.
33670         * shlib-versions: Likewise.
33671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33672         file.
33673         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33674         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33675         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33676         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33678         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33679         (UDP_NO_CHECK6_RX): Likewise.
33681 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33683         * sysdeps/posix/sysconf.c (__sysconf): Spell
33684         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33686 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33688         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33689         loading.
33690         * iconv/Versions (__gconv_transliterate): Export for use from
33691         gconv modules.
33692         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33693         (struct __gconv_trans_data, __gconv_trans_fct,
33694         __gconv_trans_context_fct, __gconv_trans_query_fct,
33695         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33696         definitions.
33697         (struct __gconv_step_data): Remove __trans member.
33698         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33699         longer hidden.  Remove unused trans_data argument.
33700         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33701         (__gconv_translit_find): Remove declaration.
33702         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33703         prototype.
33704         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33705         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33706         trans_data argument.  Add hidden definition.
33707         (__gconv_translit_find): Remove.
33708         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33709         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33710         * iconv/skeleton.c: Remove transliteration initialization.
33711         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33712         __gconv_step_data initialization.
33713         * libio/iofwide.c (__libio_translit_): Remove.
33714         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33715         * wcsmbs/btowc.c (__btowc): Likewise.
33716         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33717         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33718         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33719         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33720         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33721         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33722         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33723         * wcsmbs/wctob.c (wctob): Likewise.
33725 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33727         [BZ #16194]
33728         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33729         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33730         register usage.
33731         * sysdeps/x86/Makefile: Adjust.
33733 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33734             Roland McGrath  <roland@hack.frob.com>
33736         * locale/weight.h: Add include guard.
33737         (findidx): Make static rather than auto; take new parameters
33738         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33739         * locale/weightwc.h: Likewise.
33740         * posix/fnmatch_loop.c
33741         (FCT): Change type of EXTRA from int32_t to wint_t.
33742         Don't include either header inside the function.
33743         Call FINDIDX rather than findidx, and pass new arguments.
33744         #undef FINDIDX at the end of the file.
33745         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33746         FINDIDX before including fnmatch_loop.c for the non-wide version.
33747         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33748         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33749         for the wide version.
33750         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33751         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33752         Pass new arguments to findidx.
33753         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33754         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33755         Don't #include it inside the function.  Pass new arguments to findidx.
33756         * posix/regex_internal.h
33757         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33758         (re_string_elem_size_at): Don't #include it inside the function.
33759         Pass new arguments to findidx.
33760         * string/strcoll_l.c: #include WEIGHT_H at top level.
33761         (get_next_seq): Don't #include it inside the function.
33762         Pass new arguments to findidx.
33763         (get_next_seq_nocache): Likewise.
33764         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33765         (STRXFRM): Don't #include it inside the function.
33766         Pass new arguments to findidx.
33768 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33770         [BZ #17344]
33771         * malloc/malloc.c (unlink): Turn asserts into a call to
33772         malloc_printerr.
33774 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33776         [BZ #17370]
33777         * libio/wfileops (do_ftell_wide): Free OUT.
33779 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33781         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33783 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33785         [BZ #17363]
33786         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33787         group if the current group is empty.
33789 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33791         * benchtests/bench-memset.c (test_main): Add more test from size
33792         from 32 to 512 bytes.
33793         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33794         Add POWER8 memset object.
33795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33796         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33797         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33798         implementation.
33799         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33800         Likewise.
33801         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33802         multiarch POWER8 memset optimization.
33803         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33804         POWER8 memset optimization.
33806         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33807         Remove bzero multiarch objects.
33808         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33809         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33810         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33811         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33812         Remove define.
33813         [__bzero]: Redefine to specific name.
33814         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33815         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33816         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33817         define.
33818         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33819         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33821 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33823         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33824         warnings into errors.
33826         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33827         __cxa_thread_atexit_impl prototype.
33829 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33831         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33832         Fix capitalization of error message.
33834 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33836         * sysdeps/mips/preconfigure: Modify ABI tests.
33838 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33840         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33842 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33843             Carlos O'Donell  <carlos@systemhalted.org>
33845         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33846         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33847         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33848         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33849         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33850         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33851         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33852         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33853         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33854         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33855         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33856         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33857         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33858         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33859         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33860         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33861         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33862         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33863         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33864         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33865         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33866         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33867         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33868         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33869         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33870         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33871         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33872         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33873         Deconditionalize the code that was previously under [RESET_PID].
33874         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33875         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33876         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33877         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33878         include sysdep.h.
33880 2014-09-08  Allan McRae  <allan@archlinux.org>
33882         * version.h (RELEASE): Set to "development".
33883         (VERSION): Set to "2.20.90"
33885 2014-09-07  Allan McRae  <allan@archlinux.org
33887         * version.h (RELEASE): Set to "stable".
33888         (VERSION): Set to "2.20"
33889         * include/features.h (__GLIBC_MINOR__): Set to 20.
33891         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33892         Liebler.
33894         * po/ko.po: Update Korean translation from translation project.
33896 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33898         [BZ #17354]
33899         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33900         macro for handling signed relocations.
33902 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33904         [BZ #17325]
33905         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33906         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33907         assert.
33908         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33909         * iconvdata/ibm935.c (BODY): Likewise.
33910         * iconvdata/ibm937.c (BODY): Likewise.
33911         * iconvdata/ibm939.c (BODY): Likewise.
33912         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33913         assert.
33914         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33915         script.
33916         * iconvdata/run-iconv-test.sh: New test loop for checking for
33917         decoder crashers.
33919 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33921         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33922         libm_hidden_ver.
33924 2014-09-01  Allan McRae  <allan@archlinux.org>
33926         * po/eo.po: Update Esperanto translation from translation project.
33928         * po/ca.po: Update Catalan translation from translation project.
33930 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33932         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33933         __proc_dostop call.
33935 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33937         [BZ #17319]
33938         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33939         to call set_thread_area instead of hand written asm.
33940         (__NR_set_thread_area): Removed define.
33941         (TLS_FLAG_WRITABLE): Likewise.
33942         (__ASSUME_SET_THREAD_AREA): Remove check.
33943         (TLS_EBX_ARG): Remove define.
33944         (TLS_LOAD_EBX): Likewise.
33946 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33948         Simplify atomicity of socket creation in bind.
33950         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33951         looking up the name after linking the file.
33953 2014-08-27  Allan McRae  <allan@archlinux.org>
33955         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33957 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33959         [BZ #17187]
33960         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33961         trans_compare, open_translit, __gconv_translit_find):
33962         Remove module loading code.
33964 2014-08-26  Allan McRae  <allan@archlinux.org>
33966         * po/vi.po: Update Vietnamese translation from translation project.
33968         * po/uk.po: Update Ukrainian translation from translation project.
33970         * po/fr.po: Update French translation from translation project.
33972         * po/ru.po: Update Russian translation from translation project.
33974         * po/pl.po: Update Polish translation from translation project.
33976         * po/cs.po: Update Czech translation from translation project.
33978         * po/de.po: Update German translation from translation project.
33980         * po/bg.po: Update Bulgarian translation from translation project.
33982         * po/sv.po: Update Sweedish translation from translation project.
33984         * po/nl.po: Update Dutch translation from translation project.
33986         * po/es.po: Update Spanish translation from translation project.
33988 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33990         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33992         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33993         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33994         (CPPFLAGS-iconvconfig): Likewise.
33995         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33997         * include/libc-symbols.h: Remove unnecessary check for
33998         NOT_IN_libc.
33999         * nptl/pthreadP.h: Likewise.
34000         * sysdeps/aarch64/setjmp.S: Likewise.
34001         * sysdeps/alpha/setjmp.S: Likewise.
34002         * sysdeps/arm/sysdep.h: Likewise.
34003         * sysdeps/i386/setjmp.S: Likewise.
34004         * sysdeps/m68k/setjmp.c: Likewise.
34005         * sysdeps/posix/getcwd.c: Likewise.
34006         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34007         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34008         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34009         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34010         * sysdeps/sh/sh3/setjmp.S: Likewise.
34011         * sysdeps/sh/sh4/setjmp.S: Likewise.
34012         * sysdeps/unix/alpha/sysdep.h: Likewise.
34013         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34015         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34016         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34019         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34021         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34024         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34025         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34026         * sysdeps/x86_64/setjmp.S: Likewise.
34028 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
34030         [BZ #17263]
34031         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
34032         <stdint.h>.
34033         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
34034         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
34036 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34038         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
34040         [BZ #17262]
34041         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
34042         and __x86_64__ when disabling x87 inline functions.
34044 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34046         [BZ #17259]
34047         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
34048         asm statement with __cpuid_count.
34050 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
34052         * configure.ac: Change __ehdr_start code to dereference the struct.
34053         Run readelf on the output to look for relocations.
34054         * configure: Regenerated.
34056 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
34058         [BZ #17261]
34059         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
34060         value to 0.
34061         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
34063 2014-08-12  Roland McGrath  <roland@hack.frob.com>
34065         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
34067 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
34069         [BZ #16892]
34070         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
34071         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
34073 2014-08-12  Sean Anderson  <seanga2@gmail.com>
34075         * malloc/malloc.c: Fix typo in comment.
34077 2014-08-09  Allan McRae  <allan@archlinux.org>
34079         * Regenerate libc.po.
34081 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
34083         * intl/tst-gettext2.sh: Check every lang file for creation.
34085 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
34087         * sysdeps/aarch64/fpu/math_private.h
34088         (libc_feholdsetround_noex_aarch64_ctx): New function.
34090 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
34092         * sysdeps/arm/armv6/strcpy.S (strcpy):
34093         Fix performance issue in misaligned cases.
34095 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34097         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
34098         Move definition from termios.h.
34099         (struct termio): Likewise.
34100         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34101         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34102         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34103         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34104         Likewise.
34105         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
34106         Move definition to ioctl-types.h
34107         (struct termio): Likewise.
34108         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34109         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34110         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34111         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34112         Likewise.
34114 2014-08-05  Richard Henderson  <rth@redhat.com>
34116         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
34117         exceptions.
34118         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
34119         Add fraiseexcpt.
34120         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
34121         Use __feraiseexcept.
34122         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
34123         Protect libm symbols with IS_IN_libm.
34125         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
34127 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
34129         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
34131 2014-08-04  Will Newton  <will.newton@linaro.org>
34133         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
34134         file.
34136 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
34138         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
34139         variants for each function.
34141 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34143         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
34144         appended ...
34145         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
34146         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
34147         appended ...
34148         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
34149         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
34150         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
34151         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
34152         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
34153         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
34154         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
34155         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
34156         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
34157         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
34158         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
34159         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
34160         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
34161         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
34162         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
34163         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
34164         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
34165         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
34166         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
34167         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
34168         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
34169         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
34170         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
34171         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
34172         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
34173         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
34174         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
34175         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
34176         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
34177         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
34178         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
34179         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
34180         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
34181         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
34182         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
34183         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
34184         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
34185         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
34186         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
34187         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
34188         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
34189         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
34190         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
34191         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
34192         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
34193         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
34194         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
34195         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
34196         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
34197         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
34198         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
34199         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
34200         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
34201         Update #include.
34202         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
34203         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
34205 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34207         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
34208         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
34209         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
34210         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
34211         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
34212         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
34214 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34216         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
34217         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
34218         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34219         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
34221 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34223         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
34224         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
34225         (__libc_vfork): Define function under this name.
34226         (__vfork): Define as an alias.
34227         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
34228         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
34230 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34232         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
34233         that was previously under [RESET_PID].
34234         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
34236 2014-08-04  Andreas Schwab  <schwab@suse.de>
34238         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
34240 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
34242         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
34243         (main): Likewise.
34245 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34247         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
34249 2014-08-01  Richard Henderon  <rth@redhat.com>
34251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
34252         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
34253         typo in exact zero test.
34254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34255         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34256         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34258 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34260         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
34261         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
34262         * sysdeps/arm/sysdep.h: ... here.
34263         [!__ASSEMBLER__]: Include <stdint.h>.
34265 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34267         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
34268         (HAVE_WCTYPE_H): Likewise.
34269         (HAVE_ISWCTYPE): Likewise.
34270         (ENABLE_NLS): Likewise.
34271         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
34272         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
34274         * posix/regex_internal.c: Check if DEBUG is defined and is
34275         set.
34277         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
34278         (HAVE_MBSRTOWCS): Likewise.
34279         * posix/fnmatch.c: Include string.h unconditionally.
34281 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34283         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
34284         reversal.
34286 2014-07-31  Roland McGrath  <roland@hack.frob.com>
34288         * sysdeps/generic/safe-fatal.h: New file.
34289         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
34290         * nptl/forward.c: Include it.
34291         (__pthread_unwind): Use __safe_fatal as default action, rather
34292         than a bogus use of INTERNAL_SYSCALL that could never work.
34294         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34295         * configure.ac (libc_cv_builtin_trap): New test.
34296         * configure: Regenerated.
34297         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34298         (ABORT_INSTRUCTION): Define using __builtin_trap.
34300         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34301         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34302         * sysdeps/nptl/nptl-signals.h: New file.
34303         * nptl/pthreadP.h: Include <nptl-signals.h>.
34305 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34307         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34308         (ONE_DIRECTION): Define.
34309         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34310         (ONE_DIRECTION): Define.
34311         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34312         (ONE_DIRECTION): Define.
34314 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34316         * sysdeps/s390/Makefile: Delete file.
34317         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34318         * sysdeps/s390/__longjmp.c: Delete file.
34319         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34320         Remove fields __flags and __reserved.
34321         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34322         and add versioning.
34323         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34324         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34325         * sysdeps/s390/rtld-setjmp.S: Likewise.
34326         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34327         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34328         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34329         * sysdeps/s390/s390-32/setjmp.S: ... here.
34330         Add versioning.
34331         (__sigsetjmp): Remove setting __flags field.
34332         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34333         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34334         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34335         * sysdeps/s390/s390-64/setjmp.S: ... here.
34336         Add versioning.
34337         (__sigsetjmp): Remove setting __flags field.
34338         * sysdeps/s390/setjmp.S: Delete file.
34339         * sysdeps/s390/sigjmp.c: Likewise.
34340         * sysdeps/s390/v1-longjmp.c: Likewise.
34341         * sysdeps/s390/v1-setjmp.h: Likewise.
34342         * sysdeps/s390/v1-sigjmp.c: Likewise.
34343         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34344         Remove v1-longjmp_chk.
34345         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34346         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34347         Include debug/longjmp_chk.c and add versioning.
34348         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34349         Include nptl/pt-longjmp.c and add versioning.
34350         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34351         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34352         Include __longjmp.c.
34353         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34354         Move to ...
34355         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34356         (__getcontext): Remove setting __flags field.
34357         Add versioning.
34358         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34359         Don't restore upper high grps.
34360         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34361         Likewise.
34362         (__swapcontext): Remove setting uc_flags field.
34363         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34364         Delete file.
34365         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34366         Include __longjmp.c.
34367         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34368         Move to ...
34369         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34370         (__getcontext): Remove setting __flags field.
34371         Add versioning.
34372         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34373         (__swapcontext): Remove setting uc_flags field.
34374         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34375         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34376         Remove fields uc_high_gprs and __reserved.
34377         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34378         New file with reverted content.
34379         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34380         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34381         Regenerated.
34382         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34383         Regenerated.
34385 2014-07-31  Andreas Schwab  <schwab@suse.de>
34387         * config.h.in (HAVE_IFUNC): Define to 0.
34388         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34389         definedness.
34391 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34394         memmove-avx-unaligned, memcpy-avx-unaligned and
34395         mempcpy-avx-unaligned.
34396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34397         Add tests for AVX memcpy functions.
34398         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34399         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34400         memcpy_chk.
34401         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34402         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34403         memmove_chk.
34404         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34405         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34406         mempcpy_chk.
34407         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34408         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34409         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34411 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34413         [BZ #17213]
34414         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34415         powerpc64le.
34417 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34419         [BZ #16839]
34420         * manual/llio.texi: Add section about open file description locks.
34421         * manual/examples/ofdlocks.c: Example of open file description
34422         lock usage.
34423         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34424         F_OFD_SETLK, and F_OFD_SETLKW.
34426 2014-07-23  Allan McRae  <allan@archlinux.org>
34428         * po/es.po: Update Spanish translation from translation project.
34430 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34432         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34434 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34436         [BZ #17078]
34437         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34438         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34439         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34441 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34443         [BZ #17088]
34444         * math/fesetenv.c (__fesetenv)
34445         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34446         * math/feupdateenv.c (__feupdateenv)
34447         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34449         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34450         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34451         (__ASSUME_SOCKETCALL): Do not define.
34453         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34454         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34455         (__ASSUME_SOCKETCALL): Do not define.
34456         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34457         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34458         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34459         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34460         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34461         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34463         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34465         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34466         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34467         (__ASSUME_SOCKETCALL): Do not define.
34468         (__ASSUME_IPC64): Define unconditionally.
34469         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34470         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34471         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34472         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34473         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34474         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34475         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34476         Likewise.
34478         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34479         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34480         (__ASSUME_SOCKETCALL): Do not define.
34481         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34482         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34483         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34484         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34485         (__ASSUME_REQUEUE_PI): Define unconditionally.
34486         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34487         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34488         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34489         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34490         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34491         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34493         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34494         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34495         (__ASSUME_SOCKETCALL): Do not define.
34496         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34497         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34498         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34499         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34501         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34503         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34504         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34505         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34506         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34507         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34508         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34509         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34510         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34511         (__ASSUME_GETCPU_SYSCALL): Likewise.
34513         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34514         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34515         cases for individual architectures.
34516         * sysdeps/gnu/configure: Regenerated.
34517         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34518         LIBC_SLIBDIR_RTLDDIR.
34519         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34520         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34521         LIBC_SLIBDIR_RTLDDIR.
34522         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34524         LIBC_SLIBDIR_RTLDDIR.
34525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34526         Regenerated.
34527         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34528         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34529         file.
34530         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34531         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34532         file.
34533         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34534         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34535         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34536         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34538         * sysdeps/aarch64/shlib-versions: Move to ...
34539         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34540         * sysdeps/alpha/shlib-versions: Move to ...
34541         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34542         * sysdeps/arm/shlib-versions: Move to ...
34543         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34544         * sysdeps/hppa/shlib-versions: Move all contents except for
34545         libgcc_s entry to ...
34546         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34547         entry from ...
34548         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34549         * sysdeps/ia64/shlib-versions: Move to ...
34550         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34551         entry from ...
34552         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34553         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34554         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34555         * sysdeps/microblaze/shlib-versions: Move to ...
34556         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34557         * sysdeps/mips/shlib-versions: Move to ...
34558         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34559         entry from ...
34560         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34561         * sysdeps/tile/shlib-versions: Move to ...
34562         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34563         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34564         from ...
34565         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34566         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34567         entry from ...
34568         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34570 2014-07-17  Will Newton  <will.newton@linaro.org>
34572         * sysdeps/arm/bits/atomic.h
34573         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34574         (__arch_compare_and_exchange_bool_16_int): Likewise.
34575         (__arch_compare_and_exchange_bool_64_int): Likewise.
34577         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34578         into an #else block.
34580 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34582         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34583         just Linux configurations.  Test empirically that the compiler sets
34584         __ARM_EABI__, rather than using the tuple to decide.
34585         * sysdeps/arm/preconfigure: Regenerated.
34586         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34587         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34588         contents appended ...
34589         * sysdeps/arm/configure.ac: ... here.
34590         * sysdeps/arm/configure: Regenerated.
34592 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34594         * nptl/pthread_kill.c: New file.
34595         * nptl/pthread_sigmask.c: New file.
34596         * nptl/pthread_sigqueue.c: New file.
34598         * sysdeps/nptl/lowlevellock.h: New file.
34599         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34600         * sysdeps/nptl/lowlevellock-futex.h: New file.
34602         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34603         Remove dead declarations.
34605 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34607         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34608         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34609         config-cflags-avx2.
34610         * sysdeps/x86_64/configure.ac: Likewise.
34611         * sysdeps/i386/configure: Regenerated.
34612         * sysdeps/x86_64/configure: Likewise.
34613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34614         memset-avx2 only if config-cflags-avx2 is yes.
34615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34616         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34617         defined.
34618         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34619         only if HAVE_AVX2_SUPPORT is defined.
34620         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34622 2014-07-14  Alan Modra  <amodra@gmail.com>
34624         [BZ #17153]
34625         * elf/elf.h (DT_PPC64_NUM): Correct value.
34626         * NEWS: Add to fixed bug list.
34628 2014-07-13  Jim Meyering  <meyering@fb.com>
34630         [BZ 17150]
34631         regex: don't deref NULL upon heap allocation failure
34632         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34633         failure in one more place.
34634         To trigger the segfault, configure grep -with-included-regex,
34635         build it, and run these commands:
34636         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34638 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34640         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34642 2014-07-11  Richard Henderson  <rth@redhat.com>
34644         * sysdeps/aarch64/libm-test-ulps: Update.
34646 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34648         [BZ #17135]
34649         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34650         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34651         (__nptl_setxid): Initialize error member.  Call
34652         __nptl_setxid_error.
34653         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34654         * nptl/descr.h (struct xid_command): Add error member.
34655         * nptl/tst-setuid3.c: New file.
34656         * nptl/Makefile (tests): Add it.
34658 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34660         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34661         New define.
34662         (__lll_trylock): Use __lll_base_trylock.
34663         (__lll_cond_trylock): Likewise.
34665 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34667         * nptl/pthread_create.c (start_thread): Use atomic_or and
34668         lll_futex_wake directly rather than lll_robust_dead.
34669         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34670         (lll_robust_dead): Macro removed.
34671         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34672         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34673         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34674         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34675         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34676         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34677         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34678         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34679         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34680         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34681         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34682         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34683         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34684         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34685         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34687         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34688         Use atomic_compare_and_exchange_val_acq directly rather than
34689         lll_robust_trylock.
34690         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34691         (__lll_robust_trylock, lll_robust_trylock): Removed.
34692         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34693         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34694         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34695         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34696         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34697         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34698         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34699         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34700         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34701         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34702         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34703         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34704         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34705         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34707 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34709         * manual/locale.texi (Locale Names): New section documenting
34710         locale name syntax.  Adjust menu and node chaining accordingly.
34711         (Choosing Locale): Reference Locale Names, Locale Categories.
34712         Mention setting LC_ALL=C.  Reflect that name syntax is now
34713         documented.
34714         (Locale Categories): New section title.  Reference Locale Names.
34715         LC_ALL is an environment variable, but not a category.
34716         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34717         description, now in Locale Name.  Reference that section.  Locale
34718         name syntax is now documented.
34720 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34722         [BZ #17137]
34723         * locale/findlocale.c (name_present, valid_locale_name): New
34724         functions.
34725         (_nl_find_locale): Use the loc_name variable to store name
34726         candidates.  Call name_present and valid_locale_name to check and
34727         validate locale names.  Return an error if the locale is invalid.
34729 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34731         * locale/setlocale.c (setlocale): Use strdup for allocating
34732         composite name copy.
34734 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34736         Sync up with gnulib.
34737         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34738         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34739         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34740         and _GL_ARG_NONNULL.
34741         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34742         [!_LIBC]: Include code for Windows and Cygwin.
34743         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34744         Include prototype for int strerror_r.
34745         [!_LIBC] (is_open): New function.
34746         (flush_stdout): New function.
34747         (print_errno_message): Use it.
34748         (error): Likewise.
34749         (error_at_line): Likewise.
34750         (error_tail) Add function attribute macros.  Use
34751         __builtin_expect.
34753         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34755         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34757         * io/ftw.c: Include sys/param.h unconditionally.
34759         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34761         [BZ #17125]
34762         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34763         libc_freeres_ptr.
34764         (freecache): New function to free CACHE on exit.
34766         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34767         initialization.
34769 2014-07-09  David S. Miller  <davem@davemloft.net>
34771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34773         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34774         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34775         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34776         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34777         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34778         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34779         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34780         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34781         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34782         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34783         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34784         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34785         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34787 2014-07-09  Andreas Schwab  <schwab@suse.de>
34789         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34790         output.
34791         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34792         (do_test): Likewise.
34794         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34796 2014-07-09  Will Newton  <will.newton@linaro.org>
34798         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34799         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34800         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34801         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34802         * sysdeps/hppa/start.S (_start): Likewise.
34804 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34806         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34808         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34809         defined.
34811 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34813         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34814         after checking that it is non-NULL.
34816         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34818 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34820         * sysdeps/powerpc/memmove.c: Remove file.
34821         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34822         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34823         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34824         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34825         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34826         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34827         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34828         string memmove instead of removed powerpc one.
34830         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34831         [weak_alias]: Fix compiler warning due trailing data.
34832         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34833         [weak_alias]: Likewise.
34834         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34835         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34838         (__libc_ifunc_impl_list): Add memmove functions.
34840 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34842         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34843         Remove code.
34844         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34845         Likewise.
34846         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34847         Likewise.
34848         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34849         Likewise.
34850         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34851         Likewise.
34852         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34853         Likewise.
34854         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34855         Likewise.
34856         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34857         Likewise.
34858         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34859         Likewise.
34860         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34861         Likewise.
34862         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34863         Likewise.
34864         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34865         Likewise.
34866         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34867         Likewise.
34868         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34869         Likewise.
34870         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34871         Likewise.
34872         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34873         Likewise.
34874         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34875         Likewise.
34877 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34879         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34880         to avoid alignment traps in non-cacheable memory.
34881         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34884         multiarch objects.
34885         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34886         file: multiarch power7 memmove.
34887         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34888         multiarch default memmove.
34889         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34890         multiarch memove for powerpc32/power4.
34892         * string/bcopy.c: Use full path to include memmove.c.
34893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34894         multiarch objects.
34895         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34896         bcopy for powerpc64.
34897         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34898         bcopy for powerpc64.
34899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34900         and memmove implementations.
34901         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34902         optimized multiarch memmove for POWER7/powerpc64.
34903         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34904         default multiarch memmove for powerpc64.
34905         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34906         multiarch for powerpc64.
34907         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34908         for POWER7/powerpc64.
34909         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34910         memmove for POWER7/powerpc64.
34912         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34913         glibc default one.
34915         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34916         __ELF_NATIVE_CLASS equal to 64.
34918 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34920         * sysdeps/nptl/lowlevellock.h: File removed.
34922         * NEWS: NPTL is no longer an add-on!
34923         * nptl/internaltypes.h: Moved ...
34924         * sysdeps/nptl/internaltypes.h: ... here.
34925         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34926         * sysdeps/nptl/fork.c: Likewise.
34927         * sysdeps/nptl/gai_misc.h: Likewise.
34928         * sysdeps/nptl/librt-cancellation.c: Likewise.
34929         * sysdeps/nptl/jmp-unwind.c: Likewise.
34930         * sysdeps/nptl/setxid.h: Likewise.
34931         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34932         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34933         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34934         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34935         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34936         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34937         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34938         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34939         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34940         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34941         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34942         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34943         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34944         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34945         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34946         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34947         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34948         * nptl/Makeconfig: Moved ...
34949         * sysdeps/nptl/Makeconfig: ... here.
34950         * nptl/configure: File removed.
34951         * nptl/ANNOUNCE: File removed.
34952         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34953         * sysdeps/unix/sysv/linux/configure: Regenerated.
34955         * nptl/Makefile (routines): Add libc_pthread_init,
34956         libc_multiple_threads, register-atfork and unregister-atfork.
34957         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34958         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34959         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34960         pthread-pi-defines.sym, structsem.sym.
34961         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34962         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34963         [$(subdir) = nptl] (tests): Add tst-setgetname.
34964         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34965         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34966         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34967         [!LIBC_SIGACTION]: Remove aliases.
34968         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34969         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34970         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34971         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34972         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34973         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34974         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34975         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34976         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34977         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34978         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34979         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34980         __libc_allocate_rtsig_private.
34981         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34982         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34983         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34984         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34985         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34986         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34987         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34988         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34989         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34990         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34991         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34992         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34993         * nptl/internaltypes.h: ... here.
34994         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34995         * sysdeps/nptl/jmp-unwind.c: ... here.
34996         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34997         * nptl/libc-lowlevellock.c: ... here.
34998         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34999         * nptl/libc_multiple_threads.c: ... here.
35000         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
35001         * nptl/libc_pthread_init.c: ... here.
35002         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
35003         * nptl/lowlevelbarrier.sym: ... here.
35004         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
35005         * nptl/lowlevelcond.sym: ... here.
35006         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
35007         * nptl/lowlevellock.c: ... here.
35008         * nptl/lowlevellock.h: Moved ...
35009         * sysdeps/nptl/lowlevellock.h: ... here.
35010         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
35011         * nptl/lowlevelrobustlock.c: ... here.
35012         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
35013         * nptl/lowlevelrobustlock.sym: ... here.
35014         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
35015         * nptl/lowlevelrwlock.sym: ... here.
35016         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
35017         * nptl/pt-fork.c: ... here.
35018         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
35019         * nptl/pthread-pi-defines.sym: ... here.
35020         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
35021         * nptl/pthread_attr_getaffinity.c: ... here.
35022         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
35023         * nptl/pthread_attr_setaffinity.c: ... here.
35024         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
35025         * nptl/pthread_mutex_cond_lock.c: ... here.
35026         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35027         Update #include.
35028         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
35029         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
35030         * nptl/pthread_once.c: ... here, replacing old file.
35031         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
35032         * nptl/pthread_yield.c: ... here.
35033         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
35034         * nptl/register-atfork.c: ... here.
35035         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
35036         * nptl/sem_post.c: ... here.
35037         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
35038         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
35039         * nptl/sem_timedwait.c: ... here.
35040         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
35041         * nptl/sem_trywait.c: ... here.
35042         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
35043         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
35044         * nptl/sem_wait.c: ... here.
35045         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
35046         * nptl/structsem.sym: ... here.
35047         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
35048         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
35049         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
35050         * nptl/unregister-atfork.c: ... here.
35051         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
35052         * nptl/unwindbuf.sym: ... here.
35053         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
35054         * sysdeps/nptl/fork.c: ... here.
35055         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
35056         * sysdeps/nptl/fork.h: ... here.
35057         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
35058         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
35059         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
35060         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
35061         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
35062         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
35063         * sysdeps/unix/sysv/linux/getpid.c: ... here.
35064         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
35065         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
35066         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
35067         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
35068         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
35069         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
35070         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
35071         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
35072         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
35073         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
35074         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
35075         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
35076         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
35077         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
35078         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
35079         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
35080         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
35081         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
35082         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
35083         * sysdeps/unix/sysv/linux/raise.c: ... here.
35084         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
35085         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
35086         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
35087         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
35088         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
35089         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
35090         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
35091         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
35092         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
35093         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
35094         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
35095         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
35096         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
35097         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
35098         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
35100 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35102         * sysdeps/generic/memcopy.h: Add comment for
35103         MEMCPY_OK_FOR_FWD_MEMMOVE.
35105 2014-07-04  Will Newton  <will.newton@linaro.org>
35107         * string/memchr.c: Merge from gnulib.
35108         [_LIBC]: Remove conditionals.
35109         (__ptr_t): Remove define.
35110         (LONG_MAX_32_BITS): Likewise.
35111         (LONG_MAX): Likewise.
35112         (MEMCHR): Use ANSI prototype and optimize algorithm.
35114         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
35116 2014-07-03  Roland McGrath  <roland@hack.frob.com>
35118         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
35119         (lll_futex_timed_wait_bitset): Fix syscall argument count.
35121         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
35122         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
35123         in a bare environment with no <stdlib.h> installed.
35124         * sysdeps/nptl/configure: Regenerated.
35126         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
35128         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
35129         AC_EGREP_CPP for kernel header checks, so they only succeed if
35130         including <linux/version.h> actually works right.
35131         * sysdeps/unix/sysv/linux/configure: Regenerated.
35133         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
35134         value so it's not diagnosed as unused.
35136         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
35137         thing) with "ifeq ($(subdir),rt)".
35139 2014-07-03  Richard Henderson  <rth@redhat.com>
35141         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
35142         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
35143         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
35145         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
35146         (math_force_eval): New.
35148         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
35149         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
35151         * sysdeps/alpha/fpu/s_round.c: Remove file.
35152         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
35154         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
35155         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
35156         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
35157         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
35158         (_dl_start, print_statistics): Likewise.
35159         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
35160         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
35162         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35163         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35164         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35165         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35166         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35167         (HP_SMALL_TIMING_AVAIL): Define.
35168         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35169         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35170         (HP_SMALL_TIMING_AVAIL): Define.
35171         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35172         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35174         * sysdeps/aarch64/hp-timing.h: New file.
35176         * sysdeps/generic/hp-timing.h: Remove dead comment.
35177         * sysdeps/generic/hp-timing-common.h: New file.
35178         * sysdeps/alpha/hp-timing.h: Include it.
35179         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
35180         * sysdeps/i386/i686/hp-timing.h: Likewise.
35181         * sysdeps/ia64/hp-timing.h: Likewise.
35182         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35183         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35184         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35185         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35186         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
35187         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
35188         (hp_timing_t): New.
35190         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
35191         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
35192         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
35193         * elf/rtld.c (_dl_start_final): Likewise.
35194         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
35195         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35196         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35197         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35198         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35199         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35200         (HP_TIMING_DIFF_INIT): Remove.
35201         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35202         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35203         (HP_TIMING_DIFF_INIT): Remove.
35204         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35205         * sysdeps/i386/i686/hp-timing.c: Remove file.
35206         * sysdeps/x86_64/hp-timing.c: Remove file.
35207         * sysdeps/ia64/hp-timing.c: Remove file.
35208         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
35209         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
35210         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
35211         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
35213         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
35214         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
35215         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
35216         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35217         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35218         (HP_TIMING_ACCUM): Remove.
35219         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35220         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
35221         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35223         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
35224         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
35225         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
35226         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
35227         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
35228         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35229         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
35230         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35232         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
35234 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
35236         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
35238 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35240         Sync up with gettext.
35241         * intl/loadmsgcat.c: Define O_BINARY if not defined.
35242         [_MSC_VER]: Include malloc.h
35243         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
35244         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
35245         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
35246         TEMP_FAILURE_RETRY.  Cast return of alloca.
35247         [!_LIBC] Call gl_rwlock_init.
35248         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
35250 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35252         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
35253         before checking its value.
35255 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35257         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
35259         * debug/memcpy_chk.c: Don't include pagecopy.h.
35260         * debug/mempcpy_chk.c: Likewise.
35261         * string/memcpy.c: Likewise.
35262         * string/memmove.c: Likewise.
35263         * sysdeps/powerpc/memmove.c: Likewise.
35264         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
35265         definition of PAGE_COPY_FWD_MAYBE here...
35266         * sysdeps/generic/pagecopy.h: ... from here.
35267         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
35269 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35270             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35272         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
35273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
35274         optimizations.
35275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35276         (__libc_ifunc_impl_list): Likewise.
35277         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
35278         multiarch strcat for PPC64.
35279         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
35280         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
35282 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35284         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
35286 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35288         * intl/loadmsgcat.c: Remove declaration of
35289         get_sysdep_segment_value.
35290         (get_sysdep_segment_value): Use ISO C style.
35291         (_nl_load_domain): Use ISO C style.  Get rid of redundant
35292         semicolon.  Fix typo and formatting in comment.
35293         (_nl_unload_domain): Use ISO C style.
35295         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35297 2014-07-02  Will Newton  <will.newton@linaro.org>
35299         * malloc/obstack.c: Merge from gnulib master.
35300         [HAVE_CONFIG_H]: Remove conditional code.
35301         [!_LIBC]: Include config.h.
35302         [!ELIDE_CODE]: Don't include inttypes.h, include
35303         stdint.h unconditionally.
35304         (print_and_abort): Mark as _Noreturn.
35305         (_obstack_allocated_p): Mark as __attribute_pure__.
35306         (obstack_free): Rename to __obstack_free.
35307         [!__attribute__]: Remove conditional code.
35308         * malloc/obstack.h: Merge from gnulib master.
35309         [__cplusplus]: Move conditional down.
35310         [!__attribute_pure__]: Define __attribute_pure__ here
35311         if it is not already defined.
35312         (_obstack_memory_used): Mark as __attribute_pure__.
35313         [!__obstack_free]: Define as obstack_free.
35314         [__GNUC__]: Remove check for ancient NeXT gcc.
35316 2014-07-02  Will Newton  <will.newton@linaro.org>
35317             Paul Eggert  <eggert@cs.ucla.edu>
35319         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35321 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35323         * resolv/gethnamaddr.c: Add comment warning that the file is
35324         not maintained.
35326 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35328         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35329         entries.
35331         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35332         entry for aio_cancel and aio_cancel64.
35333         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35334         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35335         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35336         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35337         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35338         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35339         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35340         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35341         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35342         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35343         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35344         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35345         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35347 2014-07-01  Roland McGrath  <roland@hack.frob.com>
35349         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35350         * nptl/pthread_mutex_lock.c: Likewise.
35351         * nptl/pthread_mutex_timedlock.c: Likewise.
35352         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35354 2014-07-01  Richard henderson  <rth@redhat.com>
35356         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35357         (__isnan, __isnanl): Remove.
35358         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35360         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35362 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35364         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35366 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35368         * resolv/nss_dns/dns-host.c (getanswer_r)
35369         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35371 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35373         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35374         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35375         undefine.
35376         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35377         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35379 2014-07-01  Roland McGrath <roland@hack.frob.com>
35381         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35382         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35384         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35385         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35387         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35388         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35389         ... here.
35390         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35391         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35393         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35394         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35395         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35396         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35398         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35399         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35400         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35401         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35402         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35403         Moved ...
35404         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35405         ... here.
35406         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35407         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35408         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35409         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35410         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35411         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35412         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35413         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35414         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35415         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35416         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35417         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35418         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35419         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35420         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35421         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35422         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35423         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35424         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35425         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35426         ... here.
35427         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35428         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35429         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35430         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35431         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35432         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35433         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35434         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35436 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35438         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35439         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35440         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35441         Add sysdep.
35443 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35447 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35449         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35450         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35452         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35454         * sysdeps/arm/libm-test-ulps: Regenerated.
35456 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35457             Roland McGrath <roland@hack.frob.com>
35459         * test-skeleton.c (signal_handler): Kill the whole process group
35460         before killing the child individually.
35461         (main): Report any failure on `setpgid'.
35463 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35465         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35466         from _TLS_H to _ARM_NPTL_TLS_H.
35467         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35468         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35470 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35472         [BZ #16539]
35473         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35474         (__expm1l): Return argument unchanged when small but not
35475         subnormal.
35477         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35478         include macro name.
35479         (_FP_UNPACK_RAW_1_P): Likewise.
35480         (_FP_PACK_RAW_1): Likewise.
35481         (_FP_PACK_RAW_1_P): Likewise.
35482         (_FP_MUL_MEAT_1_wide): Likewise.
35483         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35484         (_FP_MUL_MEAT_1_hard): Likewise.
35485         (_FP_DIV_MEAT_1_imm): Likewise.
35486         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35487         (_FP_DIV_MEAT_1_udiv): Likewise.
35488         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35489         (_FP_UNPACK_RAW_2): Likewise.
35490         (_FP_UNPACK_RAW_2_P): Likewise.
35491         (_FP_PACK_RAW_2): Likewise.
35492         (_FP_PACK_RAW_2_P): Likewise.
35493         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35494         (_FP_MUL_MEAT_2_wide): Likewise.
35495         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35496         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35497         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35498         (_FP_MUL_MEAT_2_gmp): Likewise.
35499         (_FP_DIV_MEAT_2_udiv): Likewise.
35500         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35501         (_FP_FRAC_SRL_4): Likewise.
35502         (_FP_FRAC_SRST_4): Likewise.
35503         (_FP_FRAC_SRS_4): Likewise.
35504         (_FP_UNPACK_RAW_4): Likewise.
35505         (_FP_UNPACK_RAW_4_P): Likewise.
35506         (_FP_PACK_RAW_4): Likewise.
35507         (_FP_PACK_RAW_4_P): Likewise.
35508         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35509         (_FP_MUL_MEAT_4_wide): Likewise.
35510         (_FP_MUL_MEAT_4_gmp): Likewise.
35511         (umul_ppppmnnn): Likewise.
35512         (_FP_DIV_MEAT_4_udiv): Likewise.
35513         (__FP_FRAC_ADD_4): Likewise.
35514         (__FP_FRAC_SUB_3): Likewise.
35515         (__FP_FRAC_SUB_4): Likewise.
35516         (__FP_FRAC_DEC_3): Likewise.
35517         (__FP_FRAC_DEC_4): Likewise.
35518         (__FP_FRAC_ADDI_4): Likewise.
35519         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35520         (_FP_FRAC_SRL_8): Likewise.
35521         (_FP_FRAC_SRS_8): Likewise.
35523         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35524         include macro name.
35525         (FP_UNPACK_RAW_EP): Likewise.
35526         (FP_PACK_RAW_E): Likewise.
35527         (FP_PACK_RAW_EP): Likewise.
35528         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35529         (_FP_ISSIGNAN): Likewise.
35530         (_FP_ADD_INTERNAL): Likewise.
35531         (_FP_FMA): Likewise.
35532         (_FP_CMP): Likewise.
35533         (_FP_SQRT): Likewise.
35534         (_FP_TO_INT): Likewise.
35535         (_FP_FROM_INT): Likewise.
35536         (FP_EXTEND): Likewise.
35537         (_FP_DIV_MEAT_N_loop): Likewise.
35539 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35541         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35542         throughout.
35544 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35546         [BZ #17097]
35547         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35548         result with correct sign in case of exponents that produce
35549         overflow except for X very close to 1.
35551 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35553         mktime: merge #if/#ifdef usage from glibc
35554         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35555         as that works with both Glibc's and Gnulib's style.
35556         See thread starting at Siddhesh Poyarekar's bug report at:
35557         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35559 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35561         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35562         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35563         * sysdeps/tile/tilegx/memmove.c: Remove file.
35565 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35567         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35568         abi-name definition.
35569         * scripts/soversions.awk: Do not handle or generate ABI lines.
35570         * shlib-versions: Remove ABI entries.
35571         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35572         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35574 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35576         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35577         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35578         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35579         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35580         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35581         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35582         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35583         Moved ...
35584         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35585         ... here.
35586         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35587         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35588         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35589         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35590         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35591         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35592         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35593         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35594         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35595         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35597         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35598         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35599         Moved ...
35600         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35601         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35602         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35604         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35606         Moved ...
35607         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35608         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35609         Moved ...
35610         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35611         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35612         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35614         Moved ...
35615         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35616         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35617         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35618         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35619         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35620         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35621         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35622         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35623         Moved ...
35624         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35626         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35627         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35628         Moved ...
35629         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35630         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35631         Moved ...
35632         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35633         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35634         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35635         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35636         Moved ...
35637         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35638         ... here.
35639         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35640         Identical file removed.
35641         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35642         Moved ...
35643         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35644         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35645         Identical file removed.
35646         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35647         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35648         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35649         Moved ...
35650         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35652         Identical file removed.
35653         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35654         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35655         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35656         Identical file removed.
35657         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35658         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35659         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35660         Identical file removed.
35661         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35662         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35663         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35664         Identical file removed.
35665         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35666         Moved ...
35667         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35668         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35669         Identical file removed.
35670         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35671         Moved ...
35672         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35673         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35674         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35675         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35676         Identical file removed.
35677         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35678         Moved ...
35679         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35680         ... here.
35681         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35682         Identical file removed.
35683         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35684         Moved ...
35685         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35687         Identical file removed.
35688         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35689         Moved ...
35690         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35691         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35692         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35693         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35694         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35695         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35696         Moved ...
35697         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35698         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35699         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35701         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35702         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35703         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35704         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35705         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35707 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35709         [BZ #17092]
35710         * nscd/nscd.c (monitor_child): Return exit status of child
35711         instead of return value from wait syscall.
35713 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35715         * configure.ac (libc_commonpagesize): Remove variable.
35716         (libc_relro_required): Likewise.
35717         (libc_cv_z_relro): Remove configure test.
35718         * configure: Regenerated.
35719         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35720         variable.
35721         (libc_relro_required): Likewise.
35722         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35723         (libc_relro_required): Likewise.
35724         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35725         (libc_relro_required): Likewise.
35726         * sysdeps/arm/preconfigure: Regenerated.
35727         * sysdeps/ia64/preconfigure: Remove file.
35728         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35729         variable.
35730         (libc_relro_required): Likewise.
35732         [BZ #16561]
35733         [BZ #16562]
35734         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35735         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35736         recompute overflowing results in original rounding mode.
35737         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35738         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35739         recompute overflowing results in original rounding mode.
35740         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35741         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35742         recompute overflowing results in original rounding mode.
35743         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35744         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35745         recompute overflowing results in original rounding mode.
35746         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35747         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35748         recompute overflowing results in original rounding mode.
35749         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35750         (libc_feholdsetround_ctx): New macro.
35751         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35752         * sysdeps/i386/fpu/libm-test-ulps: Update.
35753         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35755 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35757         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35758         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35759         corresponding .cpsetup call.
35761 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35763         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35764         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35765         * sysdeps/arm/Makefile [$(subdir) = csu]
35766         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35767         (static-only-routines): Add aeabi_read_tp here.
35768         (shared-only-routines): Add libc-aeabi_read_tp here.
35769         (CFLAGS-libc-start.c): Add -fexceptions here.
35770         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35771         (sysdep_routines, static-only-routines, shared-only-routines):
35772         Don't add to these here.
35773         (CFLAGS-libc-start.c): Likewise.
35775         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35776         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35777         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35778         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35779         * sysdeps/arm/Makefile [$(subdir) = rt]
35780         (librt-sysdep_routines, librt-shared-only-routines):
35781         Append rt-aeabi_unwind_cpp_pr1 here.
35782         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35783         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35784         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35785         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35786         Append nptl-aeabi_unwind_cpp_pr1 here.
35787         (tests): Filter out tst-cleanupx4 here.
35788         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35789         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35790         Don't do those here.
35792 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35794         * scripts/list-sources.sh: Do not handle ports specially.
35796 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35798         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35799         * sysdeps/arm/feupdateenv.c: Likewise.
35801         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35803 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35805         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35806         trailing whitespace removed.
35807         * scripts/config.guess: Update to version 2014-03-23.
35808         * scripts/config.sub: Update to version 2014-05-01
35809         * scripts/install-sh: Update to version 2013-12-25.23.
35810         * scripts/move-if-change: Update from gnulib.
35812 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35814         * debug/memmove_chk.c: Remove pagecopy.h include.
35816 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35818         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35819         identical to gnulib mktime.
35821 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35823         * configure.ac: Do not test for machine being rs6000.  Do not test
35824         for powerpc*-*soft.
35825         * configure: Regenerated.
35827         [BZ #11505]
35828         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35829         test.
35830         * configure: Regenerated.
35831         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35832         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35833         Remove configure test.
35834         * sysdeps/arm/configure: Regenerated.
35835         * sysdeps/nptl/configure.ac: Do not check
35836         libc_cv_asm_cfi_directives.
35837         * sysdeps/nptl/configure: Regenerated.
35838         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35839         * sysdeps/x86_64/nptl/configure: Remove generated file.
35840         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35841         unconditional.
35842         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35844 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35846         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35847         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35848         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35849         it is defined.
35851         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35852         instead of whether it is defined.
35853         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35854         * sysdeps/hppa/dl-machine.h: Likewise.
35855         * sysdeps/ia64/dl-machine.h: Likewise.
35856         * sysdeps/m68k/dl-machine.h: Likewise.
35857         * sysdeps/microblaze/dl-machine.h: Likewise.
35858         * sysdeps/mips/dl-machine.: Likewise.
35859         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35860         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35861         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35862         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35863         * sysdeps/sh/dl-machine.h: Likewise.
35864         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35865         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35866         * sysdeps/tile/dl-machine.h: Likewise.
35867         * sysdeps/x86_64/dl-machine.h: Likewise.
35869         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35870         code.
35871         (verify_persistent_db): Likewise.
35873 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35876         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35878         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35880         Moved ...
35881         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35882         ... here.
35883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35884         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35886         Identical file removed.
35887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35888         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35890         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35892         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35894         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35896         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35898         Moved ...
35899         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35901         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35903         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35905         Moved ...
35906         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35908         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35910         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35912         Identical file removed.
35913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35914         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35916         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35918         Moved ...
35919         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35920         ... here.
35921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35922         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35924         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35926         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35928         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35930         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35932         Moved ...
35933         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35935         Moved ...
35936         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35938         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35940         Moved ...
35941         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35943         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35945         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35946         folded into ...
35947         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35948         * sysdeps/unix/sysv/linux/s390/Versions
35949         (libpthread: GLIBC_2.19): New version set.
35950         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35951         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35952         (librt: GLIBC_2.3.3): New version set.
35953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35954         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35955         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35956         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35957         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35958         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35959         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35960         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35961         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35962         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35963         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35964         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35965         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35966         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35967         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35968         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35969         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35970         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35971         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35972         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35973         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35974         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35975         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35976         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35977         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35978         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35979         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35980         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35981         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35982         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35983         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35984         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35986         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35988         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35989         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35990         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35991         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35992         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35993         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35995         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35996         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35997         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35999         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
36000         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
36001         (__libc_vfork): Define the function under this name.
36002         [!NOT_IN_libc] (__vfork): Make this an alias.
36003         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36004         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
36005         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
36006         (__libc_vfork): Define the function under this name.
36007         [!NOT_IN_libc] (__vfork): Make this an alias.
36008         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36009         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
36010         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
36011         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
36012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
36013         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36015         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
36016         code that was previously under [RESET_PID].
36017         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
36018         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
36019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
36021         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
36022         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
36023         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
36024         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
36025         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
36026         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
36027         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
36028         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
36029         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
36030         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
36031         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
36032         Moved ...
36033         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
36034         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
36035         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
36036         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
36037         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
36038         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
36039         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
36040         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
36041         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
36042         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
36043         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
36044         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
36045         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
36046         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
36047         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
36048         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
36049         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
36050         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
36051         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
36052         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
36053         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
36054         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
36055         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
36056         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
36057         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
36058         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
36059         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
36060         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
36061         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
36063 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36065         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
36066         that was previously under [RESET_PID].
36067         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
36069 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36071         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
36072         not undefine and redefine.
36073         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
36074         [O_CLOEXEC]: Make code unconditional.
36075         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
36076         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
36077         <kernel-features.h>.
36078         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
36079         conditional variable definition.
36080         (shm_open) [O_CLOEXEC]: Make code unconditional.
36081         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
36082         code.
36084         * configure.ac (USE_REGPARMS): Don't define here.
36085         * configure: Regenerated.
36086         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
36087         * sysdeps/i386/configure: Regenerated.
36089         * nptl/createthread.c: Don't include kernel-features.h.
36090         * nptl/pthread_cancel.c: Likewise.
36091         * nptl/pthread_condattr_setclock.c: Likewise.
36092         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
36093         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
36094         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
36095         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
36096         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
36097         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
36098         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36099         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
36100         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36101         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
36102         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
36103         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
36104         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
36105         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
36106         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
36107         * nscd/gai.c: Likewise.
36108         * nss/nss_db/db-open.c: Likewise.
36109         * sysdeps/generic/ldsodefs.h: Likewise.
36110         * sysdeps/sh/nptl/tls.h: Likewise.
36111         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36112         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
36113         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
36114         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
36115         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
36116         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36117         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
36118         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36119         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36120         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36121         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36122         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36123         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
36124         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
36125         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
36126         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
36127         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
36128         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
36129         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
36130         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
36131         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
36132         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
36133         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
36134         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
36135         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
36136         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
36137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
36138         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
36139         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36140         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
36141         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
36142         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
36143         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
36144         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36145         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36146         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36147         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36148         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
36149         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
36150         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
36151         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36152         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
36153         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
36154         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36155         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
36156         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
36157         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
36158         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
36159         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
36160         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
36161         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
36162         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
36163         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
36164         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36165         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
36166         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36167         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36168         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
36169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
36171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
36172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
36173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
36174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
36175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
36177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
36180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
36181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
36182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
36183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
36189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
36190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
36191         * sysdeps/unix/sysv/linux/pread.c: Likewise.
36192         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
36193         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
36194         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
36195         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
36196         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
36197         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
36198         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
36199         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
36200         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
36201         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
36202         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
36203         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
36204         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
36205         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
36206         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
36207         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36208         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
36209         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
36210         * sysdeps/unix/sysv/linux/system.c: Likewise.
36211         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
36212         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36213         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36214         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36215         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36216         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36217         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36219         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
36220         * configure: Regenerated.
36221         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
36223         * configure.ac (base_machine): Do not set specially for particular
36224         machines here.
36225         * configure: Regenerated.
36226         * sysdeps/powerpc/preconfigure: Move machine and base_machine
36227         settings from configure.ac.
36228         * sysdeps/i386/preconfigure: New file.
36229         * sysdeps/s390/preconfigure: Likewise.
36230         * sysdeps/sh/preconfigure: Likewise.
36231         * sysdeps/sparc/preconfigure: Likewise.
36233 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36235         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
36236         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
36237         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
36238         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
36239         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
36240         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
36241         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
36242         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
36243         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
36244         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
36245         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
36246         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
36247         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
36248         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
36249         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
36250         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
36251         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
36252         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
36253         * sysdeps/sparc/sparc64/Makefile: ... appended here.
36255         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
36256         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
36257         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
36258         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
36259         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
36260         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
36261         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
36262         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
36263         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
36264         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
36265         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
36266         * sysdeps/sparc/sparc32/sem_post.c: ... here.
36267         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
36268         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
36269         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
36270         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
36271         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
36272         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
36273         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
36274         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
36275         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
36276         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
36277         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
36278         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
36279         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
36280         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
36281         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
36282         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
36283         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
36284         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
36285         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
36286         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
36287         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
36288         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
36289         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
36290         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36291         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36292         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36295         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36297         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36299         Moved ...
36300         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36301         ... here.
36302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36303         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36305         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36307         Moved ...
36308         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36310         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36312         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36314         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36316         Moved ...
36317         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36319         Moved ...
36320         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36322         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36324         Moved ...
36325         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36327         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36329         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36331         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36333         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36335         Moved ...
36336         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36337         ... here.
36338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36339         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36341         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36343         Moved ...
36344         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36346         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36348         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36350         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36352         Moved ...
36353         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36355         Moved ...
36356         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36358         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36360         Moved ...
36361         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36363         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36365         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36367 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36369         * timezone/checktab.awk: Update from tzcode 2014e.
36370         * timezone/private.h: Likewise.
36371         * timezone/tzfile.h: Likewise.
36372         * timezone/zdump.c: Likewise.
36373         * timezone/zic.c: Likewise.
36375         * sysdeps/unix/sysv/linux/kernel-features.h
36376         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36377         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36378         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36379         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36380         Remove conditional code.
36382 2014-06-25  Will Newton  <will.newton@linaro.org>
36384         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36385         (_dl_arm_cap_flags): Add HWCAP2 values.
36386         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36387         (_DL_HWCAP_COUNT): Increase to 37.
36388         (_DL_HWCAP_LAST): New define.
36389         (_DL_HWCAP2_LAST): New define.
36390         (_dl_procinfo): Add support for printing
36391         AT_HWCAP2 entries.
36392         (_dl_string_hwcap): Use _dl_hwcap_string.
36394 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36398 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36400         * README: Do not mention ports directory.
36402         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36403         Remove macro.
36404         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36405         <kernel-features.h>.
36406         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36407         conditional variable definition.
36408         (__futimes): Update comment.
36409         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36410         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36412         [BZ #16560]
36413         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36414         arguments close to 0.
36415         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36416         Likewise.
36417         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36418         Likewise.
36419         * math/auto-libm-test-in: Add more tests of exp10.
36420         * math/auto-libm-test-out: Regenerated.
36421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36423         * sysdeps/unix/sysv/linux/kernel-features.h
36424         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36425         * sysdeps/unix/sysv/linux/readv.c: Do not include
36426         <kernel-features.h>.
36427         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36428         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36429         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36430         unconditional.
36431         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36432         conditional code.
36433         * sysdeps/unix/sysv/linux/writev.c: Do not include
36434         <kernel-features.h>.
36435         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36436         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36437         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36438         unconditional.
36439         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36440         conditional code.
36442 2014-06-25  Will Newton  <will.newton@linaro.org>
36444         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36445         comment changes throughout the file.  Remove checks
36446         for HAVE_*_H definitions that are not required.
36447         (__gen_tempname): Call abort if an unknown kind value is
36448         passed.
36450 2014-06-25  Andreas Schwab  <schwab@suse.de>
36452         [BZ #17086]
36453         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36454         scalbln, scalblnf, scalblnl in libc.
36456 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36458         [BZ #17086]
36459         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36460         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36461         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36463 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36465         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36466         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36467         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36468         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36469         Update #include.
36470         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36471         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36472         Update #include.
36473         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36474         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36475         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36476         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36477         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36478         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36479         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36480         * sysdeps/x86/bits/semaphore.h: ... here.
36481         * sysdeps/x86/nptl/elide.h: Moved ...
36482         * sysdeps/x86/elide.h: ... here.
36483         * sysdeps/x86_64/nptl/Implies: File removed.
36484         * sysdeps/i386/nptl/Implies: File removed.
36486 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36488         [BZ #16539]
36489         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36490         return the argument for normal arguments with exponent below -64.
36491         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36492         Likewise.
36493         * math/auto-libm-test-in: Add another test of expm1.
36494         * math/auto-libm-test-out: Regenerated.
36496         [BZ #16287]
36497         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36498         calling __erfcl for arguments at least 16.
36499         * math/auto-libm-test-in: Add more tests of erf.
36500         * math/auto-libm-test-out: Regenerated.
36502         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36503         individual architectures.
36504         * sysdeps/unix/sysv/linux/configure: Regenerated.
36505         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36506         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36507         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36508         (ldd_rewrite_script): Define variable.
36509         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36511         file.
36512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36513         generated file.
36514         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36515         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36516         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36517         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36518         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36519         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36520         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36521         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36523 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36525         [BZ #17084]
36526         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36527         Rename member __data.d to __data.__elision_data.
36529 2014-06-24  Wilco  <wdijkstr@arm.com>
36531         * NEWS: Add 16918 to fixed bug list.
36533 2014-06-24  Wilco  <wdijkstr@arm.com>
36535         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36537 2014-06-24  Wilco  <wdijkstr@arm.com>
36539         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36540         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36541         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36542         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36543         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36544         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36545         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36546         Use _FPU_MASK_RM.
36548 2014-06-24  Wilco  <wdijkstr@arm.com>
36550         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36552 2014-06-24  Wilco  <wdijkstr@arm.com>
36554         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36555         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36556         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36557         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36559 2014-06-24  Wilco  <wdijkstr@arm.com>
36561         [BZ #16918]
36562         * sysdeps/arm/feupdateenv.c (feupdateenv):
36563         Rewrite to reduce FPSCR accesses and fix return value.
36565 2014-06-24  Wilco  <wdijkstr@arm.com>
36567         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36568         Optimize to avoid unnecessary FPSCR writes.
36569         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36570         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36571         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36572         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36574 2014-06-24  Wilco  <wdijkstr@arm.com>
36576         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36577         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36578         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36579         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36580         Call libc_fetestexcept_vfp.
36581         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36582         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36583         __SOFTFP__ ifdef so that they can be built for softfp.
36585 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36587         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36588         argument type signed char.
36590         * Makerules (check-abi): Dump diff of symlist if the test
36591         fails.
36593 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36595         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36596         using abort.
36598         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36599         Remove unused variable ST.
36601 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36603         [BZ #16354]
36604         [BZ #17061]
36605         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36606         small arguments before calling __expm1.
36607         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36608         small arguments before calling __expm1f.
36609         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36610         small arguments before calling __expm1l.
36611         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36612         Likewise.
36613         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36614         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36615         spurious underflow for some cosh tests.
36616         * math/auto-libm-test-out: Regenerated.
36617         * sysdeps/i386/fpu/libm-test-ulps: Update.
36619         [BZ #17050]
36620         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36621         (__ieee754_y1): Set errno if return value overflows.
36622         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36623         (__ieee754_y1f): Set errno if return value overflows.
36624         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36625         (__ieee754_y1l): Set errno if return value overflows.
36626         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36627         (__ieee754_y1l): Set errno if return value overflows.
36628         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36629         * math/auto-libm-test-out: Regenerated.
36631         * math/gen-auto-libm-tests.c: Document use of
36632         ignore-zero-inf-sign.
36633         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36634         (input_flags): Add ignore-zero-inf-sign.
36635         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36636         * math/gen-libm-test.pl (generate_testfile): Handle
36637         ignore-zero-inf-sign.
36638         * math/auto-libm-test-in: Mark some cpow tests with
36639         ignore-zero-inf-sign and some with xfail-rounding.
36640         * math/auto-libm-test-out: Regenerated.
36641         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36642         * sysdeps/i386/fpu/libm-test-ulps: Update.
36643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36645         [BZ #16315]
36646         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36647         overflowing or underflowing operations take place with sign of
36648         result.
36649         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36650         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36651         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36652         (__ieee754_pow): Recompute overflowing and underflowing results in
36653         original rounding mode.
36654         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36655         (__powl_helper): Allow negative argument X and scale negated value
36656         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36657         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36658         overflowing or underflowing operations take place with sign of
36659         result.
36660         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36661         Include <math.h>.
36662         * math/auto-libm-test-in: Add more tests of pow.
36663         * math/auto-libm-test-out: Regenerated.
36664         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36665         (pow_tonearest_test_data): Remove.
36666         (pow_test_tonearest): Likewise.
36667         (pow_towardzero_test_data): Likewise.
36668         (pow_test_towardzero): Likewise.
36669         (pow_downward_test_data): Likewise.
36670         (pow_test_downward): Likewise.
36671         (pow_upward_test_data): Likewise.
36672         (pow_test_upward): Likewise.
36673         (main): Don't call removed functions.
36674         * sysdeps/i386/fpu/libm-test-ulps: Update.
36675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36677 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36680         Moved ...
36681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36683         Moved ...
36684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36686         Moved ...
36687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36689         Moved ...
36690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36692         File removed.
36693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36694         File removed.
36695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36696         File removed.
36697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36698         File removed.
36699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36700         File removed.
36701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36702         File removed.
36703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36704         File removed.
36705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36706         File removed.
36707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36708         File removed.
36709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36710         File removed.
36711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36712         File removed.
36713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36714         File removed.
36715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36716         Moved ...
36717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36719         Moved ...
36720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36721         ... here.
36722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36723         Moved ...
36724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36726         Moved ...
36727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36729         Moved ...
36730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36732         Moved ...
36733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36735         Moved ...
36736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36738         Moved ...
36739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36741         Moved ...
36742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36745         ... here.
36746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36747         Moved ...
36748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36750         Moved ...
36751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36752         ... here.
36753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36754         Moved ...
36755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36756         ... here.
36757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36758         Moved ...
36759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36760         ... here.
36761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36762         Moved ...
36763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36765         Moved ...
36766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36770         Moved ...
36771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36772         ... here.
36773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36774         Moved ...
36775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36776         ... here.
36777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36778         Moved ...
36779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36781         Moved ...
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36784         Moved ...
36785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36787         Moved ...
36788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36790         Moved ...
36791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36792         ... here.
36793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36794         Moved ...
36795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36797         Moved ...
36798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36800         Moved ...
36801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36803         Moved ...
36804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36808         Moved ...
36809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36811         Moved ...
36812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36814         Moved ...
36815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36816         ... here.
36817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36818         Moved ...
36819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36820         ... here.
36821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36822         Moved ...
36823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36824         ... here.
36825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36826         Moved ...
36827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36829         Moved ...
36830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36832         Moved ...
36833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36835         Moved ...
36836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36837         ... here.
36838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36839         Moved ...
36840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36841         ... here.
36842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36843         Moved ...
36844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36845         ... here.
36846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36847         Moved ...
36848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36850         Moved ...
36851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36853 2014-06-23  Will Newton  <will.newton@linaro.org>
36854             Wilco  <wdijkstr@arm.com>
36856         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36857         implementation.  Include get-rounding-mode.h.
36858         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36859         [!libc_feholdsetround_noex_ctx]: Define
36860         libc_feholdsetround_noex_ctx.
36861         [!libc_feholdsetround_noexf_ctx]: Define
36862         libc_feholdsetround_noexf_ctx.
36863         [!libc_feholdsetround_noexl_ctx]: Define
36864         libc_feholdsetround_noexl_ctx.
36865         (libc_feholdsetround_ctx): New function.
36866         (libc_feresetround_ctx): New function.
36867         (libc_feholdsetround_noex_ctx): New function.
36868         (libc_feresetround_noex_ctx): New function.
36870 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36872         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36873         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36874         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36875         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36876         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36877         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36879         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36880         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36881         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36882         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36883         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36884         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36885         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36886         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36887         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36888         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36889         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36890         Moved ...
36891         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36892         ... here.
36893         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36894         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36895         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36896         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36897         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36898         Moved ...
36899         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36900         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36901         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36902         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36903         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36904         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36905         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36906         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36907         Moved ...
36908         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36909         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36910         Moved ...
36911         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36912         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36913         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36914         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36915         Moved ...
36916         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36917         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36918         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36919         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36920         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36921         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36922         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36923         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36924         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36925         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36926         Moved ...
36927         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36928         ... here.
36929         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36930         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36931         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36932         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36933         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36934         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36935         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36936         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36937         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36938         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36939         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36940         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36941         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36942         Moved ...
36943         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36944         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36945         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36946         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36947         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36948         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36949         Moved ...
36950         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36951         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36952         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36953         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36954         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36956         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36957         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36958         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36959         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36960         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36961         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36962         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36963         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36964         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36965         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36966         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36967         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36968         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36969         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36970         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36971         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36972         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36973         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36974         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36975         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36976         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36977         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36978         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36979         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36980         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36981         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36982         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36983         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36985 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36988         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36989         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36990         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36991         (IPV6_PMTUDISC_INTERFACE): Likewise.
36992         (IPV6_PMTUDISC_OMIT): Likewise.
36994 2014-06-23  Andreas Schwab  <schwab@suse.de>
36996         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36997         Remove unused errout label.
36999 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37001         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
37002         macro: hardware supports Vector Crypto instructions.
37004 2014-06-23  Will Newton  <will.newton@linaro.org>
37006         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
37007         rather than __builtin_expect.
37009         * elf/dl-lookup.c (undefined_msg): Remove variable.
37010         (_dl_lookup_symbol_x): Replace undefined_msg with string
37011         literal.
37013         * elf/dl-lookup.c (do_lookup_unique): New function.
37014         (do_lookup_x): Move STB_GNU_UNIQUE handling code
37015         to a separate function.
37017 2014-06-23  Andreas Schwab  <schwab@suse.de>
37019         [BZ #17079]
37020         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
37021         before reading the next line.
37023 2014-06-23  Will Newton  <will.newton@linaro.org>
37025         * test-skeleton.c (signal_handler): Use printf and %m
37026         rather than perror.  Use printf rather than fprintf to
37027         stderr.  Use puts rather than fputs to stderr.
37028         (main): Likewise.
37030 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
37032         * nscd/nscd.c (thread_info_t): Remove typedef.
37033         (thread_info): Remove variable.
37035 2014-06-21  Allan McRae  <allan@archlinux.org>
37037         * NEWS: Mention CVE-2014-4043.
37039 2014-06-20  Roland McGrath  <roland@hack.frob.com>
37041         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
37042         * nptl/smp.h: ... here.
37044         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
37046         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
37047         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
37048         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
37049         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
37051         * nptl/allocatestack.c: Include <stack-aliasing.h>.
37052         * nptl/stack-aliasing.h: New file.
37053         * sysdeps/i386/i686/stack-aliasing.h: New file.
37054         * sysdeps/i386/i686/nptl/Makefile: File removed.
37055         * sysdeps/x86_64/stack-aliasing.h: New file.
37056         * sysdeps/x86_64/nptl/Makefile
37057         (CFLAGS-pthread_create.c): Variable removed.
37059         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
37060         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
37061         old file.
37062         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
37063         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
37064         old file.
37066 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
37068         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37069         (__ASSUME_SIGFRAME_V2): Remove macro.
37070         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
37071         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
37072         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
37073         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
37074         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
37075         Declare as function.  Remove conditional macro definitions.
37076         (__default_rt_sa_restorer): Likewise.
37077         (__default_sa_restorer_v1): Remove declaration.
37078         (__default_sa_restorer_v2): Likewise.
37079         (__default_rt_sa_restorer_v1): Likewise.
37080         (__default_rt_sa_restorer_v2): Likewise.
37081         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
37082         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
37083         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
37085 2014-06-20  Roland McGrath  <roland@hack.frob.com>
37087         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
37088         (libpthread-routines): Add sysdep.
37089         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
37090         * sysdeps/unix/sysv/linux/sparc/Versions
37091         (libpthread: GLIBC_2.3.3): New version set.
37092         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
37093         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
37094         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
37095         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
37096         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
37097         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
37098         Moved ...
37099         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
37100         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
37101         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
37102         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
37103         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
37104         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
37105         * sysdeps/sparc/nptl/sem_init.c: ... here.
37106         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
37107         * sysdeps/sparc/nptl/sem_post.c: ... here.
37108         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
37109         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
37110         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
37111         * sysdeps/sparc/nptl/sem_wait.c: ... here.
37112         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
37113         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
37114         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
37115         (libpthread-routines): Add cpu_relax.
37116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
37117         File removed.
37118         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
37119         (librt: GLIBC_2.3.3): New version set.
37120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
37121         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
37122         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
37123         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
37124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
37125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
37126         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
37127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
37128         Moved ...
37129         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
37130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
37131         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
37132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
37133         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
37134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
37135         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
37136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
37137         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
37138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
37139         Moved ...
37140         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
37141         Update #include.
37142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
37143         Moved ...
37144         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
37145         Update #include.
37146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
37147         Moved ...
37148         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
37149         Update #include.
37150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
37151         Moved ...
37152         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
37153         Update #include.
37154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
37155         Moved ...
37156         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
37157         Update #include.
37158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
37159         Moved ...
37160         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
37161         Update #include.
37162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
37163         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
37164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
37165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
37166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
37167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
37168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
37169         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
37170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
37171         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
37172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37173         Moved ...
37174         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
37175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
37176         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
37177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
37178         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
37180 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37182         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
37183         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
37184         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37185         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
37186         * nscd/nscd.c: Likewise.
37187         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
37188         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
37189         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
37190         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
37192         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
37193         <kernel-features.h>.
37194         (init_mq_netlink): Remove conditional have_sock_cloexec
37195         definitions.  Remove code conditional on have_sock_cloexec < 0.
37196         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
37197         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
37198         * sysdeps/unix/sysv/linux/opensock.c: Do not include
37199         <kernel-features.h>.
37200         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
37201         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
37203 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37206         Add tests for memset_chk and memset.
37208         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
37209         with AVX2_Usable.
37211 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37213         [BZ #16046]
37214         * elf/tst-dl-iter-static.c: New file.
37215         * elf/Makefile (tests-static): Add tst-dl-iter-static.
37217         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
37218         error.
37220 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37222         * sysdeps/unix/sysv/linux/kernel-features.h
37223         (__ASSUME_F_GETOWN_EX): Remove macro.
37224         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
37225         <kernel-features.h>.
37226         (miss_F_GETOWN_EX): Remove variable or macro.
37227         (do_fcntl): Do not check miss_F_GETOWN_EX.
37228         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
37230         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
37231         Remove macro.
37232         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
37233         [!__ASSUME_AT_RANDOM]: Remove conditional code.
37234         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
37236         * sysdeps/unix/sysv/linux/kernel-features.h
37237         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
37238         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
37239         [ADJ_OFFSET_SS_READ]: Make code unconditional.
37240         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
37242 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37244         [BZ #17075]
37245         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
37246         Fix calculation of the symbol's value.
37247         * sysdeps/arm/tst-armtlsdescloc.c: New file.
37248         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
37249         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
37250         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
37251         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
37252         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
37253         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
37254         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
37255         (modules-names): Add `tst-armtlsdescmod',
37256         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
37257         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
37258         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37259         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
37260         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
37261         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37262         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
37263         ($(objpfx)tst-armtlsdescloc): New dependency.
37264         ($(objpfx)tst-armtlsdescextnow): Likewise.
37265         ($(objpfx)tst-armtlsdescextlazy): Likewise.
37266         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
37267         TLS scheme support.
37268         * sysdeps/arm/configure: Regenerate.
37270 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37272         * include/fcntl.h (__atfct_seterrno): Remove prototype.
37273         (__atfct_seterrno_2): Likewise.
37274         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
37275         <kernel-features.h>.
37276         (__ASSUME_ATFCTS): Do not undefine and redefine.
37277         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
37278         (__have_atfcts): Remove conditional definition.
37279         (__fxstatat([__NR_fstatat64]: Make code unconditional.
37280         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
37281         unreachable if [__ASSUME_ATFCTS].
37282         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
37283         not undefine and redefine.
37284         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
37285         <kernel-features.h>.
37286         (faccessat) [__NR_faccessat]: Make code unconditional.
37287         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
37288         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
37289         <kernel-features.h>.
37290         (fchmodat) [__NR_fchmodat]: Make code unconditional.
37291         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37292         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37293         <kernel-features.h>.
37294         (fchownat) [__NR_fchownat]: Make code unconditional.
37295         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37296         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37297         <kernel-features.h>.
37298         (futimesat) [__NR_futimesat]: Make code unconditional.
37299         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37300         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37301         <kernel-features.h>.
37302         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37303         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37304         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37305         <kernel-features.h>.
37306         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37307         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37308         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37309         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37310         <kernel-features.h>.
37311         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37312         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37313         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37314         <kernel-features.h>.
37315         (linkat) [__NR_linkat]: Make code unconditional.
37316         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37317         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37318         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37319         <kernel-features.h>.
37320         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37321         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37322         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37323         <kernel-features.h>.
37324         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37325         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37326         * sysdeps/unix/sysv/linux/openat.c: Do not include
37327         <kernel-features.h>.
37328         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37329         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37330         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37331         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37332         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37333         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37334         <kernel-features.h>.
37335         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37336         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37337         result of INLINE_SYSCALL directly, not via int variable.
37338         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37339         <kernel-features.h>.
37340         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37341         (renameat) [__NR_renameat]: Make code unconditional.
37342         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37343         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37344         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37345         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37346         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37347         (__ASSUME_ATFCTS): Do not undefine and redefine.
37348         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37349         <kernel-features.h>.
37350         (symlinkat) [__NR_symlinkat]: Make code unconditional.
37351         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37352         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37353         <kernel-features.h>.
37354         (unlinkat) [__NR_unlinkat]: Make code unconditional.
37355         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37356         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37357         (__ASSUME_ATFCTS): Do not undefine and redefine.
37358         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37359         <kernel-features.h>.
37360         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37361         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37362         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37363         <kernel-features.h>.
37364         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37365         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37367 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37369         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37371 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37373         [BZ #17069]
37374         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37375         constructed tree before returning error.
37376         * posix/bug-regexp36.c: Expand test case.
37378 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37380         [BZ #6803]
37381         * math/libm-test.inc (scalbln_test_date):
37382         Add errno expectations.
37383         * math/w_scalblnf.c: New File.
37384         Add wrapper which checks for setting errno to ERANGE.
37385         Add weak_alias for corresponding scalbln function.
37386         * math/w_scalbln.c: Likewise.
37387         * math/w_scalblnl.c: Likewise.
37388         * math/Makefile (libm-calls): Add w_scalbln.
37389         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37390         Remove weak_alias for corresponding scalbln function.
37391         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37392         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37394         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37395         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37396         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37397         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37398         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37399         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37400         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37401         Remove long_double_symbol for scalblnl function in libm, libc.
37402         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37403         Add wrapper which checks for setting errno to ERANGE.
37404         Add long_double_symbol for scalblnl function in libm, libc.
37405         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37406         Remove long_double_symbol for scalblnl in libm.
37407         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37408         Add wrapper which checks for setting errno to ERANGE.
37409         Add long_double_symbol for scalblnl function in libm.
37410         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37411         Do not use wrapper because of own implementation.
37413 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37415         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37416         3 bytes for __pad1 for x32.
37417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37419 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37420             H.J. Lu  <hongjiu.lu@intel.com>
37422         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37423         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37424         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37425         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37426         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37428 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37430         [BZ #17069]
37431         * posix/regcomp.c (parse_expression): Deallocate partially
37432         constructed tree before returning error.
37433         * posix/Makefile.c (tests): Add bug-regex36.
37434         (generated): Add bug-regex36.mtrace.
37435         (tests-special): Add $(objpfx)bug-regex36-mem.out
37436         (bug-regex36-ENV): New variable.
37437         ($(objpfx)bug-regex36-mem.out): New rule.
37438         * posix/bug-regex36.c: New file.
37440 2014-06-19  Will Newton  <will.newton@linaro.org>
37442         * malloc/malloc.c (systrim): If extra is zero then return
37443         early.
37445 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37447         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37449 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37451         * sysdeps/aarch64/strchr.S: New file.
37453 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37455         [BZ #17022]
37456         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37457         from arguments -2 or below.
37458         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37459         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37461 2014-06-18  Andreas Schwab  <schwab@suse.de>
37463         [BZ #17062]
37464         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37465         of a bracket expr not to run off the end of the string.
37466         * posix/Makefile (tests): Add tst-fnmatch3.
37467         * posix/tst-fnmatch3.c: New file.
37469 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37471         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37472         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37473         [$(cross-compiling) = no]: Likewise.
37474         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37475         [$(cross-compiling) = no]: Likewise.
37477 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37479         [BZ #17031]
37480         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37481         double, adjusted for any remainder from the high double.
37482         * math/libm-test.inc (nearbyint): Add tests.
37483         (rint): Likewise.
37485 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37487         * nptl/sysdeps/powerpc/Makefile: Moved ...
37488         * sysdeps/powerpc/nptl/Makefile: ... here.
37489         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37490         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37491         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37492         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37493         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37494         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37495         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37496         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37497         * nptl/sysdeps/powerpc/tls.h: Moved ...
37498         * sysdeps/powerpc/nptl/tls.h: ... here.
37500 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37502         [BZ #16681]
37503         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37504         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37505         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37506         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37507         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37508         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37509         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37510         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37511         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37513 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37515         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37517 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37519         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37520         defined operator.
37522         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37523         $TIMEOUTFACTOR.
37525 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37527         [BZ #17058]
37528         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37529         non-executed part of the test.
37531 2014-06-16  Andreas Schwab  <schwab@suse.de>
37533         * string/bits/string2.h (strdup, strndup): Update feature guard.
37535 2014-06-14  David S. Miller  <davem@davemloft.net>
37537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37539 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37541         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37542         that was previously under [RESET_PID].
37543         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37545         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37546         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37547         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37548         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37549         (__libc_vfork): New strong alias.
37550         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37552 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37554         * sysdeps/generic/elide.h: New file.
37556 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37558         * Makefile (installed-headers): Adjust path of pthread.h header.
37560 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37562         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37563         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37564         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37565         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37567         * nptl/sysdeps/s390/Makefile: Moved ...
37568         * sysdeps/s390/nptl/Makefile: ... here.
37569         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37570         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37571         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37572         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37573         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37574         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37575         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37576         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37577         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37578         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37579         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37580         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37581         * nptl/sysdeps/s390/tls.h: Moved ...
37582         * sysdeps/s390/nptl/tls.h: ... here.
37584         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37585         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37587 2014-06-13  David S. Miller  <davem@davemloft.net>
37589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37592         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37596         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37597         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37598         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37599         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37600         Remove RESET_PID cpp guards.
37601         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37602         Remove RESET_PID cpp guards.
37603         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37605 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37607         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37608         __sp to uintptr_t.
37610 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37612         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37613         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37614         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37615         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37616         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37617         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37618         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37619         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37620         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37621         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37622         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37623         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37625         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37626         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37627         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37628         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37629         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37630         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37631         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37633         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37634         (pthread_rwlock_rdlock): Add elision.
37635         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37636         (pthread_rwlock_wrlock): Add elision.
37637         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37638         (pthread_rwlock_trywrlock): Add elision.
37639         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37640         (pthread_rwlock_tryrdlock): Add elision.
37641         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37642         (pthread_rwlock_tryrdlock): Add elision unlock.
37643         * nptl/sysdeps/pthread/pthread.h:
37644         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37645         (PTHREAD_RWLOCK_INITIALIZER,
37646         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37647         Handle new elision field.
37648         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37649         * sysdeps/arm/nptl/bits/pthreadtypes.h
37650         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37651         * sysdeps/sh/nptl/bits/pthreadtypes.h
37652         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37653         * sysdeps/tile/nptl/bits/pthreadtypes.h
37654         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37655         * sysdeps/a/nptl/bits/pthreadtypes.h
37656         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37657         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37658         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37659         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37660         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37661         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37662         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37663         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37664         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37665         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37666         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37667         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37668         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37669         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37670         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37671         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37672         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37673         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37674         (elision_init): Set try_xbegin to zero when no RTM.
37675         * sysdeps/x86/nptl/bits/pthreadtypes.h
37676         (pthread_rwlock_t): Change __pad1 to __rwelision.
37677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37679 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37681         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37682         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37683         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37684         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37686 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37688         [BZ #16996]
37689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37690         that the cached result has been set before returning it.
37692 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37694         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37695         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37696         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37697         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37698         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37699         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37701         * nptl/sysdeps/sparc/Makefile: Moved ...
37702         * sysdeps/sparc/nptl/Makefile: ... here.
37703         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37704         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37705         * nptl/sysdeps/sparc/tls.h: Moved ...
37706         * sysdeps/sparc/nptl/tls.h: ... here.
37707         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37708         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37709         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37710         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37711         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37712         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37713         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37714         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37715         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37716         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37717         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37718         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37719         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37720         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37721         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37722         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37723         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37724         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37725         Update #include.
37726         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37727         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37728         Update #include.
37729         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37730         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37731         Update #include.
37732         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37734         Update #include.
37736         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37738         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37739         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37741         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37742         (struct list_links): Type removed.
37743         (struct thread_node, struct timer_node): Replace struct list_links
37744         with struct list_head.
37745         (list_unlink_ip): Likewise.
37746         * sysdeps/pthread/timer_routines.c
37747         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37748         (list_append, list_insbefore): Likewise.
37749         (list_init): Function removed.
37750         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37751         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37752         * sysdeps/pthread/Makefile: ... here, new file.
37754         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37755         * sysdeps/nptl/Implies: ... here.
37756         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37757         * nptl/sysdeps/pthread/list.h: Moved ...
37758         * include/list.h: ... here.
37759         * nptl/sysdeps/pthread/createthread.c: Moved ...
37760         * nptl/createthread.c: ... here.
37761         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37762         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37763         * nptl/pt-longjmp.c: ... here.
37764         * nptl/sysdeps/pthread/Makefile: Moved ...
37765         * sysdeps/nptl/Makefile: ... here.
37766         * nptl/sysdeps/pthread/Subdirs: Moved ...
37767         * sysdeps/nptl/Subdirs: ... here.
37768         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37769         * sysdeps/nptl/aio_misc.h: ... here.
37770         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37771         * sysdeps/nptl/bits/libc-lock.h: ... here.
37772         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37773         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37774         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37775         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37776         * nptl/sysdeps/pthread/configure: Moved ...
37777         * sysdeps/nptl/configure: ... here.
37778         * nptl/sysdeps/pthread/configure.ac: Moved ...
37779         * sysdeps/nptl/configure.ac: ... here.
37780         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37781         * sysdeps/nptl/gai_misc.h: ... here.
37782         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37783         * sysdeps/nptl/librt-cancellation.c: ... here.
37784         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37785         * sysdeps/nptl/malloc-machine.h: ... here.
37786         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37787         * sysdeps/nptl/pthread-functions.h: ... here.
37788         * nptl/sysdeps/pthread/pthread.h: Moved ...
37789         * sysdeps/nptl/pthread.h: ... here.
37790         * nptl/sysdeps/pthread/setxid.h: Moved ...
37791         * sysdeps/nptl/setxid.h: ... here.
37792         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37793         * sysdeps/nptl/sigfillset.c: ... here.
37794         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37795         * sysdeps/nptl/tcb-offsets.h: ... here.
37796         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37797         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37798         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37799         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37800         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37801         * sysdeps/pthread/allocalim.h: ... here.
37802         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37803         * sysdeps/pthread/bits/sigthread.h: ... here.
37804         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37805         * sysdeps/pthread/flockfile.c: ... here.
37806         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37807         * sysdeps/pthread/ftrylockfile.c: ... here.
37808         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37809         * sysdeps/pthread/funlockfile.c: ... here.
37810         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37811         * sysdeps/pthread/posix-timer.h: ... here.
37812         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37813         * sysdeps/pthread/timer_create.c: ... here.
37814         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37815         * sysdeps/pthread/timer_delete.c: ... here.
37816         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37817         * sysdeps/pthread/timer_getoverr.c: ... here.
37818         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37819         * sysdeps/pthread/timer_gettime.c: ... here.
37820         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37821         * sysdeps/pthread/timer_routines.c: ... here.
37822         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37823         * sysdeps/pthread/timer_settime.c: ... here.
37824         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37825         * sysdeps/pthread/tst-timer.c: ... here.
37826         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37827         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37829         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37830         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37832         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37833         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37834         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37835         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37836         Update #include target.
37837         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37838         * sysdeps/i386/i686/nptl/Makefile: ... here.
37839         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37840         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37841         Update #include target.
37842         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37843         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37844         * nptl/sysdeps/i386/Makefile: Moved ...
37845         * sysdeps/i386/nptl/Makefile: ... here.
37846         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37847         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37848         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37849         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37850         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37851         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37852         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37853         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37854         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37855         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37856         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37857         * nptl/sysdeps/i386/tls.h: Moved ...
37858         * sysdeps/i386/nptl/tls.h: ... here.
37860         * sysdeps/sh/Makefile [$(subdir) = csu]
37861         (gen-as-const-headers): Add tcb-offsets.sym.
37862         * nptl/sysdeps/sh/Makefile: File removed.
37863         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37864         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37865         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37866         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37867         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37868         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37869         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37870         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37871         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37872         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37873         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37874         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37875         * nptl/sysdeps/sh/tls.h: Moved ...
37876         * sysdeps/sh/nptl/tls.h: ... here.
37877         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37878         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37879         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37880         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37881         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37882         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37883         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37884         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37885         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37886         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37887         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37888         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37889         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37890         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37891         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37892         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37893         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37894         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37895         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37896         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37897         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37898         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37899         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37900         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37901         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37902         Moved ...
37903         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37904         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37905         Moved ...
37906         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37907         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37908         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37909         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37910         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37911         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37912         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37913         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37914         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37915         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37916         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37917         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37918         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37919         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37920         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37921         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37922         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37923         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37924         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37926 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37928         * posix/spawn_faction_addopen.c: Include string.h.
37930 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37932         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37933         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37934         * nptl/sysdeps/x86_64/Makefile: Moved ...
37935         * sysdeps/x86_64/nptl/Makefile: ... here.
37936         * nptl/sysdeps/x86_64/configure: Moved ...
37937         * sysdeps/x86_64/nptl/configure: ... here.
37938         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37939         * sysdeps/x86_64/nptl/configure.ac: ... here.
37940         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37941         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37942         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37943         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37944         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37945         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37946         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37947         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37948         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37949         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37950         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37951         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37952         * nptl/sysdeps/x86_64/tls.h: Moved ...
37953         * sysdeps/x86_64/nptl/tls.h: ... here.
37954         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37955         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37956         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37957         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37959         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37961 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37965 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37967         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37968         type.
37969         [POSIX] (off_t): Likewise.
37970         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37971         [POSIX] (S_ISBLK): Require macro.
37972         [POSIX] (S_ISCHR): Likewise.
37973         [POSIX] (S_ISDIR): Likewise.
37974         [POSIX] (S_ISFIFO): Likewise.
37975         [POSIX] (S_ISREG): Likewise.
37976         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37977         optional-macro.
37978         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37979         type.
37980         [POSIX] (time_t): Likewise.
37981         [POSIX] (timer_t): Likewise.
37983 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37985         [BZ #17048]
37986         * posix/spawn_int.h (struct __spawn_action): Make the path string
37987         non-const to support deallocation.
37988         * posix/spawn_faction_addopen.c
37989         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37990         * posix/spawn_faction_destroy.c
37991         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37992         path in all spawn_do_open actions.
37993         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37994         posix_spawn_file_actions_addopen.
37996 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37998         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37999         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
38000         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
38001         conditional code always true.
38002         (__libc_vfork): New alias.
38004 2014-06-11  Roland McGrath  <roland@hack.frob.com>
38006         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38007         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
38009         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
38011         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38012         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
38014         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
38015         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
38017         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38018         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
38020 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38022         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
38023         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
38024         multiarch strcmp for PPC64.
38025         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
38026         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
38027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
38028         multiarch optimizations.
38029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38030         (__libc_ifunc_impl_list): Likewise.
38032 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38034         * benchtests/scripts/validate_benchout.py: New script.
38035         * benchtests/Makefile (bench-func): Call it.
38036         * benchtests/scripts/benchout.schema.json: New file.
38038 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
38040         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
38041         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
38042         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
38043         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
38044         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
38045         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
38046         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
38047         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
38048         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
38049         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
38050         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
38051         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
38052         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
38053         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
38054         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
38055         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
38056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
38057         Moved ...
38058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
38059         ... here.
38060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
38061         Moved ...
38062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
38063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
38064         Moved ...
38065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
38066         ... here.
38067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
38068         Moved ...
38069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
38070         ... here.
38071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
38072         Moved ...
38073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
38074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
38075         Moved ...
38076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
38077         ... here.
38078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
38079         Moved ...
38080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
38081         ... here.
38082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
38083         Moved ...
38084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
38085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
38086         Moved ...
38087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
38088         ... here.
38089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
38090         Moved ...
38091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
38092         ... here.
38093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
38094         Moved ...
38095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
38096         ... here.
38097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
38098         Moved ...
38099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
38100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
38101         Moved ...
38102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
38103         ... here.
38104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
38105         Moved ...
38106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
38107         ... here.
38108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
38109         Moved ...
38110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
38111         ... here.
38112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
38113         Moved ...
38114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
38115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
38116         Moved ...
38117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
38118         ... here.
38119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
38120         Moved ...
38121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
38122         ... here.
38123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
38124         Moved ...
38125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
38126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
38127         Moved ...
38128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
38129         ... here.
38130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
38131         Moved ...
38132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
38133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
38134         Moved ...
38135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
38136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
38137         Moved ...
38138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
38139         ... here.
38140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
38141         Moved ...
38142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
38143         ... here.
38144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
38145         Moved ...
38146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
38147         ... here.
38148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
38149         Moved ...
38150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
38151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
38152         Moved ...
38153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
38154         ... here.
38155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
38156         Moved ...
38157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
38158         ... here.
38159         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
38160         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
38161         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
38162         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
38163         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
38164         Moved ...
38165         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
38166         ... here.
38167         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
38168         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
38169         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
38170         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
38171         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
38172         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
38173         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
38174         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
38175         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
38176         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
38177         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
38178         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
38179         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
38180         Moved ...
38181         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
38182         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
38183         Moved ...
38184         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
38185         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
38186         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
38187         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
38188         Moved ...
38189         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
38190         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
38191         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
38192         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
38193         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
38194         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
38195         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
38197 2014-06-10  Wilco  <wdijkstr@arm.com>
38199         * math/test-fenv-return.c: New file.
38200         * math/Makefile: Add new test test-fenv-return.
38202 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
38204         [BZ #17042]
38205         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
38206         when x - 1 is zero.
38207         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
38208         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
38209         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
38210         0.0L for an argument of 1.0L.
38211         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
38212         Likewise.
38213         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
38214         value when x - 1 is zero.
38215         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
38216         * sysdeps/i386/fpu/libm-test-ulps: Update.
38217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38219 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
38221         [BZ #15119]
38222         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
38224 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38226         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
38227         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
38229 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38231         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38232         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
38234         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38235         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
38237         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38238         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
38240         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38241         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
38243         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
38244         if not already defined.
38245         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
38246         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
38247         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
38248         (TLS_INIT_TP): Use it.
38249         (TLS_DEFINE_INIT_TP): New macro.
38250         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
38252 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
38254         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
38255         constant.
38256         [POSIX] (IXANY): Likewise.
38257         [POSIX] (OLCUC): Likewise.
38258         [POSIX || POSIX2008] (CBAUD): Do not allow.
38259         [POSIX || POSIX2008] (DEFECHO): Likewise.
38260         [POSIX || POSIX2008] (ECHOCTL): Likewise.
38261         [POSIX || POSIX2008] (ECHOKE): Likewise.
38262         [POSIX || POSIX2008] (ECHOPRT): Likewise.
38263         [POSIX || POSIX2008] (EXTA): Likewise.
38264         [POSIX || POSIX2008] (EXTB): Likewise.
38265         [POSIX || POSIX2008] (FLUSHO): Likewise.
38266         [POSIX || POSIX2008] (LOBLK): Likewise.
38267         [POSIX || POSIX2008] (PENDIN): Likewise.
38268         [POSIX || POSIX2008] (SWTCH): Likewise.
38269         [POSIX || POSIX2008] (VDISCARD): Likewise.
38270         [POSIX || POSIX2008] (VDSUSP): Likewise.
38271         [POSIX || POSIX2008] (VLNEXT): Likewise.
38272         [POSIX || POSIX2008] (VREPRINT): Likewise.
38273         [POSIX || POSIX2008] (VSTATUS): Likewise.
38274         [POSIX || POSIX2008] (VWERASE): Likewise.
38275         (B*): Change to B[0123456789]*.
38276         * conform/data/time.h-data [POSIX || UNIX98]
38277         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
38278         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38279         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
38280         [POSIX] (tm_*): Do not allow.
38282 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
38284         * Makefile (install): Don't set LANGUAGE.
38285         * Makefile.in (install): Likewise.
38286         * assert/Makefile (test-assert-ENV): Remove variable.
38287         (test-assert-perr-ENV): Likewise.
38288         * elf/Makefile (neededtest4-ENV): Likewise.
38289         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38290         [$(cross-compiling) = no]: Don't set LANGUAGE.
38291         * io/ftwtest-sh (LANG): Remove variable.
38292         * libio/Makefile (tst-widetext-ENV): Likewise.
38293         * manual/install.texi (Running make install): Don't refer to
38294         environment settings for make install.
38295         * INSTALL: Regenerated.
38296         * nptl/tst-tls6.sh: Don't set LANG.
38297         * posix/globtest.sh (LANG): Remove variable.
38298         * string/Makefile (tester-ENV): Likewise.
38299         (inl-tester-ENV): Likewise.
38300         (noinl-tester-ENV): Likewise.
38301         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38302         [$(cross-compiling) = no]: Don't set LANGUAGE.
38303         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38304         without explicit environment settings.
38306 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38308         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38309         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38310         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38311         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38313 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38315         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38316         other files in the crypt directory.
38317         * crypt/crypt.c: Remove duplicate includes.
38318         * crypt/crypt-entry.c: Likewise.
38319         * crypt/crypt_util.c: Likewise.
38321 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38323         * Makeconfig (run-program-env): New variable.
38324         (run-program-prefix-before-env): Likewise.
38325         (run-program-prefix-after-env): Likewise.
38326         (run-program-prefix): Define in terms of new variables.
38327         (built-program-cmd-before-env): New variable.
38328         (built-program-cmd-after-env): Likewise.
38329         (built-program-cmd): Define in terms of new variables.
38330         (test-program-prefix-before-env): New variable.
38331         (test-program-prefix-after-env): Likewise.
38332         (test-program-prefix): Define in terms of new variables.
38333         (test-program-cmd-before-env): New variable.
38334         (test-program-cmd-after-env): Likewise.
38335         (test-program-cmd): Define in terms of new variables.
38336         * Rules (make-test-out): Use $(run-program-env).
38337         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38338         (help): Do not mention environment variables.  Mention
38339         --timeoutfactor option.
38340         (timeoutfactor): New variable.
38341         (blacklist_exports): Remove function.
38342         (exports): Remove variable.
38343         (command): Do not include ${exports}.
38344         * manual/install.texi (Configuring and compiling): Do not mention
38345         test wrappers preserving environment variables.  Mention that last
38346         assignment to a variable must take precedence.
38347         * INSTALL: Regenerated.
38348         * benchtests/Makefile (run-bench): Use $(run-program-env).
38349         * catgets/Makefile ($(objpfx)test1.cat): Use
38350         $(built-program-cmd-before-env), $(run-program-env) and
38351         $(built-program-cmd-after-env).
38352         ($(objpfx)test2.cat): Do not specify environment variables
38353         explicitly.
38354         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38355         $(run-program-env) and $(built-program-cmd-after-env).
38356         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38357         $(run-program-env) and $(test-program-cmd-after-env).
38358         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38359         explicitly.
38360         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38361         run_program_env and test_program_cmd_after_env arguments.
38362         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38363         * elf/tst-pathopt.sh: Use run_program_env argument.
38364         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38365         $(test-wrapper-env) and $(run-program-env).
38366         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38367         run_program_env arguments.
38368         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38369         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38370         $(test-program-prefix-before-env), $(run-program-env) and
38371         $(test-program-prefix-after-env).
38372         ($(objpfx)tst-gettext2.out): Likewise.
38373         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38374         run_program_env and test_program_prefix_after_env arguments.
38375         * intl/tst-gettext2.sh: Likewise.
38376         * intl/tst-gettext4.sh: Do not set environment variables
38377         explicitly.
38378         * intl/tst-gettext6.sh: Likewise.
38379         * intl/tst-translit.sh: Likewise.
38380         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38381         $(test-program-prefix-before-env), $(run-program-env) and
38382         $(test-program-prefix-after-env).
38383         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38384         run_program_env and test_program_prefix_after_env arguments.
38385         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38386         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38387         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38388         explicitly with each use of ${test_wrapper_env}.
38389         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38390         $(test-program-prefix-before-env), $(run-program-env) and
38391         $(test-program-prefix-after-env).
38392         * posix/tst-getconf.sh: Do not set environment variables
38393         explicitly.
38394         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38395         run_program_env and test_program_prefix_after_env arguments.
38396         * stdio-common/tst-printf.sh: Do not set environment variables
38397         explicitly.
38398         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38399         $(test-program-prefix-before-env), $(run-program-env) and
38400         $(test-program-prefix-after-env).
38401         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38402         run_program_env and test_program_prefix_after_env arguments.
38403         Split $test calls into $test_pre and $test.
38404         * timezone/Makefile (build-testdata): Use
38405         $(built-program-cmd-before-env), $(run-program-env) and
38406         $(built-program-cmd-after-env).
38408 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38410         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38411         strlen for non SHARED builds.
38413 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38415         * nptl/allocatestack.c (check_list): Inlined function...
38416         (__reclaim_stacks): ... here.
38418 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38420         [BZ #15698]
38421         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38422         memory overrun.
38424 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38426         * Rules (make-test-out): Include
38427         LOCPATH=$(common-objpfx)localedata in default environment.
38428         * debug/Makefile (tst-chk1-ENV): Remove variable.
38429         (tst-chk2-ENV): Likewise.
38430         (tst-chk3-ENV): Likewise.
38431         (tst-chk4-ENV): Likewise.
38432         (tst-chk5-ENV): Likewise.
38433         (tst-chk6-ENV): Likewise.
38434         (tst-lfschk1-ENV): Likewise.
38435         (tst-lfschk2-ENV): Likewise.
38436         (tst-lfschk3-ENV): Likewise.
38437         (tst-lfschk4-ENV): Likewise.
38438         (tst-lfschk5-ENV): Likewise.
38439         (tst-lfschk6-ENV): Likewise.
38440         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38441         (tst-iconv7-ENV): Likewise.
38442         * intl/Makefile (LOCPATH-ENV): Likewise.
38443         (tst-codeset-ENV): Likewise.
38444         (tst-gettext3-ENV): Likewise.
38445         (tst-gettext5-ENV): Likewise.
38446         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38447         (tst-fopenloc-ENV): Likewise.
38448         (tst-fgetws-ENV): Remove variable.
38449         (tst-ungetwc1-ENV): Likewise.
38450         (tst-ungetwc2-ENV): Likewise.
38451         (bug-ungetwc2-ENV): Likewise.
38452         (tst-swscanf-ENV): Likewise.
38453         (bug-ftell-ENV): Likewise.
38454         (tst-fgetwc-ENV): Likewise.
38455         (tst-fseek-ENV): Likewise.
38456         (tst-ftell-partial-wide-ENV): Likewise.
38457         (tst-ftell-active-handler-ENV): Likewise.
38458         (tst-ftell-append-ENV): Likewise.
38459         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38460         (tst-regexloc-ENV): Likewise.
38461         (bug-regex1-ENV): Likewise.
38462         (tst-regex-ENV): Likewise.
38463         (tst-regex2-ENV): Likewise.
38464         (bug-regex5-ENV): Likewise.
38465         (bug-regex6-ENV): Likewise.
38466         (bug-regex17-ENV): Likewise.
38467         (bug-regex18-ENV): Likewise.
38468         (bug-regex19-ENV): Likewise.
38469         (bug-regex20-ENV): Likewise.
38470         (bug-regex22-ENV): Likewise.
38471         (bug-regex23-ENV): Likewise.
38472         (bug-regex25-ENV): Likewise.
38473         (bug-regex26-ENV): Likewise.
38474         (bug-regex30-ENV): Likewise.
38475         (bug-regex32-ENV): Likewise.
38476         (bug-regex33-ENV): Likewise.
38477         (bug-regex34-ENV): Likewise.
38478         (bug-regex35-ENV): Likewise.
38479         (tst-rxspencer-ENV): Likewise.
38480         (tst-rxspencer-no-utf8-ENV): Likewise.
38481         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38482         (tst-sscanf-ENV): Likewise.
38483         (tst-swprintf-ENV): Likewise.
38484         (tst-swscanf-ENV): Likewise.
38485         (test-vfprintf-ENV): Likewise.
38486         (scanf13-ENV): Likewise.
38487         (bug14-ENV): Likewise.
38488         (tst-grouping-ENV): Likewise.
38489         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38490         (tst-strtod3-ENV): Likewise.
38491         (tst-strtod4-ENV): Likewise.
38492         (tst-strtod5-ENV): Likewise.
38493         (testmb2-ENV): Likewise./
38494         * string/Makefile (tst-strxfrm-ENV): Likewise.
38495         (tst-strxfrm2-ENV): Likewise.
38496         (bug-strcoll1-ENV): Likewise.
38497         (test-strcasecmp-ENV): Likewise.
38498         (test-strncasecmp-ENV): Likewise.
38499         * time/Makefile (tst-strptime-ENV): Likewise.
38500         (tst-ftime_l-ENV): Likewise.
38501         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38502         (tst-mbrtowc-ENV): Likewise.
38503         (tst-wcrtomb-ENV): Likewise.
38504         (tst-mbrtowc2-ENV): Likewise.
38505         (tst-c16c32-1-ENV): Likewise.
38506         (tst-mbsnrtowcs-ENV): Likewise.
38508 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38510         * manual/resource.texi (How to get information about the memory
38511         subsystem?): Fix typo.
38512         Reported by Peon de la Parra Ivan <peon@keba.com>
38514 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38516         [BZ #16882]
38517         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38518         (pthread_spin_lock): Branch out of spin loop to proper location.
38519         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38520         (pthread_spin_lock): Likewise.
38522         * nptl/tst-spin4.c: New test.
38523         * nptl/Makefile (tests): Add tst-spin4.
38525 2014-06-03  Andreas Schwab  <schwab@suse.de>
38527         [BZ #15946]
38528         * resolv/res_send.c (send_dg): Reload file descriptor after
38529         calling reopen.
38531 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38533         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38535 2014-06-03  Richard Henderson  <rth@redhat.com>
38537         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38538         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38539         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38540         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38541         in the SAVE_PID block.
38542         (__libc_vfork): New alias.
38543         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38545         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38546         child in registers, not on the stack.  Remove RESET_PID conditionals.
38547         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38549 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38551         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38553 2014-06-03  Wilco  <wdijkstr@arm.com>
38555         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38556         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38557         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38558         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38559         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38560         Likewise.
38562 2014-06-03  Wilco  <wdijkstr@arm.com>
38564         * sysdeps/aarch64/fpu/math_private.h
38565         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38566         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38567         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38568         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38569         Fix declarations.
38571 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38573         * crypt/crypt-private.h: Include ufc-crypt.h.
38574         (__b64_from_24bit): Declare extern.
38575         * crypt/crypt_util.c(__b64_from_24bit): New function.
38576         (b64t): New static const variable.
38577         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38578         (b64t): Remove variable.
38579         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38580         * crypt/sha256-crypt.c: Include crypt-private.h.
38581         (b64t): Remove variable.
38582         (__sha256_crypt_r): Remove b64_from_24bit and replace
38583         with __b64_from_24bit.
38584         * crypt/sha512-crypt.c: Likewise.
38586 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38588         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38589         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38590         Label the code __libc_vfork rather than __vfork.
38591         [!NOT_IN_libc] (vfork): Define as weak alias.
38592         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38593         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38594         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38596 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38598         * malloc/malloc.c (malloc_info): Fix format specifier for
38599         n_mmaps.
38601 2014-06-02  Wilco  <wdijkstr@arm.com>
38603         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38604         FPCR write.
38606 2014-06-02  Wilco  <wdijkstr@arm.com>
38608         [BZ #17009]
38609         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38610         Rewrite to reduce FPCR/FPSR accesses.
38612 2014-06-01  David S. Miller  <davem@davemloft.net>
38614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38616 2014-05-31  David S. Miller  <davem@davemloft.net>
38618         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38619         to occur in round to nearest mode when |x| >= 2.0
38621 2014-05-30  Richard Henderson  <rth@twiddle.net>
38623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38624         (PSEUDO_RET_NOERRNO): Remove.
38625         (ret): Don't redefine.
38626         (ret_NOERRNO): Define in terms of ret.
38627         (ret_ERRVAL): Likewise.
38629         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38630         use of PSEUDO_RET; perform the error check directly.
38632 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38634         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38635         with __int128_t.
38637 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38639         * malloc/malloc (malloc_info): Fix formatting.
38641 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38642             Roland McGrath  <roland@hack.frob.com>
38644         * malloc/malloc (malloc_info): Also print mmapped statistics.
38646 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38648         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38649         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38651 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38653         * malloc/malloc.c (malloc_info): Inline mi_arena.
38655 2014-05-29  Richard Henderson  <rth@twiddle.net>
38657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38658         Remove comma before expanding ASM_ARGS_##nr.
38659         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38660         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38661         of ASM_ARGS_##nr.
38662         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38663         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38664         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38665         (ASM_ARGS_1): Add leading comma.
38667         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38668         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38669         to __errno_location.
38670         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38671         Remove the expected plt for __errno_location.
38673         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38674         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38675         call to __read_tp.
38677         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38678         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38679         it and break it down.
38680         (DOCARGS_0, DOCARGS_1): Do nothing.
38681         (DOCARGS_2): Update to store into the new stack frame.
38682         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38683         (UNDOCARGS_1): Update to restore from the new stack frame.
38684         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38685         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38687         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38688         (SINGLE_THREAD_P): New parameter for result regno.
38689         (PSEUDO): Update to match; use cbz instead of beq.
38691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38692         Use ENTRY to define the _nocancel entry point.  Share the syscall
38693         and syscall error check paths with the cancel path.
38694         (PSEUDO_END): New.
38696         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38697         whitespace; tabs before and after asm mnemonics.
38699 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38701         [BZ #15132]
38702         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38703         Call fstat64 or stat64 internally, depending on arguments passed.
38704         Replace stat buffer argument with file descriptor argument.
38705         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38706         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38707         Pass fd to __internal_statvfs instead of calling fstat64.
38708         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38709         Pass fd to __internal_statvfs64 instead of calling fstat64.
38710         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38711         Pass -1 to __internal_statvfs instead of calling stat64.
38712         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38713         Pass -1 to __internal_statvfs64 instead of calling stat64.
38715 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38717         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38718         that was previously under [RESET_PID].
38719         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38721         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38722         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38724 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38726         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38728         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38729         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38731 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38733         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38735 2014-05-27  Andreas Schwab  <schwab@suse.de>
38737         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38738         TLS_INIT_TP macro.
38739         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38740         * elf/rtld.c (init_tls, dl_main): Likewise.
38741         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38742         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38743         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38744         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38745         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38746         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38747         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38748         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38749         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38750         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38751         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38752         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38753         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38754         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38755         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38756         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38757         * sysdeps/generic/tls.h: Update description.
38759 2014-05-27  Will Newton  <will.newton@linaro.org>
38761         [BZ #16990]
38762         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38763         and restore r2 rather than just restoring.
38765 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38767         [BZ #16724]
38768         * libio/tst-ftell-append.c: New test case.
38769         * libio/Makefile (tests): Add test case.
38770         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38771         append mode.
38772         * libio/wfileops.c (do_ftell_wide): Likewise.
38774 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38778         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38779         ...
38780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38782         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38783         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38784         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38785         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38786         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38787         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38789         Moved ...
38790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38792         Moved ...
38793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38794         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38795         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38796         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38797         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38798         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38799         ...
38800         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38801         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38802         Moved ...
38803         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38804         here.
38805         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38806         ...
38807         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38808         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38809         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38811         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38812         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38813         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38814         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38816         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38817         merge into ...
38818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38820         ...
38821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38822         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38823         ...
38824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38825         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38826         Moved ...
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38828         here.
38829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38830         Moved ...
38831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38832         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38833         Moved ...
38834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38837         conditional [RESET_PID].
38838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38839         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38840         removed.
38841         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38842         removed.
38844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38845         <tcb-offsets.h>.
38846         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38847         (__libc_vfork): New strong alias.
38848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38849         removed.
38850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38851         Removed.
38853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38854         <tcb-offsets.h>.
38855         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38856         (__libc_vfork): New strong alias.
38857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38858         removed.
38859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38860         removed.
38862 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38864         * malloc/malloc.c (mi_arena): New function.
38865         (malloc_info): Remove nested function mi_arena. Call non-nosted
38866         function mi_arena.
38868 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38870         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38871         by insrwi.
38872         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38873         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38874         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38875         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38876         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38877         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38878         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38880 2014-05-26  Andreas Schwab  <schwab@suse.de>
38882         [BZ #16984]
38883         * locale/programs/repertoire.c (repertoire_read): Add slash
38884         between I18NPATH element and file name.
38885         * locale/programs/locfile.c (locfile_read): Likewise.
38887 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38889         * nptl/pthread_mutexattr_settype.c
38890         (__pthread_mutexattr_settype):
38891         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38893 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38895         * nptl/tst-mutex5 (do_test):
38896         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38898 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38900         * benchtests/README: Document 'init' directive.
38901         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38902         BENCH_INIT.
38903         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38904         (parse_file): Recognize 'init' directive.
38906 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38908         [BZ #16796]
38909         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38910         alignment of struct pthread.
38912 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38914         [BZ #16878]
38915         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38916         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38917         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38918         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38920 2014-05-25  Richard Henderson  <rth@twiddle.net>
38922         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38923         (SINGLE_THREAD_P_PIC): Remove.
38924         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38925         (SINGLE_THREAD_P_PIC): Remove.
38927         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38928         branch to syscall error ...
38929         (PSEUDO): ... here.
38930         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38931         from __local_syscall_error to .Lsyscall_error.
38932         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38933         (SYSCALL_ERROR): Update label name.
38935         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38936         Do not use DOARGS/UNDOARGS.
38937         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38938         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38939         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38940         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38941         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38943         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38944         block comment.
38946         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38947         define if !NOT_IN_libc.
38948         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38949         define with non-default symbol versions.
38951 2014-05-23  Richard Henderson  <rth@twiddle.net>
38953         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38954         (vfork, __vfork): Define via compat_symbol.
38956         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38957         [!HAVE_IFUNC] (vfork_compat): Remove.
38958         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38960 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38962         [BZ #16978]
38963         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38964         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38965         variable.
38967 2014-05-23  Richard Henderson  <rth@twiddle.net>
38969         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38970         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38971         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38972         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38974         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38975         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38976         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38977         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38978         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38979         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38980         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38981         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38982         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38983         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38984         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38985         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38986         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38987         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38988         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38989         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38990         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38991         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38992         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38993         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38994         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38995         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38996         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38997         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38998         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38999         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
39000         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
39001         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
39002         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
39003         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
39004         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
39005         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
39006         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
39007         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
39008         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
39009         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
39010         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
39011         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
39012         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
39013         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
39014         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
39015         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
39016         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
39017         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
39018         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
39019         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
39020         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
39021         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
39022         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
39023         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
39024         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
39025         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
39026         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
39027         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
39028         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
39029         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
39031         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
39032         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
39033         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
39034         before exiting on error.
39035         (__libc_vfork): New strong alias.
39036         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
39037         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
39039         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
39040         that was previously under [RESET_PID].
39041         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
39043         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
39045 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
39047         [BZ #16977]
39048         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
39049         value when x - 1 is zero.
39050         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
39051         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
39052         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
39053         0.0L for an argument of 1.0L.
39054         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
39055         Likewise.
39056         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
39057         value when x - 1 is zero.
39058         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
39059         * sysdeps/i386/fpu/libm-test-ulps: Update.
39060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39062 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39064         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
39065         alphasort and versionsort.
39067 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39069         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
39070         macro.
39071         [copysignf]: Likewise.
39073 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39075         * crypt/md5-crypt.c: Fix formatting.
39077 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39079         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
39080         (b64_from_24bit): New function.
39082 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39084         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
39085         libc_hidden_builtin_def to ifunc.
39086         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39087         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
39089 2014-05-21  Roland McGrath  <roland@hack.frob.com>
39091         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
39092         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
39094 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
39096         * nscd/Depend (linuxthreads): Remove.
39097         (nptl): Add.
39098         * resolv/Depend (linuxthreads): Remove.
39099         * rt/Depend (linuxthreads): Remove.
39101         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
39102         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
39103         $(common-objpfx)elf/.
39104         (link-libc-before-gnulib): Likewise.
39105         (elfobjdir): Remove variable.
39106         * Makefile (install): Use $(elf-objpfx) instead of
39107         $(common-objpfx)elf/.
39108         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
39109         $(elfobjdir)/.
39110         (link-libc-deps): Likewise.
39111         ($(common-objpfx)libc.so): Likewise.
39112         ($(common-objpfx)linkobj/libc.so): Likewise.
39113         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
39114         instead of $(common-objpfx)elf/.
39115         (symbolic-link-list): Likewise.
39116         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39117         [$(cross-compiling) = no]: Likewise.
39118         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
39119         $(elfobjdir)/.
39120         (static-gnulib-arch): Likewise.
39121         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39122         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
39123         $(common-objpfx)elf/.
39125 2014-05-21  Richard Henderson  <rth@redhat.com>
39127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39128         (SINGLE_THREAD_P): Use the correct width load.  Fold
39129         into the ldr offset.
39131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
39132         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
39134 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
39136         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
39137         (libgcc_s_resume): Use __attribute_used__.
39138         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
39139         Likewise.
39141 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39143         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
39144         optimization when used with float constants.
39146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39148 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
39150         [BZ #16915]
39151         * locale/nl_langinfo_l.c: Make direct reference to every
39152         _nl_current_CATEGORY symbol.
39153         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
39154         (tests-static): Add tst-langinfo-static.
39155         (tests-special): Add tst-langinfo-static.out.
39156         ($(objpfx)tst-langinfo.out): Redirect output.
39157         ($(objpfx)tst-langinfo-static.out): New.
39158         * localedata/tst-langinfo.sh: Send output to stdout.
39159         * localedata/tst-langinfo-static.c: New file.
39161         [BZ #16965]
39162         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
39163         when the shift amount is modulo the limb size.
39165 2014-05-20  Richard Henderson  <rth@redhat.com>
39167         [BZ #16967]
39168         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
39169         Change type of sa_flags from unsigned int to int.
39171         [BZ #16966]
39172         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
39174         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
39176 2014-05-20  Will Newton  <will.newton@linaro.org>
39178         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39179         Test the return value of the system call in the nocancel case.
39181 2014-05-20  Will Newton  <will.newton@linaro.org>
39182             Yvan Roux  <yvan.roux@linaro.org>
39184         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
39185         #include of asm/ptrace.h.
39186         (PTRACE_GET_THREAD_AREA): Remove #undef.
39187         (PTRACE_GETHBPREGS): Likewise.
39188         (PTRACE_SETHBPREGS): Likewise.
39189         (struct user_regs_struct): New structure.
39190         (struct user_fpsimd_struct): New structure.
39191         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
39192         #include of asm/ptrace.h and second #include of sys/user.h.
39193         (PTRACE_GET_THREAD_AREA): Remove #undef.
39194         (PTRACE_GETHBPREGS): Likewise.
39195         (PTRACE_SETHBPREGS): Likewise.
39196         (ELF_NGREG): Use new struct user_regs_struct.
39197         (elf_fpregset_t): Use new struct user_fpsimd_struct.
39199 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39201         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
39202         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
39204 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
39206         [BZ #16958]
39207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
39208         membar to avoid block loads/stores to overlap previous stores.
39210 2014-05-17  Richard Henderson  <rth@redhat.com>
39212         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
39213         Create the __##syscall_name##_nocancel entry point.
39214         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
39215         Remove; let the sysdep-cancel.h code create it.
39217 2014-05-17  David S. Miller  <davem@davemloft.net>
39219         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
39220         Protect with __USE_GNU.
39221         (TIOCSET_TEMPT): Likewise.
39222         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39223         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
39224         these are already provided in bits/ioctl-types.h
39226 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39228         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
39229         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
39231         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
39232         Use wait4 regardless of [__NR_waitpid].
39234 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39236         PR libgcc/60166
39237         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39238         (_FP_NANSIGN_Q): Set the quiet bit.
39240 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
39242         * benchtests/Makefile
39243         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
39244         not $(common-objpfx)math/libm.so.
39245         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
39246         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
39247         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
39248         $(common-objpfx)dlfcn/libdl.so.
39249         ($(objpfx)tst-audit8): Depend on $(libm), not
39250         $(common-objpfx)math/libm.so.
39251         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
39252         not $(common-objpfx)dlfcn/libdl.so.
39253         * math/Makefile
39254         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39255         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
39256         [$(build-shared) = yes].
39257         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
39258         $(common-objpfx)nptl/libpthread.so.
39259         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
39260         $(common-objpfx)math/libm.so$(libm.so-version) or
39261         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
39262         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
39263         $(common-objpfx)dlfcn/libdl.so.
39264         * setjmp/Makefile (link-libm): Remove variable.
39265         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
39266         * stdio-common/Makefile (link-libm): Remove variable.
39267         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
39268         * stdlib/Makefile (link-libm): Remove variable.
39269         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
39270         ($(objpfx)tst-strtod-round): Likewise.
39271         ($(objpfx)tst-tininess): Likewise.
39272         ($(objpfx)tst-strtod-underflow): Likewise.
39273         ($(objpfx)tst-strtod6): Likewise.
39274         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
39275         $(libdl), not $(common-objpfx)nptl/libpthread.so and
39276         $(common-objpfx)dlfcn/libdl.so.
39278 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39280         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
39281         BSD terminal modes definitions.
39283 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39285         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
39286         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
39288         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
39289         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
39290         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39291         Don't do #include_next.
39292         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39293         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39294         Don't do #include_next.
39295         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39296         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39297         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39298         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39300 2014-05-16  Allan McRae  <allan@archlinux.org>
39302         * po/sv.po: Update Swedish translation from translation project.
39304         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39305         in sed expression.
39307 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39309         [BZ #16917]
39310         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39311         errno if the TIOCGPTN ioctl fails with an error different than
39312         EINVAL.
39313         * login/tst-ptsname.c: New file.
39314         * login/Makefile (tests): Add tst-ptsname.
39316         [BZ #16943]
39317         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39318         and prlimit64.
39320 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39322         [BZ #16849]
39323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39324         herrno to return EAI_AGAIN.
39326 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39328         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39329         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39330         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39331         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39332         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39333         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39334         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39335         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39336         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39337         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39338         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39339         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39340         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39341         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39342         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39343         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39344         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39345         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39346         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39347         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39348         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39349         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39350         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39351         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39352         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39353         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39354         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39355         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39356         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39357         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39359         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39361         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39363         Moved ...
39364         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39366         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39368         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39370         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39372         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39374         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39376         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39378         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39380         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39382         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39384         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39386         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39388         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39390         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39392         Moved ...
39393         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39395         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39397         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39399         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39401         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39403         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39405         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39407         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39409         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39411         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39413         Moved ...
39414         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39416         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39418         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39419         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39420         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39421         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39422         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39423         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39424         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39425         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39426         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39427         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39428         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39429         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39430         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39431         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39432         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39433         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39434         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39435         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39436         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39437         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39438         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39439         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39440         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39441         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39442         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39443         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39444         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39445         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39446         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39447         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39448         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39450         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39451         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39453         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39454         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39455         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39456         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39457         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39458         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39459         Moved ...
39460         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39461         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39462         Moved ...
39463         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39464         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39465         Moved ...
39466         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39467         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39468         Moved ...
39469         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39470         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39471         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39472         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39473         Moved ...
39474         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39475         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39476         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39477         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39478         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39479         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39480         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39481         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39482         Moved ...
39483         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39484         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39485         Moved ...
39486         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39487         ... here.
39488         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39489         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39490         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39491         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39492         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39493         Moved ...
39494         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39495         ... here.
39496         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39497         Moved ...
39498         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39499         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39500         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39501         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39502         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39503         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39504         Moved ...
39505         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39506         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39507         Moved ...
39508         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39509         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39510         Moved ...
39511         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39512         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39513         Moved ...
39514         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39515         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39516         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39517         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39518         Moved ...
39519         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39520         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39521         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39522         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39523         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39524         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39525         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39526         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39527         Moved ...
39528         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39529         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39530         Moved ...
39531         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39532         ... here.
39533         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39534         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39535         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39536         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39537         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39538         Moved ...
39539         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39540         ... here.
39541         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39542         Moved ...
39543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39544         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39545         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39546         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39547         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39548         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39549         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39550         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39551         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39552         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39553         Moved ...
39554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39555         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39556         Moved ...
39557         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39558         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39559         Moved ...
39560         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39561         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39562         Moved ...
39563         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39564         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39565         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39566         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39567         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39568         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39569         Moved ...
39570         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39571         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39572         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39573         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39574         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39575         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39576         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39577         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39578         Moved ...
39579         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39580         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39581         Moved ...
39582         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39583         ... here.
39584         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39585         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39586         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39587         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39588         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39589         Moved ...
39590         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39591         ... here.
39592         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39593         Moved ...
39594         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39595         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39596         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39597         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39598         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39599         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39600         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39601         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39602         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39603         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39604         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39606         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39607         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39609         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39610         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39612         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39613         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39614         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39615         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39616         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39617         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39618         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39619         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39620         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39621         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39622         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39623         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39624         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39625         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39626         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39627         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39628         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39629         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39630         Moved ...
39631         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39632         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39633         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39634         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39635         Moved ...
39636         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39637         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39638         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39639         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39640         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39642         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39643         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39644         Moved ...
39645         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39647         Moved ...
39648         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39649         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39650         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39651         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39652         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39653         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39654         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39655         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39656         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39657         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39658         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39659         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39660         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39661         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39662         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39663         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39664         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39666         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39667         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39668         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39669         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39670         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39672         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39673         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39674         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39675         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39676         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39677         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39678         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39679         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39680         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39681         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39683         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39686         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39687         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39688         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39689         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39690         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39691         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39692         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39693         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39694         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39695         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39696         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39697         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39698         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39699         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39700         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39701         Update #include.
39702         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39703         Likewise.
39704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39705         Likewise.
39706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39707         Likewise.
39708         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39709         Likewise.
39710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39711         Likewise.
39712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39713         Likewise.
39714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39715         Likewise.
39716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39717         Likewise.
39718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39719         Likewise.
39720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39724         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39725         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39727         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39729         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39730         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39731         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39732         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39733         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39734         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39736         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39737         that was previously under [RESET_PID].
39738         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39739         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39740         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39742         * sysdeps/i386/nptl/Implies: New file.
39743         * sysdeps/x86_64/nptl/Implies: New file.
39744         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39745         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39746         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39747         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39749         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39750         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39751         (__libc_vfork): New strong alias.
39752         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39753         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39755         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39756         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39757         (__libc_vfork): New strong alias.
39758         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39759         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39761         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39762         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39763         (__libc_vfork): New strong alias.
39764         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39765         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39766         * nptl/pt-vfork.c: New file.
39767         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39768         (libpthread: GLIBC_2.20): New version set (empty).
39770 2014-05-14  Will Newton  <will.newton@linaro.org>
39772         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39773         rather than #if.
39775 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39777         [BZ #16564]
39778         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39779         arguments with exponent 65 or above.
39780         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39781         arguments 0x1p113L or above.
39782         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39783         to arguments 0x1p107L or above.
39784         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39785         positive arguments with exponent 65 or above.
39786         * math/auto-libm-test-in: Add more tests of log1p.
39787         * math/auto-libm-test-out: Regenerated.
39789         [BZ #16928]
39790         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39791         non-finite arguments is +0.
39792         * math/s_cacosf.c (__cacosf): Likewise.
39793         * math/s_cacosl.c (__cacosl): Likewise.
39794         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39795         * sysdeps/i386/fpu/libm-test-ulps: Update.
39796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39798         [BZ #16927]
39799         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39800         value.
39801         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39802         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39803         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39804         for explicit high bit of mantissa when testing for argument equal
39805         to 1.
39806         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39807         * sysdeps/i386/fpu/libm-test-ulps: Update.
39808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39810         [BZ #16516]
39811         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39812         (__erf): Scale by 16 instead of 8 in potentially underflowing
39813         case.  Ensure exception if result actually underflows.
39814         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39815         (__erff): Scale by 16 instead of 8 in potentially underflowing
39816         case.  Ensure exception if result actually underflows.
39817         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39818         (efx8): Remove variable.
39819         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39820         case.  Ensure exception if result actually underflows.
39821         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39822         (efx8): Remove variable.
39823         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39824         case.  Ensure exception if result actually underflows.
39825         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39826         (efx8): Remove variable.
39827         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39828         case.  Ensure exception if result actually underflows.
39829         * math/auto-libm-test-in: Add more tests of erf.
39830         * math/auto-libm-test-out: Regenerated.
39832 2014-05-14  Andreas Schwab  <schwab@suse.de>
39834         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39835         Remove code conditionalized on USE___THREAD.
39837         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39838         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39839         not definedness.
39841 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39843         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39844         Define unconditionally.
39845         (__ASSUME_O_CLOEXEC): Likewise.
39846         (__ASSUME_SOCK_CLOEXEC): Likewise.
39847         (__ASSUME_IN_NONBLOCK): Likewise.
39848         (__ASSUME_PIPE2): Likewise.
39849         (__ASSUME_EVENTFD2): Likewise.
39850         (__ASSUME_SIGNALFD4): Likewise.
39851         (__ASSUME_DUP3): Likewise.
39852         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39853         (__ASSUME_DUP3): Do not define.
39854         (__ASSUME_EVENTFD2): Likewise.
39855         (__ASSUME_IN_NONBLOCK): Likewise.
39856         (__ASSUME_O_CLOEXEC): Likewise.
39857         (__ASSUME_PIPE2): Likewise.
39858         (__ASSUME_SIGNALFD4): Likewise.
39859         (__ASSUME_SOCK_CLOEXEC): Likewise.
39860         (__ASSUME_UTIMES): Undefine.
39861         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39862         (__ASSUME_UTIMES): Do not define.
39863         (__ASSUME_O_CLOEXEC): Likewise.
39864         (__ASSUME_SOCK_CLOEXEC): Likewise.
39865         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39866         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39867         0x020621].
39868         (__ASSUME_PIPE2): Likewise.
39869         (__ASSUME_EVENTFD2): Likewise.
39870         (__ASSUME_SIGNALFD4): Likewise.
39871         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39872         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39873         Do not define.
39874         (__ASSUME_EVENTFD2): Likewise.
39875         (__ASSUME_SIGNALFD4): Likewise.
39876         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39877         (__ASSUME_32BITUIDS): Likewise.
39878         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39879         (__ASSUME_IPC64): Likewise.
39880         (__ASSUME_ST_INO_64_BIT): Likewise.
39881         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39882         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39883         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39884         (__ASSUME_UTIMES): Do not define.
39885         (__ASSUME_PSELECT): Likewise.
39886         (__ASSUME_PPOLL): Likewise.
39887         (__ASSUME_O_CLOEXEC): Likewise.
39888         (__ASSUME_SOCK_CLOEXEC): Likewise.
39889         (__ASSUME_IN_NONBLOCK): Likewise.
39890         (__ASSUME_PIPE2): Likewise.
39891         (__ASSUME_EVENTFD2): Likewise.
39892         (__ASSUME_SIGNALFD4): Likewise.
39893         (__ASSUME_DUP3): Likewise.
39894         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39895         (__ASSUME_UTIMES): Likewise.
39896         (__ASSUME_O_CLOEXEC): Likewise.
39897         (__ASSUME_SOCK_CLOEXEC): Likewise.
39898         (__ASSUME_IN_NONBLOCK): Likewise.
39899         (__ASSUME_PIPE2): Likewise.
39900         (__ASSUME_EVENTFD2): Likewise.
39901         (__ASSUME_SIGNALFD4): Likewise.
39902         (__ASSUME_DUP3): Likewise.
39903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39904         (__ASSUME_UTIMES): Likewise.
39905         (__ASSUME_O_CLOEXEC): Likewise.
39906         (__ASSUME_SOCK_CLOEXEC): Likewise.
39907         (__ASSUME_IN_NONBLOCK): Likewise.
39908         (__ASSUME_PIPE2): Likewise.
39909         (__ASSUME_EVENTFD2): Likewise.
39910         (__ASSUME_SIGNALFD4): Likewise.
39911         (__ASSUME_DUP3): Likewise.
39912         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39913         Likewise.
39914         (__ASSUME_UTIMES): Likewise.
39915         (__ASSUME_EVENTFD2): Likewise.
39916         (__ASSUME_SIGNALFD4): Likewise.
39917         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39918         (__ASSUME_O_CLOEXEC): Likewise.
39919         (__ASSUME_SOCK_CLOEXEC): Likewise.
39920         (__ASSUME_IN_NONBLOCK): Likewise.
39921         (__ASSUME_PIPE2): Likewise.
39922         (__ASSUME_EVENTFD2): Likewise.
39923         (__ASSUME_SIGNALFD4): Likewise.
39924         (__ASSUME_DUP3): Likewise.
39925         (__ASSUME_UTIMES): Undefine.
39927         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39928         feclearexcept.  Remove symbol versioning code.
39929         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39930         symbol versioning code.
39931         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39932         symbol versioning code.
39933         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39934         feupdateenv.  Remove symbol versioning code.
39935         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39936         fegetexceptflag.  Remove symbol versioning code.
39937         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39938         fesetexceptflag.  Remove symbol versioning code.
39939         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39940         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39941         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39942         (__posix_fadvise64_l32): Remove prototype.
39943         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39944         code.
39946 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39948         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39949         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39950         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39951         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39953 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39955         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39956         current working directory
39958 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39960         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39961         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39962         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39963         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39964         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39965         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39966         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39967         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39968         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39969         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39970         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39971         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39972         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39973         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39974         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39975         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39976         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39977         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39978         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39979         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39980         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39981         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39982         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39983         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39984         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39985         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39986         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39987         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39988         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39989         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39990         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39991         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39992         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39993         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39994         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39995         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39996         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39997         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39998         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39999         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
40000         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
40001         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
40003         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
40004         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
40006         * sysdeps/unix/sysv/linux/arm/Makefile
40007         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40008         Add rt-aeabi_unwind_cpp_pr1.
40009         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
40010         Add nptl-aeabi_unwind_cpp_pr1.
40011         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
40012         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
40013         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
40014         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40015         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
40016         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40018         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
40019         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
40020         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
40021         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
40023         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
40024         Deconditionalize the code that was previously under [RESET_PID].
40025         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
40027         * sysdeps/generic/exit-thread.h: New file.
40028         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
40029         * include/unistd.h (__exit_thread): Remove declaration.
40030         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
40031         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
40032         * csu/libc-start.c: Include <exit-thread.h>.
40033         (LIBC_START_MAIN): Pass no argument to __exit_thread.
40034         * nptl/pthread_create.c: Include <exit-thread.h>.
40035         (start_thread): Call __exit_thread in place of __exit_thread_inline.
40036         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
40037         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
40038         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
40039         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
40040         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
40041         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
40042         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
40043         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
40044         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
40045         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
40046         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
40047         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
40048         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
40049         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
40050         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
40051         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
40053 2014-05-13  Andreas Schwab  <schwab@suse.de>
40055         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
40057 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
40059         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40060         (__ASSUME_UTIMES): Do not condition on kernel version.
40061         (__ASSUME_PSELECT): Define unconditionally.
40062         (__ASSUME_PPOLL): Likewise.
40063         (__ASSUME_ATFCTS): Likewise.
40064         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
40065         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
40066         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
40067         (__ASSUME_UTIMENSAT): Define unconditionally.
40068         (__ASSUME_PRIVATE_FUTEX): Likewise.
40069         (__ASSUME_FALLOCATE): Likewise.
40070         (__ASSUME_O_CLOEXEC): Likewise.
40071         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
40072         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
40073         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
40074         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
40075         (__ASSUME_IN_NONBLOCK): Likewise.
40076         (__ASSUME_PIPE2): Likewise.
40077         (__ASSUME_EVENTFD2): Likewise.
40078         (__ASSUME_SIGNALFD4): Likewise.
40079         (__ASSUME_DUP3): Likewise.
40080         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40081         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
40082         (__ASSUME_AT_RANDOM): Likewise.
40083         (__ASSUME_PREADV): Likewise.
40084         (__ASSUME_PWRITEV): Likewise.
40085         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
40086         (__ASSUME_F_GETOWN_EX): Define unconditionally.
40087         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
40088         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40089         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
40090         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40091         (__ASSUME_O_CLOEXEC): Define unconditionally.
40092         (__ASSUME_PSELECT): Do not undefine conditionally.
40093         (__ASSUME_PPOLL): Likewise.
40094         (__ASSUME_ATFCTS): Likewise.
40095         (__ASSUME_SET_ROBUST_LIST): Likewise.
40096         (__ASSUME_UTIMENSAT): Likewise.
40097         (__ASSUME_FDATASYNC): Define unconditionally.
40098         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40099         (__ASSUME_SIGFRAME_V2): Likewise.
40100         )__ASSUME_EVENTFD2): Likewise.
40101         (__ASSUME_SIGNALFD4): Likewise.
40102         (__ASSUME_PSELECT): Do not undefine conditionally.
40103         (__ASSUME_PPOLL): Likewise.
40104         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40105         (__ASSUME_PSELECT): Define unconditionally.
40106         (__ASSUME_PPOLL): Likewise.
40107         (__ASSUME_O_CLOEXEC): Likewise.
40108         (__ASSUME_SOCK_CLOEXEC): Likewise.
40109         (__ASSUME_IN_NONBLOCK): Likewise.
40110         (__ASSUME_PIPE2): Likewise.
40111         (__ASSUME_EVENTFD2): Likewise.
40112         (__ASSUME_SIGNALFD4): Likewise.
40113         (__ASSUME_DUP3): Likewise.
40114         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40115         (__ASSUME_O_CLOEXEC): Likewise.
40116         (__ASSUME_SOCK_CLOEXEC): Likewise.
40117         (__ASSUME_IN_NONBLOCK): Likewise.
40118         (__ASSUME_PIPE2): Likewise.
40119         (__ASSUME_EVENTFD2): Likewise.
40120         (__ASSUME_SIGNALFD4): Likewise.
40121         (__ASSUME_DUP3): Likewise.
40122         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40123         (__ASSUME_EVENTFD2): Likewise.
40124         (__ASSUME_SIGNALFD4): Likewise.
40125         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40127 2014-05-12  Andreas Schwab  <schwab@suse.de>
40129         [BZ #16932]
40130         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
40131         (_nss_nis_gethostbyname4_r): Return error if item length is larger
40132         than maximum RPC packet size.
40133         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
40134         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
40135         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
40136         (_nss_nis_getservbyport_r): Likewise.
40138 2014-05-12  Will Newton  <will.newton@linaro.org>
40140         * malloc/Makefile (tests): Add tst-mallopt.
40141         * malloc/tst-mallopt.c: New file.
40143 2014-05-09  Roland McGrath  <roland@hack.frob.com>
40145         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
40146         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
40148 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40150         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
40151         (tst-tlsmod6.so): Likewise.
40153 2014-05-09  Roland McGrath  <roland@hack.frob.com>
40155         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
40157 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
40159         [BZ #16064]
40160         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
40161         and <dl-procinfo.h>.
40162         (__fegetenv): Save SSE state in envp->__eip if supported.
40163         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
40164         envp->__eip if supported.
40165         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
40166         and <dl-procinfo.h>.
40167         (__fesetenv): Always set __eip, __cs_selector, __opcode,
40168         __data_offset and __data_selector in environment to 0.  Set SSE
40169         state if supported.
40170         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
40171         test-fenv-sse.
40172         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
40173         -mfpmath=sse.
40174         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
40176 2014-05-09  Will Newton  <will.newton@linaro.org>
40178         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
40179         and libc_relro_required for ARM.
40180         * sysdeps/arm/preconfigure: Regenerate.
40182 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
40183             Stefan Liebler  <stli@linux.vnet.ibm.com>
40185         * config.make.in (enable-lock-elision): New Makefile variable.
40186         * configure.ac: Likewise.
40187         * configure: Regenerate.
40188         * sysdeps/s390/configure.ac:
40189         Add check for gcc transactions support.
40190         * sysdeps/s390/configure: Regenerate.
40191         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
40192         Build elision files if enabled.
40193         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
40194         Add lock elision support for s390.
40195         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
40196         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
40197         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
40198         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
40199         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
40200         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
40201         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40202         Likewise.
40203         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
40204         Likewise.
40205         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
40206         Likewise.
40207         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
40208         Likewise.
40209         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
40210         (__lll_timedlock_elision, __lll_lock_elision)
40211         (__lll_unlock_elision, __lll_trylock_elision)
40212         (lll_timedlock_elision, lll_lock_elision)
40213         (lll_unlock_elision, lll_trylock_elision): Add.
40214         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40215         (pthread_mutex_t): Add lock elision support for s390.
40217 2014-05-14  Wilco  <wdijkstr@arm.com>
40219         * sysdeps/arm/fclrexcpt.c: Cleanup.
40220         * sysdeps/arm/fedisblxcpt.c: Cleanup.
40221         * sysdeps/arm/feenablxcpt.c: Cleanup.
40222         * sysdeps/arm/fegetenv.c: Cleanup.
40223         * sysdeps/arm/fegetexcept.c: Cleanup.
40224         * sysdeps/arm/fegetround.c: Cleanup.
40225         * sysdeps/arm/feholdexcpt.c: Cleanup.
40226         * sysdeps/arm/fesetenv.c: Cleanup.
40227         * sysdeps/arm/fesetround.c: Cleanup.
40228         * sysdeps/arm/feupdateenv.c: Cleanup.
40229         * sysdeps/arm/fgetexcptflg.c: Cleanup.
40230         * sysdeps/arm/fraiseexcpt.c: Cleanup.
40231         * sysdeps/arm/fsetexcptflg.c: Cleanup.
40232         * sysdeps/arm/ftestexcept.c: Cleanup.
40233         * sysdeps/arm/get-rounding-mode.h: Cleanup.
40234         * sysdeps/arm/setfpucw.c: Cleanup.
40236 2014-05-09  Will Newton  <will.newton@linaro.org>
40238         * sysdeps/arm/armv7/strcmp.S: New file.
40239         * NEWS: Mention addition of ARMv7 optimized strcmp.
40241 2014-05-08  Roland McGrath  <roland@hack.frob.com>
40243         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
40244         look for %.ac rather than %.in.
40246         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
40247         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
40248         * sysdeps/mach/hurd/configure: Regenerated.
40249         * sysdeps/unix/sysv/linux/configure: Regenerated.
40251         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
40253 2014-05-07  Steve Ellcey  <sellcey@mips.com>
40255         [BZ# 16922]
40256         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
40257         (LONG_SUB): Ditto.
40258         (PTR_SUB): Ditto.
40260 2014-05-07  Andreas Schwab  <schwab@suse.de>
40262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
40263         when skipping over non-matching result from nscd.
40265 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
40267         [BZ #16876]
40268         * nptl/sockperf.c (client): Check socket return value.
40270         [BZ #16877]
40271         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
40272         nscd security class.
40274 2014-05-06  Roland McGrath  <roland@hack.frob.com>
40276         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
40277         * sysdeps/arm/unwind.h: ... here.
40279 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
40281         [BZ# 16916]
40282         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
40283         Define.
40285 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40287         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40288         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
40289         multiarch strncpy for PPC64.
40290         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40291         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40293         multiarch optimizations.
40294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40295         (__libc_ifunc_impl_list): Likewise.
40296         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40297         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40298         multiarch stpncpy for PPC64.
40299         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40300         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40302 2014-05-06  Andreas Schwab  <schwab@suse.de>
40304         [BZ #16912]
40305         * gmon/mcount.c (_MCOUNT_DECL): Use
40306         atomic_compare_and_exchange_bool_acq instead of
40307         catomic_compare_and_exchange_bool_acq.
40309 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40311         * elf/Makefile (others, install-bin): Remove pldd.
40312         (pldd-modules): Variable removed.
40313         ($(objpfx)pldd): Target removed.
40314         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40315         (others, install-bin): Append pldd here.
40316         ($(objpfx)pldd): New target.
40318         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40319         to 0, so the first #if test emitted later doesn't see it undefined.
40320         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40321         * sysdeps/gnu/errlist.c: Regenerated.
40323 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40325         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40326         [libc_hidden_builtin_def]: Define to empty value.
40327         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40328         [libc_hidden_builtin_def]: Likewise.
40329         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40330         [libc_hidden_builtin_def]: Likewise.
40331         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40332         [libc_hidden_builtin_def]: Likewise.
40333         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40334         __redirect_memcpy and define ifunc as default hidden symbol.
40335         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40336         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40338 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40340         * locale/iso-4217.def: Reintroduce XDR currency.
40342 2014-05-04  Allan McRae  <allan@archlinux.org>
40344         * po/eo.po: Update Esperanto translation from translation project.
40346 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40348         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40349         and FEATURE_INDEX_MAX to 1.
40350         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40352 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40354         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40355         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40356         * iconvdata/big5.c (ONE_DIRECTION): Define.
40357         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40358         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40359         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40360         * iconvdata/cp932.c (ONE_DIRECTION): Define.
40361         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40362         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40363         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40364         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40365         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40366         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40367         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40368         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40369         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40370         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40371         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40372         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40373         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40374         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40375         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40376         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40377         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40378         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40379         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40380         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40381         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40382         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40383         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40384         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40385         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40386         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40387         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40388         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40389         * iconvdata/johab.c (ONE_DIRECTION): Define.
40390         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40391         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40392         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40393         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40394         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40395         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40396         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40397         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40398         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40399         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40401 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40403         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40404         (_IO_JUMPS_OFFSET): Define to 0.
40406         * nptl/sysdeps/pthread/bits/libc-lock.h
40407         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40408         (__libc_lock_define_initialized_recursive): Always define using
40409         initializer.  Modern compilers treat uninitialized (implicit zero) and
40410         explicit zero initializers the same (i.e. put the datum in bss).
40412 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40414         * nscd/nscd-client.h: Include <string.h>.
40416 2014-05-01  David S. Miller  <davem@davemloft.net>
40418         [BZ #16885]
40419         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40420         multiple zero bytes exist at the end of a string.
40421         Reported by Aurelien Jarno <aurelien@aurel32.net>
40423         * string/test-strcmp.c (check): Add explicit test for situations where
40424         there are multiple zero bytes after the first.
40426 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40428         [BZ #16890]
40429         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40430         when compiling wprintf.
40431         * stdio-common/tstdiomisc.c (t3): New function.
40432         (main): Call it.
40434 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40436         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40437         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40438         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40439         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40441 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40443         * stdlib/longlong.h: Updated from GCC.
40445 2014-05-01  Will Newton  <will.newton@linaro.org>
40446             Bernard Ogden  <bernie.ogden@linaro.org>
40448         * NEWS: Update fixed bug list.
40450         [BZ #15119]
40451         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40453 2014-04-30  David S. Miller  <davem@davemloft.net>
40455         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40456         (libc_feholdexcept_setround_sparc_ctx): New function.
40457         (libc_fesetenv_sparc_ctx): Likewise.
40458         (libc_feupdateenv_sparc_ctx): Likewise.
40459         (libc_feholdsetround_sparc_ctx): Likewise.
40460         (libc_feholdexcept_setround_ctx): Define.
40461         (libc_feholdexcept_setroundf_ctx): Likewise.
40462         (libc_feholdexcept_setroundl_ctx): Likewise.
40463         (libc_fesetenv_ctx): Likewise.
40464         (libc_fesetenvf_ctx): Likewise.
40465         (libc_fesetenvl_ctx): Likewise.
40466         (libc_feupdateenv_ctx): Likewise.
40467         (libc_feupdateenvf_ctx): Likewise.
40468         (libc_feupdateenvl_ctx): Likewise.
40469         (libc_feresetround_ctx): Likewise.
40470         (libc_feresetroundf_ctx): Likewise.
40471         (libc_feresetroundl_ctx): Likewise.
40472         (libc_feholdsetround_ctx): Likewise.
40473         (libc_feholdsetroundf_ctx): Likewise.
40474         (libc_feholdsetroundl_ctx): Likewise.
40476         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40477         with __USE_GNU instead of XOPEN cpp guards.
40479         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40480         0.
40482         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40483         with XOPEN cpp guards.
40485 2014-04-30  Julian Brown  <julian@codesourcery.com>
40487         [BZ #16888]
40488         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40489         handling.
40491 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40493         [BZ #9894]
40494         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40495         Change to 2.6.32.
40496         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40497         * sysdeps/unix/sysv/linux/configure: Regenerated.
40498         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40499         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40500         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40501         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40502         * README: Update reference to required Linux kernel version.
40503         * manual/install.texi (Linux): Update reference to required Linux
40504         kernel headers version.
40505         * INSTALL: Regenerated.
40507         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40508         header inclusion.
40509         [POSIX] (limits.h): Likewise.
40510         [POSIX] (math.h): Likewise.
40511         [POSIX] (sys/wait.h): Likewise.
40512         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40513         function.
40514         [POSIX] (stddef.h): Do not allow header inclusion.
40516 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40518         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40520 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40522         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40523         Return immediately after lll_futex_wake.
40525 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40527         [BZ #16791]
40528         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40529         structure.
40530         (datahead_init_pos): Call datahead_init_common early.
40531         (datahead_init_neg): Likewise.
40533         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40534         datahead_init_neg): New functions.
40535         * nscd/aicache.c (addhstaiX): Use them.
40536         * nscd/grpcache.c (cache_addgr): Likewise.
40537         * nscd/hstcache.c (cache_addhst): Likewise.
40538         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40539         * nscd/netgroupcache.c (do_notfound): Likewise.
40540         (addgetnetgrentX): Likewise.
40541         (addinnetgrX): Likewise.
40542         * nscd/pwdcache.c (cache_addpw): Likewise.
40543         * nscd/servicescache.c (cache_addserv): Likewise.
40545 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40546             Atsushi Onoe  <atsushi@onoe.org>
40548         [BZ #14308]
40549         [BZ #12994]
40550         [BZ #13651]
40551         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40552         one response is valid.
40553         * resolv/res_send.c (send_dg): Check for validity of other
40554         response if the current response is a referral.
40556 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40558         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40560 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40562         [BZ #16823]
40563         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40564         Always divide by positive zero when computing -Inf result.
40565         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40566         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40568 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40570         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40571         FPSCR if value do not change.
40572         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40573         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40574         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40575         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40576         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40577         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40578         function.
40580 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40582         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40583         * sysdeps/unix/sysv/linux/hppa: Move directory from
40584         ports/systeps/unix/sysv/linux/hppa.
40585         * README: Update listing for hppa-*-linux-gnu.
40587 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40589         [BZ #16754]
40590         * manual/stdio.texi (Hook functions): Fix types of stream hook
40591         functions.
40592         [BZ #16854]
40593         * socket/sys/socket.h: Fix typo in comment.
40595 2014-04-28  Wilco  <wdijkstr@arm.com>
40597         * sysdeps/arm/fenv_private.h: New file.
40598         * sysdeps/arm/math_private.h: New file.
40599         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40601 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40603         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40604         with __int128_t.
40605         (La_x86_64_retval): Likewise.
40607 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40609         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40610         fpsr if value didn't change.
40611         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40612         to fpcr if value didn't change.
40613         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40614         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40615         fpsr or fpcr if value didn't change.
40616         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40617         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40618         fpcr if value didn't change.
40619         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40620         to fpsr if value didn't change.
40622 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40624         * nptl/tst-sem3.c: Use test-skeleton.c
40625         (main): Rename to do_test.  Use return instead of
40626         exit.
40627         * nptl/tst-sem4.c: Use test-skeleton.c
40628         (main): Rename to do_test.
40630 2014-04-22  David S. Miller  <davem@davemloft.net>
40632         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40633         (struct sigaction): New struct member __glibc_reserved0, change
40634         type of sa_flags to int.
40636 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40638         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40639         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40641 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40643         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40644         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40646 2014-04-22  Will Newton  <will.newton@linaro.org>
40647             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40649         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40650         (__longjmp): Add longjmp and longjmp_target SystemTap
40651         probes.
40652         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40653         (__sigsetjmp): Add setjmp SystemTap probe.
40655 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40657         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40658         match manual order.
40660 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40662         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40664         * sysdeps/powerpc/fpu/fenv_private.h
40665         (libc_feholdexcept_setroundl_ctx): Define to
40666         libc_feholdexcept_setround_ppc_ctx.
40667         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40668         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40669         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40670         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40672 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40674         * sysdeps/aarch64/math-tests.h: New file.
40676 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40678         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40679         New.
40680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40681         Check and set bit_AVX2_Usable.
40682         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40683         macro.
40684         (bit_AVX2): Likewise.
40685         (index_AVX2_Usable): Likewise.
40686         (CPUID_AVX2): Likewise.
40687         (HAS_AVX2): Likewise.
40689 2014-04-17  Will Newton  <will.newton@linaro.org>
40691         * manual/setjmp.texi (System V contexts): Add note that
40692         calling setcontext on a context created by a call to a
40693         signal handler is undefined.  Update text to note that
40694         setcontext from a signal handler is possible but not
40695         recommended.
40697         [BZ #16629]
40698         * stdlib/tst-setcontext.c: Include signal.h.
40699         (main): Check that the signal stack before and
40700         after swapcontext is the same.
40702         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40703         Re-implement to restore registers in user code and avoid
40704         rt_sigreturn system call.
40706 2014-04-17  Wilco  <wdijkstr@arm.com>
40708         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40709         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40710         * math/test-fenv.c: Skip exception trap tests on targets which only
40711         support non-stop mode.
40713 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40714             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40716         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40717         (libc_feholdsetround_aarch64_ctx)
40718         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40719         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40720         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40721         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40722         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40723         (libc_feresetround_noexl_ctx): Define.
40725 2014-04-16  Richard Henderson  <rth@redhat.com>
40727         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40729         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40730         unwind tables.
40732         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40733         const from the non-libc, non-ldso copy.
40735         * sysdeps/alpha/libm-test-ulps: Regenerate.
40737 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40738             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40740         * sysdeps/aarch64/fpu/math_private.h: New file.
40742 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40744         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40746 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40748         [BZ #16275]
40749         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40750         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40751         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40752         Intel MPX bound registers before _dl_profile_fixup.
40753         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40754         registers after _dl_profile_fixup.  Save and restore bound
40755         registers bnd0/bnd1 when calling _dl_call_pltexit.
40756         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40757         (LR_BND_OFFSET): Likewise.
40758         (LRV_BND0_OFFSET): Likewise.
40759         (LRV_BND1_OFFSET): Likewise.
40761 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40763         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40764         to...
40765         * sysdeps/mach/hurd/i386/tls.h: ... here.
40766         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40767         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40768         fields.
40770 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40772         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40774 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40776         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40778 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40780         [BZ #14770]
40781         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40782         * sysdeps/s390/configure: Regenerate.
40784         [BZ #16824]
40785         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40786         Set round-to-nearest internally to reduce error accumulation.
40788 2014-04-16  Alan Modra  <amodra@gmail.com>
40790         [BZ #16740]
40791         [BZ #16619]
40792         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40793         * math/libm-test.inc (frexp_test_data): Add tests.
40794         * NEWS: Update fixed bug list.
40796 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40798         * benchtests/Makefile: Depend on libraries in build directory.
40799         (bench-math): Separate out math tests.
40800         (bench-pthread): Separate out pthread tests.
40801         (bench): Include math and pthread tests.
40803 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40805         [BZ #16831]
40806         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40807         _dl_debug_initialize.
40809         * configure.ac: Remove SELinux header check.
40810         * configure: Regenerate.
40811         * nscd/selinux.c (perms): Array of const char* to permission names.
40812         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40813         default policy. Call string_to_security_class and string_to_av_perm to
40814         translate strings. Enforce default policy and call avs_has_perm with
40815         results of translated strings.
40817 2014-04-13  David S. Miller  <davem@davemloft.net>
40819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40821 2014-04-12  Allan McRae  <allan@archlinux.org>
40823         [BZ #16838]
40824         * manual/string.texi (Collation Functions): Fix qsort argument
40825         order in example.
40826         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40828 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40830         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40831         Make the test a no-op if there are no exceptions defined.
40833 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40835         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40836         enable-hardcoded-path-in-tests
40838 2014-04-11  Will Newton  <will.newton@linaro.org>
40840         * benchtests/Makefile (extra-objs): Add json-lib.o.
40841         (bench-func): Tidy up JSON output.
40842         * benchtests/bench-skeleton.c: Include json-lib.h.
40843         (main): Use JSON library functions to do output of
40844         benchmark results.
40845         * benchtests/bench-timing-type.c (main): Output the
40846         timing type simply, leaving formatting to the user.
40847         * benchtests/json-lib.c: New file.
40848         * benchtests/json-lib.h: Likewise.
40850 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40852         [BZ #15215]
40853         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40854         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40855         memory barriers.  Add comments.
40856         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40857         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40858         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40859         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40860         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40861         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40863 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40865         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40866         * sysdeps/s390/s390-64/configure.ac: ... this ...
40867         * sysdeps/s390/configure.ac: ... to here.
40868         * sysdeps/s390/s390-32/configure: Delete file.
40869         * sysdeps/s390/s390-64/configure: Delete file.
40870         * sysdeps/s390/configure: Regenerate.
40872 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40874         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40876 2014-04-11  Will Newton  <will.newton@linaro.org>
40878         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40879         to zero if it is not defined elsewhere.  (mtrim): Test
40880         the value of MALLOC_DEBUG with #if rather than #ifdef.
40882 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40884         * benchtests/pthread_once-inputs: New file.
40885         * benchtests/pthread_once-source.c: New file.
40886         * benchtests/README: Update documentation.
40888 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40889             H.J. Lu  <hongjiu.lu@intel.com>
40891         [BZ #16275]
40892         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40893         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40894         * sysdeps/x86_64/configure: Regenerated.
40895         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40896         macro.
40897         (REGISTER_SAVE_RAX): Likewise.
40898         (REGISTER_SAVE_RCX): Likewise.
40899         (REGISTER_SAVE_RDX): Likewise.
40900         (REGISTER_SAVE_RSI): Likewise.
40901         (REGISTER_SAVE_RDI): Likewise.
40902         (REGISTER_SAVE_R8): Likewise.
40903         (REGISTER_SAVE_R9): Likewise.
40904         (REGISTER_SAVE_BND0): Likewise.
40905         (REGISTER_SAVE_BND1): Likewise.
40906         (REGISTER_SAVE_BND2): Likewise.
40907         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40908         bound registers when calling _dl_fixup.
40910 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40912         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40913         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40914         of its definition.
40915         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40916         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40917         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40918         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40919         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40920         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40921         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40923 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40925         [BZ #15514]
40926         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40927         pathconf(_PC_NAME_MAX).
40929 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40931         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40932         Remove macro usage.
40933         (__PTHREAD_SPINS): Move definition to ...
40934         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40935         (__PTHREAD_SPINS): ... here.
40936         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40937         (__PTHREAD_SPIN): Likewise.
40938         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40939         (__PTHREAD_SPIN): Likewise.
40940         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40941         (__PTHREAD_SPIN): Likewise.
40942         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40943         (__PTHREAD_SPIN): Likewise.
40944         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40945         (__PTHREAD_SPIN): Likewise.
40946         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40947         (__PTHREAD_SPIN): Likewise.
40948         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40949         (__PTHREAD_SPIN): Likewise.
40950         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40951         (__PTHREAD_SPIN): Likewise.
40952         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40953         (__PTHREAD_SPIN): Likewise.
40954         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40955         (__PTHREAD_SPIN): Likewise.
40956         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40957         (__PTHREAD_SPIN): Likewise.
40958         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40959         (__PTHREAD_SPIN): Likewise.
40961         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40962         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40963         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40964         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40965         imply folder.
40966         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40967         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40968         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40969         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40970         correct imply path.
40971         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40972         strlen symbol for non multi-arch builds.
40973         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40974         missing hidden_def and weak_alias.
40976 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40978         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40980 2014-04-07  Will Newton  <will.newton@linaro.org>
40982         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40983         and contents.  [!_LIBC] Remove #ifndef and contents.
40984         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40985         * string/memccpy.c (__memccpy): Use ANSI prototype.
40986         * string/memfrob.c (memfrob): Likewise.
40987         * string/strcoll.c (STRCOLL): Likewise.
40988         * string/strlen.c (strlen): Likewise.
40989         * string/strtok.c (STRTOK): Likewise.
40990         * string/strcat.c: Remove unused #include of memcopy.h.
40991         (strcat): Use ANSI prototype.
40992         * string/strchr.c: Remove unused #include of memcopy.h.
40993         (strchr): Use ANSI prototype.
40994         * string/strcmp.c: Remove unused #include of memcopy.h.
40995         (strcmp): Use ANSI prototype.
40996         * string/strcpy.c: Remove unused #include of memcopy.h.
40997         (strcpy): Use ANSI prototype.
40999 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41001         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
41002         * config.make.in (config-extra-cppflags): Set it from
41003         libc_extra_cppflags.
41004         * configure.ac (libc_extra_cflags): Make it accumulate over
41005         configure fragments.
41006         (libc_extra_cppflags): New flag.
41007         * configure. Regenerate.
41008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
41009         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
41010         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
41011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
41013         [BZ #16815]
41014         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
41015         result for FE_DOWNWARD rounding mode.
41016         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
41017         Likewise.
41018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41020 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
41022         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
41023         in function argument name.
41025 2014-04-03  David Svoboda  <svoboda@cert.org>
41027         [BZ #5666]
41028         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
41029         explicitly.
41031 2014-04-03  Roland McGrath  <roland@hack.frob.com>
41033         * elf/dl-unmap-segments.h: New file.
41034         * sysdeps/generic/ldsodefs.h
41035         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
41036         * elf/dl-close.c: Include <dl-unmap-segments.h>.
41037         * elf/dl-fptr.c: Likewise.
41038         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
41039         * sysdeps/aarch64/tlsdesc.c: Likewise.
41040         * sysdeps/arm/tlsdesc.c: Likewise.
41041         * sysdeps/i386/tlsdesc.c: Likewise.
41042         * sysdeps/tile/dl-runtime.c: Likewise.
41043         * sysdeps/x86_64/tlsdesc.c: Likewise.
41044         * elf/dl-load.h: New file.
41045         * elf/dl-load.c: Include it.
41046         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
41047         Macros moved to dl-load.h.
41048         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
41049         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
41050         Use _dl_unmap_segments in place of __munmap.
41051         Break out segment-mapping loop into ...
41052         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
41054 2014-04-03  Will Newton  <will.newton@linaro.org>
41056         * elf/dl-lookup.c (do_lookup_x): Remove comment
41057         referring to nested function and move variable
41058         declarations down to before first use.
41060 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
41062         [BZ #16799]
41063         [BZ #16800]
41064         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
41065         with 0 numerator.
41066         * math/s_catanf.c (__catanf): Likewise.
41067         * math/s_catanh.c (__catanh): Likewise.
41068         * math/s_catanhf.c (__catanhf): Likewise.
41069         * math/s_catanhl.c (__catanhl): Likewise.
41070         * math/s_catanl.c (__catanl): Likewise.
41071         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
41072         by positive zero when computing -Inf result.
41073         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
41074         (catanh_test): Likewise.
41075         * sysdeps/i386/fpu/libm-test-ulps: Update.
41076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41078         [BZ #16789]
41079         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
41080         instead of using underflowing value in computing result.
41081         * math/s_clog10.c (__clog10): Likewise.
41082         * math/s_clog10f.c (__clog10f): Likewise.
41083         * math/s_clog10l.c (__clog10l): Likewise.
41084         * math/s_clogf.c (__clogf): Likewise.
41085         * math/s_clogl.c (__clogl): Likewise.
41086         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
41087         (clog10_test): Likewise.
41088         * sysdeps/i386/fpu/libm-test-ulps: Update.
41089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41091 2014-04-02  Alan Modra  <amodra@gmail.com>
41093         [BZ #16739]
41094         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
41095         output when value is near a power of two.  Use int64_t for lx and
41096         remove casts.  Use decimal rather than hex exponent constants.
41097         Don't use long double multiplication when double will suffice.
41098         * math/libm-test.inc (nextafter_test_data): Add tests.
41099         * NEWS: Add 16739 and 16786 to bug list.
41101         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
41103         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
41105 2014-04-01  Will Newton  <will.newton@linaro.org>
41107         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
41108         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
41110 2014-04-01  Florian Weimer  <fweimer@redhat.com>
41112         [BZ #13347]
41113         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
41114         * nptl/tst-setuid2.c: New file.
41115         * nptl/Makefile (xtests): Add tst-setuid2.
41117 2014-04-01  Alan Modra  <amodra@gmail.com>
41119         [BZ #16786]
41120         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
41122 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
41124         [BZ #6803]
41125         [BZ #6804]
41126         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
41127         set errno as appropriate.
41128         * math/w_scalbf.c (__scalbf): Likewise.
41129         * math/w_scalbl.c (__scalbl): Likewise.
41130         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
41131         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
41132         * math/libm-test.inc (scalb_test_data): Add errno expectations.
41133         Add more NaN tests.
41135         [BZ #16349]
41136         * math/w_atan2.c: Include <errno.h>.
41137         (__atan2): Set errno for result underflowing to zero.
41138         * math/w_atan2f.c: Include <errno.h>.
41139         (__atan2f): Set errno for result underflowing to zero.
41140         * math/w_atan2l.c: Include <errno.h>.
41141         (__atan2l): Set errno for result underflowing to zero.
41142         * math/auto-libm-test-in: Don't allow missing errno for some atan2
41143         tests.
41144         * math/auto-libm-test-out: Regenerated.
41146 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41148         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41149         Encode instruction correctly in little endian.
41150         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41151         Likewise.
41152         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41153         Likewise.
41154         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41155         Likewise.
41156         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41157         Likewise.
41159 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
41161         [BZ #9894]
41162         * sysdeps/unix/sysv/linux/kernel-features.h
41163         [__sparc__ && !__arch64__ && !__sparc_v9__]
41164         (__ASSUME_SET_ROBUST_LIST): Do not define.
41165         [__sparc__ && !__arch64__ && !__sparc_v9__]
41166         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41167         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
41168         Likewise.
41169         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41170         (__ASSUME_FUTEX_LOCK_PI): Undefine.
41171         (__ASSUME_REQUEUE_PI): Likewise.
41172         (__ASSUME_SET_ROBUST_LIST): Likewise.
41173         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41174         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
41175         Undefine.
41176         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41177         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
41178         Likewise.
41179         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
41180         Likewise.
41181         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
41182         Likewise.
41183         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41184         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
41185         Undefine.
41186         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
41187         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
41188         Likewise.
41190         [BZ #16648]
41191         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41192         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
41193         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
41195 2014-03-31  Will Newton  <will.newton@linaro.org>
41197         * benchtests/Makefile (bench): Add ffs and ffsll to list
41198         of tests.
41199         * benchtests/ffs-inputs: New file.
41200         * benchtests/ffsll-inputs: Likewise.
41202 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
41204         [BZ #16770]
41205         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
41206         too large before casting to int.
41207         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
41208         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
41209         * math/libm-test.inc (scalb_test_data): Add more tests.
41211 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41213         * benchtests/Makefile (DETAILED_OPT): New make option.
41214         (bench-func): Run benchmark program with -d if DETAILED_OPT is
41215         set.
41216         * benchtests/bench-skeleton.c: Include stdbool.h.
41217         (main): Store and print timings per input.
41218         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
41219         member to each argument value.
41220         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
41221         (_print_arg_data): Initialize per-input timing to 0.
41223         * benchtests/Makefile (timing-type): New binary.
41224         (bench-clean): Also remove bench-timing-type.
41225         (bench): New target for timing-type.
41226         (bench-func): Print output in JSON format.
41227         * benchtests/bench-skeleton.c (main): Print output in JSON
41228         format.
41229         * benchtests/bench-timing-type.c: New file.
41230         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
41231         (TIMING_PRINT_STATS): Remove.
41232         * benchtests/scripts/bench.py (_print_arg_data): Store variant
41233         name separately.
41235         * benchtests/bench-modf.c: Remove.
41236         * benchtests/modf-inputs: New inputs file.
41238 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
41240         [BZ #16362]
41241         * math/s_clog10.c (M_PI_LOG10E): New macro.
41242         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
41243         imaginary parts are 0.
41244         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
41245         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
41246         imaginary parts are 0.
41247         * math/s_clog10l.c (M_PI_LOG10El): New macro.
41248         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
41249         imaginary parts are 0.
41250         * math/libm-test.inc (clog10_test_data): Update expected results
41251         for when real and imaginary parts are 0.
41253 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
41255         * elf/dl-load.c: Finish conversion of __builtin_expect into
41256         __glibc_{un}likely.
41258 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
41260         [BZ #16348]
41261         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
41262         1+x for argument with exponent below -67.
41263         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
41264         Likewise.
41265         * math/auto-libm-test-in: Add more tests of exp.
41266         * math/auto-libm-test-out: Regenerated.
41268 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41270         [BZ #16759]
41271         * inet/getnetgrent_r.c (get_nonempty_val): New function.
41272         (nscd_getnetgrent): Use it.
41274         [BZ #16760]
41275         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
41276         of stpcpy.
41278 2014-03-27  Andi Kleen  <ak@linux.intel.com>
41280         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
41281         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41282         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41283         (lll_robust_unlock): Remove out of line section. Use cfi
41284         intrinsics.
41285         (LLL_STUB_UNWIND_INFO*): Remove.
41286         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
41287         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41288         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41289         (lll_robust_unlock): Remove out of line section. Use cfi
41290         intrinsics.
41291         (LLL_STUB_UNWIND_INFO*): Remove.
41293 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41295         [BZ #16758]
41296         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41297         blank values.
41299 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41301         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41303 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41305         [BZ #16198]
41306         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41307         fnstenv.
41308         * math/test-fenv-preserve.c: New file.
41309         * math/Makefile (tests): Add test-fenv-preserve.
41311 2014-03-26  Will Newton <will.newton@linaro.org>
41313         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41315 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41317         * scripts/versionlist.awk: Partition the version sets and emit all
41318         GLIBC_* (sorted) before all others (sorted).
41320 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41322         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41323         GLIBC_2.2.5 version.
41325 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41327         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41328         calls.
41330         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41331         previous change.
41333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41335 2014-03-25  Andreas Schwab  <schwab@suse.de>
41337         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41338         label to be used after in6ailist is initialized.
41340 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41342         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41343         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41345 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41347         [BZ #16357]
41348         [BZ #16599]
41349         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41350         min_plus_half.
41351         (fp_formats): Update initializers.
41352         (init_fp_formats): Initialize new field.
41353         (output_for_one_input_case): Allow underflow for results up to
41354         min_plus_half.
41355         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41356         * math/auto-libm-test-in: Don't mark some underflows from asin and
41357         atanh as spurious.
41358         * math/auto-libm-test-out: Regenerated.
41359         * sysdeps/i386/fpu/libm-test-ulps: Update.
41360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41362 2014-03-25  Andreas Schwab  <schwab@suse.de>
41364         * libio/Makefile (tst-ftell-partial-wide-ENV)
41365         (tst-ftell-active-handler-ENV): Define.
41367 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41369         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41371 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41373         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41375 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41377         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41378         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41379         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41381 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41383         [BZ #16634]
41384         * elf/dl-load.c (open_verify): Add mode parameter.
41385         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41386         (open_path): Change from boolean 'secure' to complete flag 'mode'
41387         (_dl_map_object): Adjust.
41388         * elf/Makefile (tests): Add tst-dlopen-aout.
41389         * elf/tst-dlopen-aout.c: New test.
41391 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41393         [BZ #16714]
41394         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41395         (struct stat): Rename member pad0 to __glibc_reserved0.
41397         [BZ #16712]
41398         * sysdeps/s390/s390-32/bits/wordsize.h
41399         (__WORDSIZE32_SIZE_ULONG): New define.
41400         * sysdeps/s390/s390-64/bits/wordsize.h
41401         (__WORDSIZE32_SIZE_ULONG): Likewise.
41402         * sysdeps/generic/stdint.h (SIZE_MAX):
41403         Define as UL if __WORDSIZE32_SIZE_ULONG.
41405         [BZ #16713]
41406         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41407         (__glibc_reserved0): New variable.
41408         (sa_flags): Change type to int.
41410         * posix/Makefile (before-compile): Use += before-compile instead
41411         of a :=.
41413         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41414         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41416 2014-03-20  Andreas Schwab  <schwab@suse.de>
41418         [BZ #16743]
41419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41420         non-matching result from nscd.
41422 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41424         * scripts/bench.py: Moved to ...
41425         * benchtests/scripts/bench.py: ... here.
41426         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41428 2014-03-24  Andreas Schwab  <schwab@suse.de>
41430         [BZ #16002]
41431         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41432         alloca_account and account alloca use for struct in6ailist.
41434 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41436         [BZ #16284]
41437         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41438         rounding mode to recompute results that overflow to infinity or
41439         underflow to zero.
41440         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41441         bug 16284.
41442         * math/auto-libm-test-out: Regenerated.
41443         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41444         (ccosh_test): Likewise.
41445         (csin_test_data): Use plus_oflow.
41446         (csin_test): Use ALL_RM_TEST.
41447         (csinh_test_data): Use plus_oflow.
41448         (csinh_test): Use ALL_RM_TEST.
41449         * sysdeps/i386/fpu/libm-test-ulps: Update.
41450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41452 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41454         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41455         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41456         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41458         [BZ #16731]
41459         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41460         when x - 1 is zero.
41461         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41462         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41463         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41464         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41465         argument is 1.
41466         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41467         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41468         zero.
41469         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41470         * sysdeps/i386/fpu/libm-test-ulps: Update.
41471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41473 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41475         * scripts/bench.pl: Remove file.
41476         * scripts/bench.py: New benchmark script.
41477         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41478         * benchtests/README: Mention python dependency.
41479         * scripts/pylintrc: New file.
41480         * scripts/pylint: New file.
41482         * bits/mathdef.h: Use #ifdef instead of #if.
41483         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41484         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41485         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41486         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41487         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41488         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41490 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41491             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41493         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41495         and strpbrk-ppc64 objects.
41496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41497         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41498         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41499         multiarch strpbrk for POWER7.
41500         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41501         multiarch strpbrk for PPC64.
41502         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41503         ifunc selector.
41504         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41505         strpbrk for POWER7.
41507 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41509         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41510         (atan_test): Likewise.
41511         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41512         (atanh_test): Use ALL_RM_TEST.
41513         (atan2_test_data): Likewise.
41514         (cabs_test): Likewise.
41515         (cacosh_test): Likewise.
41516         (carg_test): Likewise.
41517         (casin_test): Likewise.
41518         (casinh_test): Likewise.
41519         (cbrt_test): Likewise.
41520         (csqrt_test): Likewise.
41521         (erf_test): Likewise.
41522         (erfc_test): Likewise.
41523         (pow10_test): Likewise.
41524         (exp2_test): Likewise.
41525         (hypot_test): Likewise.
41526         (j0_test): Likewise.
41527         (j1_test): Likewise.
41528         (lgamma_test): Likewise.
41529         (gamma_test): Likewise.
41530         (sincos_test): Likewise.
41531         (tanh_test): Likewise.
41532         (y0_test): Likewise.
41533         (y1_test): Likewise.
41534         * sysdeps/i386/fpu/libm-test-ulps: Update.
41535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41537 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41539         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41541         and strcspn-ppc64 objects.
41542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41543         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41544         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41545         multiarch strcspn for POWER7.
41546         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41547         multiarch strcspn for PPC64.
41548         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41549         ifunc selector.
41550         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41551         strcspn for POWER7.
41553 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41555         * math/gen-libm-test.pl (generate_testfile): Expect only function
41556         name as argument to AUTO_TESTS_* and pass results for all rounding
41557         modes to parse_args.
41558         (parse_auto_input): Separate inputs of automatic tests from
41559         outputs before storing in %auto_tests.
41560         * math/libm-test.inc (acos_test_data): Update call to
41561         AUTO_TESTS_f_f.
41562         (acos_test): Use ALL_RM_TEST.
41563         (acos_tonearest_test_data): Remove.
41564         (acos_test_tonearest): Likewise.
41565         (acos_towardzero_test_data): Likewise.
41566         (acos_test_towardzero): Likewise.
41567         (acos_downward_test_data): Likewise.
41568         (acos_test_downward): Likewise.
41569         (acos_upward_test_data): Likewise.
41570         (acos_test_upward): Likewise.
41571         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41572         (asin_test_data): Likewise.
41573         (asin_test): Use ALL_RM_TEST.
41574         (asin_tonearest_test_data): Remove.
41575         (asin_test_tonearest): Likewise.
41576         (asin_towardzero_test_data): Likewise.
41577         (asin_test_towardzero): Likewise.
41578         (asin_downward_test_data): Likewise.
41579         (asin_test_downward): Likewise.
41580         (asin_upward_test_data): Likewise.
41581         (asin_test_upward): Likewise.
41582         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41583         (atan_test_data): Likewise.
41584         (atanh_test_data): Likewise.
41585         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41586         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41587         (carg_test_data): Likewise.
41588         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41589         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41590         (ccosh_test_data): Likewise.
41591         (cexp_test_data): Likewise.
41592         (clog_test_data): Likewise.
41593         (clog10_test_data): Likewise.
41594         (cos_test_data): Update call to AUTO_TESTS_f_f.
41595         (cos_test): Use ALL_RM_TEST.
41596         (cos_tonearest_test_data): Remove.
41597         (cos_test_tonearest): Likewise.
41598         (cos_towardzero_test_data): Likewise.
41599         (cos_test_towardzero): Likewise.
41600         (cos_downward_test_data): Likewise.
41601         (cos_test_downward): Likewise.
41602         (cos_upward_test_data): Likewise.
41603         (cos_test_upward): Likewise.
41604         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41605         (cosh_test): Use ALL_RM_TEST.
41606         (cosh_tonearest_test_data): Remove.
41607         (cosh_test_tonearest): Likewise.
41608         (cosh_towardzero_test_data): Likewise.
41609         (cosh_test_towardzero): Likewise.
41610         (cosh_downward_test_data): Likewise.
41611         (cosh_test_downward): Likewise.
41612         (cosh_upward_test_data): Likewise.
41613         (cosh_test_upward): Likewise.
41614         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41615         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41616         (ctan_test_data): Likewise.
41617         (ctan_test): Use ALL_RM_TEST.
41618         (ctan_tonearest_test_data): Remove.
41619         (ctan_test_tonearest): Likewise.
41620         (ctan_towardzero_test_data): Likewise.
41621         (ctan_test_towardzero): Likewise.
41622         (ctan_downward_test_data): Likewise.
41623         (ctan_test_downward): Likewise.
41624         (ctan_upward_test_data): Likewise.
41625         (ctan_test_upward): Likewise.
41626         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41627         (ctanh_test): Use ALL_RM_TEST.
41628         (ctanh_tonearest_test_data): Remove.
41629         (ctanh_test_tonearest): Likewise.
41630         (ctanh_towardzero_test_data): Likewise.
41631         (ctanh_test_towardzero): Likewise.
41632         (ctanh_downward_test_data): Likewise.
41633         (ctanh_test_downward): Likewise.
41634         (ctanh_upward_test_data): Likewise.
41635         (ctanh_test_upward): Likewise.
41636         (erf_test_data): Update call to AUTO_TESTS_f_f.
41637         (erfc_test_data): Likewise.
41638         (exp_test_data): Likewise.
41639         (exp_test): Use ALL_RM_TEST.
41640         (exp_tonearest_test_data): Remove.
41641         (exp_test_tonearest): Likewise.
41642         (exp_towardzero_test_data): Likewise.
41643         (exp_test_towardzero): Likewise.
41644         (exp_downward_test_data): Likewise.
41645         (exp_test_downward): Likewise.
41646         (exp_upward_test_data): Likewise.
41647         (exp_test_upward): Likewise.
41648         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41649         (exp10_test): Use ALL_RM_TEST.
41650         (exp10_tonearest_test_data): Remove.
41651         (exp10_test_tonearest): Likewise.
41652         (exp10_towardzero_test_data): Likewise.
41653         (exp10_test_towardzero): Likewise.
41654         (exp10_downward_test_data): Likewise.
41655         (exp10_test_downward): Likewise.
41656         (exp10_upward_test_data): Likewise.
41657         (exp10_test_upward): Likewise.
41658         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41659         (expm1_test_data): Likewise.
41660         (expm1_test): Use ALL_RM_TEST.
41661         (expm1_tonearest_test_data): Remove.
41662         (expm1_test_tonearest): Likewise.
41663         (expm1_towardzero_test_data): Likewise.
41664         (expm1_test_towardzero): Likewise.
41665         (expm1_downward_test_data): Likewise.
41666         (expm1_test_downward): Likewise.
41667         (expm1_upward_test_data): Likewise.
41668         (expm1_test_upward): Likewise.
41669         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41670         (fma_test): Use ALL_RM_TEST.
41671         (fma_towardzero_test_data): Remove.
41672         (fma_test_towardzero): Likewise.
41673         (fma_downward_test_data): Likewise.
41674         (fma_test_downward): Likewise.
41675         (fma_upward_test_data): Likewise.
41676         (fma_test_upward): Likewise.
41677         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41678         (j0_test_data): Update call to AUTO_TESTS_f_f.
41679         (j1_test_data): Likewise.
41680         (jn_test_data): Update call to AUTO_TESTS_if_f.
41681         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41682         (log_test_data): Update call to AUTO_TESTS_f_f.
41683         (log10_test_data): Likewise.
41684         (log1p_test_data): Likewise.
41685         (log2_test_data): Likewise.
41686         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41687         (pow_tonearest_test_data): Likewise.
41688         (sin_test_data): Update call to AUTO_TESTS_f_f.
41689         (sin_test): Use ALL_RM_TEST.
41690         (sin_tonearest_test_data): Remove.
41691         (sin_test_tonearest): Likewise.
41692         (sin_towardzero_test_data): Likewise.
41693         (sin_test_towardzero): Likewise.
41694         (sin_downward_test_data): Likewise.
41695         (sin_test_downward): Likewise.
41696         (sin_upward_test_data): Likewise.
41697         (sin_test_upward): Likewise.
41698         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41699         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41700         (sinh_test): Use ALL_RM_TEST.
41701         (sinh_tonearest_test_data): Remove.
41702         (sinh_test_tonearest): Likewise.
41703         (sinh_towardzero_test_data): Likewise.
41704         (sinh_test_towardzero): Likewise.
41705         (sinh_downward_test_data): Likewise.
41706         (sinh_test_downward): Likewise.
41707         (sinh_upward_test_data): Likewise.
41708         (sinh_test_upward): Likewise.
41709         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41710         (sqrt_test): Use ALL_RM_TEST.
41711         (sqrt_tonearest_test_data): Remove.
41712         (sqrt_test_tonearest): Likewise.
41713         (sqrt_towardzero_test_data): Likewise.
41714         (sqrt_test_towardzero): Likewise.
41715         (sqrt_downward_test_data): Likewise.
41716         (sqrt_test_downward): Likewise.
41717         (sqrt_upward_test_data): Likewise.
41718         (sqrt_test_upward): Likewise.
41719         (tan_test_data): Update call to AUTO_TESTS_f_f.
41720         (tan_test): Use ALL_RM_TEST.
41721         (tan_tonearest_test_data): Remove.
41722         (tan_test_tonearest): Likewise.
41723         (tan_towardzero_test_data): Likewise.
41724         (tan_test_towardzero): Likewise.
41725         (tan_downward_test_data): Likewise.
41726         (tan_test_downward): Likewise.
41727         (tan_upward_test_data): Likewise.
41728         (tan_test_upward): Likewise.
41729         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41730         (tgamma_test_data): Likewise.
41731         (y0_test_data): Likewise.
41732         (y1_test_data): Likewise.
41733         (yn_test_data): Update call to AUTO_TESTS_if_f.
41734         (main): Do not call removed functions.
41736 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41738         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41739         (ldexp_test_data): Remove.
41740         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41741         scalbn_test_data.
41742         (scalb_test): Use ALL_RM_TEST.
41744 2014-03-19  Andreas Schwab  <schwab@suse.de>
41746         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41748 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41750         [BZ #16649]
41751         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41752         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41753         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41754         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41755         (__ASSUME_PREADV): Undefine.
41756         (__ASSUME_PWRITEV): Likewise.
41758 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41760         * bits/mman-linux.h: Add comment about non-Linux use.
41761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41762         bits/mman-linux.h resting place.
41764         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41765         * bits/mman-linux.h: ... here.
41767 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41769         * conform/conformtest.pl: Add standard definition when calling C
41770         preprocessor on data files.
41771         (checknamespace): Remove unused variable.
41773 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41775         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41776         minus_oflow, plus_uflow and minus_uflow in expected results.
41777         * math/libm-test.inc (scalbn_test_data): Add more tests of
41778         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41779         minus_uflow.
41780         (scalbn_test): Use ALL_RM_TEST.
41781         (scalbln_test_data): Add more tests of negative arguments.  Use
41782         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41783         (scalbln_test): Use ALL_RM_TEST.
41785 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41787         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41789 2014-03-18  Will Newton  <will.newton@linaro.org>
41791         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41792         inaccurate comment.
41794 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41796         * Makerules [!subdir] (check-abi): Exit with error status if a
41797         test failed.
41799 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41801         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41802         for rint.  Include results for all rounding modes.
41803         (nearbyint_test): Use ALL_RM_TEST.
41804         (rint_test_data): Include all tests used for nearbyint.
41806 2014-03-17  Will Newton  <will.newton@linaro.org>
41808         * nptl/sysdeps/pthread/pthread.h: Revert previous
41809         change.
41811         * sysdeps/generic/ldsodefs.h: Revert previous
41812         change.
41814         * libio/genops.c: Revert previous change.
41815         * libio/libioP.h: Likewise.
41816         * stdio-common/vfprintf.c: Likewise.
41818         * sysdeps/generic/math_private.h: Revert previous
41819         change.
41821         * sysdeps/generic/math_private.h: Check whether
41822         HAVE_RM_CTX is defined with #ifdef rather
41823         than #if.
41825         * argp/argp-fmtstream.h: Check whether
41826         __STRICT_ANSI__ is defined with #ifdef rather
41827         than #if.
41828         * argp/argp.h: Likewise.
41830         * libio/genops.c: Check whether
41831         _IO_JUMPS_OFFSET is defined with #ifdef rather
41832         than #if.
41833         * libio/libioP.h: Likewise.
41834         * stdio-common/vfprintf.c: Likewise.
41836         * sysdeps/generic/ldsodefs.h: Check whether
41837         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41838         than #if.
41840         * nptl/sysdeps/pthread/pthread.h: Check
41841         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41842         its value.
41844 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41846         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41847         setting O_APPEND.
41848         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41849         test case.
41851         [BZ #16680]
41852         * libio/fileops.c (_IO_file_open): Seek to end of file but
41853         don't cache the offset.
41854         (get_file_offset): Remove function.
41855         (do_ftell): Use cached offset when available.
41856         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41857         don't cache the offset.
41858         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41859         case.
41860         (do_one_test): Call it.
41861         (do_ftell_test): Fix up expected old offset for a+ mode.
41862         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41863         available.
41865         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41866         up test status with function return status.
41867         (do_write_test): Likewise.
41868         (do_append_test): Likewise.
41870         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41871         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41872         Remove.
41874 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41876         * math/gen-libm-test.pl (parse_args): Handle results specified for
41877         each rounding mode separately.
41878         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41879         tests and results from lrint_tonearest_test_data,
41880         lrint_towardzero_test_data, lrint_downward_test_data and
41881         lrint_upward_test_data.
41882         (lrint_test): Use ALL_RM_TEST.
41883         (lrint_tonearest_test_data): Remove.
41884         (lrint_test_tonearest): Likewise.
41885         (lrint_towardzero_test_data): Likewise.
41886         (lrint_test_towardzero): Likewise.
41887         (lrint_downward_test_data): Likewise.
41888         (lrint_test_downward): Likewise.
41889         (lrint_upward_test_data): Likewise.
41890         (lrint_test_upward): Likewise.
41891         (llrint_test_data): Merge in per-rounding-mode tests and results
41892         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41893         llrint_downward_test_data and llrint_upward_test_data.
41894         (llrint_test): Use ALL_RM_TEST.
41895         (llrint_tonearest_test_data): Remove.
41896         (llrint_test_tonearest): Likewise.
41897         (llrint_towardzero_test_data): Likewise.
41898         (llrint_test_towardzero): Likewise.
41899         (llrint_downward_test_data): Likewise.
41900         (llrint_test_downward): Likewise.
41901         (llrint_upward_test_data): Likewise.
41902         (llrint_test_upward): Likewise.
41903         (rint_test_data): Merge in per-rounding-mode tests and results
41904         from rint_tonearest_test_data, rint_towardzero_test_data,
41905         rint_downward_test_data and rint_upward_test_data.  Add
41906         per-rounding-mode results for tests not in those arrays.
41907         (rint_test): Use ALL_RM_TEST.
41908         (rint_tonearest_test_data): Remove.
41909         (rint_test_tonearest): Likewise.
41910         (rint_towardzero_test_data): Likewise.
41911         (rint_test_towardzero): Likewise.
41912         (rint_downward_test_data): Likewise.
41913         (rint_test_downward): Likewise.
41914         (rint_upward_test_data): Likewise.
41915         (rint_test_upward): Likewise.
41916         (main): Don't call removed functions.
41918 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41920         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41921         "Compiled on ..." crapola.  It is anti-useful.
41923 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41925         * scripts/evaluate-test.sh: Handle fourth argument to determine
41926         whether test run should stop on failure.
41927         * Makeconfig (stop-on-test-failure): New variable.
41928         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41929         $(stop-on-test-failure).
41930         * Makefile (tests): Give a summary of results from testing and
41931         exit with failure status if they include an ERROR or FAIL.
41932         (xtests): Likewise.
41933         * manual/install.texi (Configuring and compiling): Mention
41934         stop-on-test-failure=y.
41935         * INSTALL: Regenerated.
41937 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41939         * scripts/versionlist.awk: New file.
41940         * Makerules [$(build-shared) = yes]
41941         (postclean-generated): Add Versions.def, not Versions.def.v and
41942         Versions.def.v.i.
41943         ($(common-objpfx)Versions.def.v.i): Target removed.
41944         ($(common-objpfx)Versions.def): New target.
41945         ($(common-objpfx)Versions.all): Depend on that rather that
41946         $(common-objpfx)Versions.def.v.
41947         * Versions.def: File removed.
41949         * Makeconfig (+gccwarn): Add -Wundef.
41950         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41951         a dl-sysdep.h breaking its contract.
41952         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41953         * include/stackinfo.h: New file.
41954         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41955         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41956         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41957         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41958         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41959         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41960         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41961         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41962         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41963         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41964         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41965         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41966         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41967         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41968         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41970 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41972         [BZ #16707]
41973         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41974         implementation.
41975         * math/libm-test.inc (round_test_data): Add more tests.
41977         [BZ #16706]
41978         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41979         implementation.
41980         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41982         [BZ #16701]
41983         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41984         implementation.
41985         * math/libm-test.inc (ceil_test_data): Add more tests.
41987         * math/libm-test.inc (trunc_test_data): Add more tests related to
41988         BZ#16414.
41990 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41992         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41993         with #if rather than #ifdef.
41994         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41996 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41998         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41999         first.  Disable AVX-512 GCC support if assembler doesn't support
42000         it.
42001         * sysdeps/x86_64/configure: Regenerated.
42003 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
42005         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
42006         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
42007         (__old_pthread_attr_setstack): Likewise.
42008         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
42009         [!_STACK_GROWS_DOWN]: Likewise.
42011 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
42013         * config.make.in (have-bash2): Delete.
42014         * configure.ac (libc_cv_have_bash2): Delete.
42015         * configure: Regenerate.
42016         * elf/Makefile (common-ldd-rewrite): Rename to ...
42017         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
42018         (sh-ldd-rewrite): Delete.
42019         (bash-ldd-rewrite): Delete.
42020         (have-bash2): Delete checks.
42021         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
42022         ldd-rewrite.
42024         * config.make.in (have-ksh): Delete.
42025         (KSH): Delete.
42026         * configure.ac (libc_cv_have_ksh): Delete.
42027         * configure: Regenerate.
42029         * elf/Makefile: Delete $(have-ksh) check.
42030         ($(objpfx)sotruss): Change KSH to BASH.
42031         * elf/sotruss.ksh: Rename to ...
42032         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
42033         function style to match POSIX.  Drop ksh vim mode setting.
42035         * manual/time.texi (Specifying the Time Zone with TZ): Change
42036         Tuesday to Thursday.
42038         * debug/tst-longjmp_chk2.c: Update header comment.
42039         (stackoverflow_handler): Add comment.  Call assert on pass value.
42041 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
42043         [BZ #16194]
42044         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
42045         (HAVE_AVX512_ASM_SUPPORT): Likewise.
42046         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
42047         (La_x86_64_vector): Add zmm.
42048         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
42049         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
42050         ($(objpfx)tst-audit10): New target.
42051         ($(objpfx)tst-audit10.out): Likewise.
42052         (tst-audit10-ENV): New.
42053         (AVX512-CFLAGS): Likewise.
42054         (CFLAGS-tst-audit10.c): Likewise.
42055         (CFLAGS-tst-auditmod10a.c): Likewise.
42056         (CFLAGS-tst-auditmod10b.c): Likewise.
42057         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
42058         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
42059         * sysdeps/x86_64/configure: Regenerated.
42060         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
42061         AVX-512 zmm register support.
42062         (_dl_x86_64_save_sse): Likewise.
42063         (_dl_x86_64_restore_sse): Likewise.
42064         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
42065         size vector registers.
42066         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
42067         (ZMM_SIZE): Likewise.
42068         * sysdeps/x86_64/tst-audit10.c: New file.
42069         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
42070         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
42072 2014-03-13  Roland McGrath  <roland@hack.frob.com>
42074         * configure.ac (HAVE_EHDR_START): New check.
42075         * configure: Regenerated.
42076         * config.h.in (HAVE_EHDR_START): New #undef.
42077         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
42078         assuming the lowest-addressed segment maps the start of the file.
42080 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
42082         * INSTALL: Regenerated.
42084 2014-03-13  Will Newton  <will.newton@linaro.org>
42086         * manual/setjmp.texi (System V contexts): Improve
42087         clarity and grammar of documentation.
42089 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
42091         [BZ #16381]
42092         * elf/Makefile (tests): Add tst-pie2.
42093         (tests-pie): Add tst-pie2.
42094         * elf/tst-pie2.c: New file.
42095         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
42096         for ET_EXEC.
42097         * elf/rtld.c (map_doit): Load executable as lt_executable.
42098         (dl_main): Likewise.
42100 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
42102         [BZ #16642]
42103         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42104         (__ASSUME_PSELECT): Undefine.
42106 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42108         [BZ #16689]
42109         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
42110         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
42111         static build.
42112         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
42113         selector for static builds.
42115 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42117         [BZ #16695]
42118         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
42119         key in the buffer.
42121 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42123         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
42124         IFUNC selector for static builds.
42126 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
42128         * sysdeps/mips/math_private.h [__mips_hard_float]
42129         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
42130         libc_feresetround_mips_ctx.
42131         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
42132         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
42133         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
42135         [BZ #16677]
42136         * math/s_nextafter.c (__nextafter): Do not return value from
42137         overflowing computation.
42138         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
42139         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
42140         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
42141         Likewise.
42142         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
42143         Likewise.
42144         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
42145         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
42147 2014-03-11  Roland McGrath  <roland@hack.frob.com>
42149         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
42150         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
42151         Move sfi_sp use from the load-multiple (that no longer sets sp) to
42152         the new mov targetting sp.
42154 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42156         [BZ #16683]
42157         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
42158         Define it for static builds as well.
42159         (NO_BZERO_IMPL): Likewise.
42161 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42163         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
42164         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
42165         multiarch strspn for PPC64.
42166         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
42167         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
42168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42169         (__libc_ifunc_impl_list): Likewise.
42170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
42171         multiarch optimizations
42172         * string/strspn.c (strspn): Using macro to redefine symbol name.
42174 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42175             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42177         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
42178         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
42179         multiarch strncat for PPC64.
42180         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
42181         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
42182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42183         (__libc_ifunc_impl_list): Likewise.
42184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
42185         multiarch optimizations
42187 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42189         [BZ #16639]
42190         * nscd/nscd.service: Make service type forking.
42192 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42194         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
42195         sign in non default rounding modes.
42196         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
42198 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
42200         * math/libm-test.inc (ALL_RM_TEST): New macro.
42201         (ceil_test): Use ALL_RM_TEST.
42202         (cimag_test): Likewise.
42203         (conj_test): Likewise.
42204         (copysign_test): Likewise.
42205         (cproj_test): Likewise.
42206         (creal_test): Likewise.
42207         (fabs_test): Likewise.
42208         (floor_test): Likewise.
42209         (fmax_test): Likewise.
42210         (fmin_test): Likewise.
42211         (fmod_test): Likewise.
42212         (fpclassify_test): Likewise.
42213         (frexp_test): Likewise.
42214         (ilogb_test): Likewise.
42215         (isfinite_test): Likewise.
42216         (finite_test): Likewise.
42217         (isgreater_test): Likewise.
42218         (isgreaterequal_test): Likewise.
42219         (isinf_test): Likewise.
42220         (isless_test): Likewise.
42221         (islessequal_test): Likewise.
42222         (islessgreater_test): Likewise.
42223         (isnan_test): Likewise.
42224         (isnormal_test): Likewise.
42225         (issignaling_test): Likewise.
42226         (isunordered_test): Likewise.
42227         (logb_test): Likewise.
42228         (logb_downward_test_data): Remove.
42229         (logb_test_downward): Likewise.
42230         (lround_test): Use ALL_RM_TEST.
42231         (llround_test): Likewise.
42232         (modf_test): Likewise.
42233         (nexttoward_test): Likewise.
42234         (remainder_test): Likewise.
42235         (drem_test): Likewise.
42236         (remainder_tonearest_test_data): Likewise.
42237         (remainder_test_tonearest): Likewise.
42238         (drem_test_tonearest): Likewise.
42239         (remainder_towardzero_test_data): Likewise.
42240         (remainder_test_towardzero): Likewise.
42241         (drem_test_towardzero): Likewise.
42242         (remainder_downward_test_data): Likewise.
42243         (remainder_test_downward): Likewise.
42244         (drem_test_downward): Likewise.
42245         (remainder_upward_test_data): Likewise.
42246         (remainder_test_upward): Likewise.
42247         (drem_test_upward): Likewise.
42248         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
42249         (round_test): Use ALL_RM_TEST.
42250         (signbit_test): Likewise.
42251         (trunc_test): Likewise.
42252         (significand_test): Likewise.
42253         (main): Don't call removed functions.
42255 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42257         [BZ #16674]
42258         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
42259         || __USE_XOPEN2K8].
42260         (ILL_ILLOPN): Likewise.
42261         (ILL_ILLADR): Likewise.
42262         (ILL_ILLTRP): Likewise.
42263         (ILL_PRVOPC): Likewise.
42264         (ILL_PRVREG): Likewise.
42265         (ILL_COPROC): Likewise.
42266         (ILL_BADSTK): Likewise.
42267         (FPE_INTDIV): Likewise.
42268         (FPE_INTOVF): Likewise.
42269         (FPE_FLTDIV): Likewise.
42270         (FPE_FLTOVF): Likewise.
42271         (FPE_FLTUND): Likewise.
42272         (FPE_FLTRES): Likewise.
42273         (FPE_FLTINV): Likewise.
42274         (FPE_FLTSUB): Likewise.
42275         (SEGV_MAPERR): Likewise.
42276         (SEGV_ACCERR): Likewise.
42277         (BUS_ADRALN): Likewise.
42278         (BUS_ADRERR): Likewise.
42279         (BUS_OBJERR): Likewise.
42280         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42281         (TRAP_TRACE): Likewise.
42282         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42283         __USE_XOPEN2K8].
42284         (CLD_KILLED): Likewise.
42285         (CLD_DUMPED): Likewise.
42286         (CLD_TRAPPED): Likewise.
42287         (CLD_STOPPED): Likewise.
42288         (CLD_CONTINUED): Likewise.
42289         (POLL_IN): Likewise.
42290         (POLL_OUT): Likewise.
42291         (POLL_MSG): Likewise.
42292         (POLL_ERR): Likewise.
42293         (POLL_PRI): Likewise.
42294         (POLL_HUP): Likewise.
42295         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42296         Likewise.
42297         (ILL_ILLOPN): Likewise.
42298         (ILL_ILLADR): Likewise.
42299         (ILL_ILLTRP): Likewise.
42300         (ILL_PRVOPC): Likewise.
42301         (ILL_PRVREG): Likewise.
42302         (ILL_COPROC): Likewise.
42303         (ILL_BADSTK): Likewise.
42304         (FPE_INTDIV): Likewise.
42305         (FPE_INTOVF): Likewise.
42306         (FPE_FLTDIV): Likewise.
42307         (FPE_FLTOVF): Likewise.
42308         (FPE_FLTUND): Likewise.
42309         (FPE_FLTRES): Likewise.
42310         (FPE_FLTINV): Likewise.
42311         (FPE_FLTSUB): Likewise.
42312         (SEGV_MAPERR): Likewise.
42313         (SEGV_ACCERR): Likewise.
42314         (BUS_ADRALN): Likewise.
42315         (BUS_ADRERR): Likewise.
42316         (BUS_OBJERR): Likewise.
42317         (BUS_MCEERR_AR): Likewise.
42318         (BUS_MCEERR_AO): Likewise.
42319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42320         (TRAP_TRACE): Likewise.
42321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42322         __USE_XOPEN2K8].
42323         (CLD_KILLED): Likewise.
42324         (CLD_DUMPED): Likewise.
42325         (CLD_TRAPPED): Likewise.
42326         (CLD_STOPPED): Likewise.
42327         (CLD_CONTINUED): Likewise.
42328         (POLL_IN): Likewise.
42329         (POLL_OUT): Likewise.
42330         (POLL_MSG): Likewise.
42331         (POLL_ERR): Likewise.
42332         (POLL_PRI): Likewise.
42333         (POLL_HUP): Likewise.
42334         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42335         (ILL_ILLOPN): Likewise.
42336         (ILL_ILLADR): Likewise.
42337         (ILL_ILLTRP): Likewise.
42338         (ILL_PRVOPC): Likewise.
42339         (ILL_PRVREG): Likewise.
42340         (ILL_COPROC): Likewise.
42341         (ILL_BADSTK): Likewise.
42342         (FPE_INTDIV): Likewise.
42343         (FPE_INTOVF): Likewise.
42344         (FPE_FLTDIV): Likewise.
42345         (FPE_FLTOVF): Likewise.
42346         (FPE_FLTUND): Likewise.
42347         (FPE_FLTRES): Likewise.
42348         (FPE_FLTINV): Likewise.
42349         (FPE_FLTSUB): Likewise.
42350         (SEGV_MAPERR): Likewise.
42351         (SEGV_ACCERR): Likewise.
42352         (BUS_ADRALN): Likewise.
42353         (BUS_ADRERR): Likewise.
42354         (BUS_OBJERR): Likewise.
42355         (BUS_MCEERR_AR): Likewise.
42356         (BUS_MCEERR_AO): Likewise.
42357         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42358         (TRAP_TRACE): Likewise.
42359         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42360         __USE_XOPEN2K8].
42361         (CLD_KILLED): Likewise.
42362         (CLD_DUMPED): Likewise.
42363         (CLD_TRAPPED): Likewise.
42364         (CLD_STOPPED): Likewise.
42365         (CLD_CONTINUED): Likewise.
42366         (POLL_IN): Likewise.
42367         (POLL_OUT): Likewise.
42368         (POLL_MSG): Likewise.
42369         (POLL_ERR): Likewise.
42370         (POLL_PRI): Likewise.
42371         (POLL_HUP): Likewise.
42372         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42373         Likewise.
42374         (ILL_ILLOPN): Likewise.
42375         (ILL_ILLADR): Likewise.
42376         (ILL_ILLTRP): Likewise.
42377         (ILL_PRVOPC): Likewise.
42378         (ILL_PRVREG): Likewise.
42379         (ILL_COPROC): Likewise.
42380         (ILL_BADSTK): Likewise.
42381         (ILL_BADIADDR): Likewise.
42382         (ILL_BREAK): Likewise.
42383         (FPE_INTDIV): Likewise.
42384         (FPE_INTOVF): Likewise.
42385         (FPE_FLTDIV): Likewise.
42386         (FPE_FLTOVF): Likewise.
42387         (FPE_FLTUND): Likewise.
42388         (FPE_FLTRES): Likewise.
42389         (FPE_FLTINV): Likewise.
42390         (FPE_FLTSUB): Likewise.
42391         (FPE_DECOVF): Likewise.
42392         (FPE_DECDIV): Likewise.
42393         (FPE_DECERR): Likewise.
42394         (FPE_INVASC): Likewise.
42395         (FPE_INVDEC): Likewise.
42396         (SEGV_MAPERR): Likewise.
42397         (SEGV_ACCERR): Likewise.
42398         (SEGV_PSTKOVF): Likewise.
42399         (BUS_ADRALN): Likewise.
42400         (BUS_ADRERR): Likewise.
42401         (BUS_OBJERR): Likewise.
42402         (BUS_MCEERR_AR): Likewise.
42403         (BUS_MCEERR_AO): Likewise.
42404         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42405         (TRAP_TRACE): Likewise.
42406         (TRAP_BRANCH): Likewise.
42407         (TRAP_HWBKPT): Likewise.
42408         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42409         __USE_XOPEN2K8].
42410         (CLD_KILLED): Likewise.
42411         (CLD_DUMPED): Likewise.
42412         (CLD_TRAPPED): Likewise.
42413         (CLD_STOPPED): Likewise.
42414         (CLD_CONTINUED): Likewise.
42415         (POLL_IN): Likewise.
42416         (POLL_OUT): Likewise.
42417         (POLL_MSG): Likewise.
42418         (POLL_ERR): Likewise.
42419         (POLL_PRI): Likewise.
42420         (POLL_HUP): Likewise.
42421         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42422         (ILL_ILLOPN): Likewise.
42423         (ILL_ILLADR): Likewise.
42424         (ILL_ILLTRP): Likewise.
42425         (ILL_PRVOPC): Likewise.
42426         (ILL_PRVREG): Likewise.
42427         (ILL_COPROC): Likewise.
42428         (ILL_BADSTK): Likewise.
42429         (FPE_INTDIV): Likewise.
42430         (FPE_INTOVF): Likewise.
42431         (FPE_FLTDIV): Likewise.
42432         (FPE_FLTOVF): Likewise.
42433         (FPE_FLTUND): Likewise.
42434         (FPE_FLTRES): Likewise.
42435         (FPE_FLTINV): Likewise.
42436         (FPE_FLTSUB): Likewise.
42437         (SEGV_MAPERR): Likewise.
42438         (SEGV_ACCERR): Likewise.
42439         (BUS_ADRALN): Likewise.
42440         (BUS_ADRERR): Likewise.
42441         (BUS_OBJERR): Likewise.
42442         (BUS_MCEERR_AR): Likewise.
42443         (BUS_MCEERR_AO): Likewise.
42444         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42445         (TRAP_TRACE): Likewise.
42446         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42447         __USE_XOPEN2K8].
42448         (CLD_KILLED): Likewise.
42449         (CLD_DUMPED): Likewise.
42450         (CLD_TRAPPED): Likewise.
42451         (CLD_STOPPED): Likewise.
42452         (CLD_CONTINUED): Likewise.
42453         (POLL_IN): Likewise.
42454         (POLL_OUT): Likewise.
42455         (POLL_MSG): Likewise.
42456         (POLL_ERR): Likewise.
42457         (POLL_PRI): Likewise.
42458         (POLL_HUP): Likewise.
42459         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42460         (ILL_ILLOPN): Likewise.
42461         (ILL_ILLADR): Likewise.
42462         (ILL_ILLTRP): Likewise.
42463         (ILL_PRVOPC): Likewise.
42464         (ILL_PRVREG): Likewise.
42465         (ILL_COPROC): Likewise.
42466         (ILL_BADSTK): Likewise.
42467         (FPE_INTDIV): Likewise.
42468         (FPE_INTOVF): Likewise.
42469         (FPE_FLTDIV): Likewise.
42470         (FPE_FLTOVF): Likewise.
42471         (FPE_FLTUND): Likewise.
42472         (FPE_FLTRES): Likewise.
42473         (FPE_FLTINV): Likewise.
42474         (FPE_FLTSUB): Likewise.
42475         (SEGV_MAPERR): Likewise.
42476         (SEGV_ACCERR): Likewise.
42477         (BUS_ADRALN): Likewise.
42478         (BUS_ADRERR): Likewise.
42479         (BUS_OBJERR): Likewise.
42480         (BUS_MCEERR_AR): Likewise.
42481         (BUS_MCEERR_AO): Likewise.
42482         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42483         (TRAP_TRACE): Likewise.
42484         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42485         __USE_XOPEN2K8].
42486         (CLD_KILLED): Likewise.
42487         (CLD_DUMPED): Likewise.
42488         (CLD_TRAPPED): Likewise.
42489         (CLD_STOPPED): Likewise.
42490         (CLD_CONTINUED): Likewise.
42491         (POLL_IN): Likewise.
42492         (POLL_OUT): Likewise.
42493         (POLL_MSG): Likewise.
42494         (POLL_ERR): Likewise.
42495         (POLL_PRI): Likewise.
42496         (POLL_HUP): Likewise.
42497         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42498         (ILL_ILLOPN): Likewise.
42499         (ILL_ILLADR): Likewise.
42500         (ILL_ILLTRP): Likewise.
42501         (ILL_PRVOPC): Likewise.
42502         (ILL_PRVREG): Likewise.
42503         (ILL_COPROC): Likewise.
42504         (ILL_BADSTK): Likewise.
42505         (FPE_INTDIV): Likewise.
42506         (FPE_INTOVF): Likewise.
42507         (FPE_FLTDIV): Likewise.
42508         (FPE_FLTOVF): Likewise.
42509         (FPE_FLTUND): Likewise.
42510         (FPE_FLTRES): Likewise.
42511         (FPE_FLTINV): Likewise.
42512         (FPE_FLTSUB): Likewise.
42513         (SEGV_MAPERR): Likewise.
42514         (SEGV_ACCERR): Likewise.
42515         (BUS_ADRALN): Likewise.
42516         (BUS_ADRERR): Likewise.
42517         (BUS_OBJERR): Likewise.
42518         (BUS_MCEERR_AR): Likewise.
42519         (BUS_MCEERR_AO): Likewise.
42520         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42521         (TRAP_TRACE): Likewise.
42522         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42523         __USE_XOPEN2K8].
42524         (CLD_KILLED): Likewise.
42525         (CLD_DUMPED): Likewise.
42526         (CLD_TRAPPED): Likewise.
42527         (CLD_STOPPED): Likewise.
42528         (CLD_CONTINUED): Likewise.
42529         (POLL_IN): Likewise.
42530         (POLL_OUT): Likewise.
42531         (POLL_MSG): Likewise.
42532         (POLL_ERR): Likewise.
42533         (POLL_PRI): Likewise.
42534         (POLL_HUP): Likewise.
42535         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42536         (ILL_ILLOPN): Likewise.
42537         (ILL_ILLADR): Likewise.
42538         (ILL_ILLTRP): Likewise.
42539         (ILL_PRVOPC): Likewise.
42540         (ILL_PRVREG): Likewise.
42541         (ILL_COPROC): Likewise.
42542         (ILL_BADSTK): Likewise.
42543         (ILL_DBLFLT): Likewise.
42544         (ILL_HARDWALL): Likewise.
42545         (FPE_INTDIV): Likewise.
42546         (FPE_INTOVF): Likewise.
42547         (FPE_FLTDIV): Likewise.
42548         (FPE_FLTOVF): Likewise.
42549         (FPE_FLTUND): Likewise.
42550         (FPE_FLTRES): Likewise.
42551         (FPE_FLTINV): Likewise.
42552         (FPE_FLTSUB): Likewise.
42553         (SEGV_MAPERR): Likewise.
42554         (SEGV_ACCERR): Likewise.
42555         (BUS_ADRALN): Likewise.
42556         (BUS_ADRERR): Likewise.
42557         (BUS_OBJERR): Likewise.
42558         (BUS_MCEERR_AR): Likewise.
42559         (BUS_MCEERR_AO): Likewise.
42560         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42561         (TRAP_TRACE): Likewise.
42562         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42563         __USE_XOPEN2K8].
42564         (CLD_KILLED): Likewise.
42565         (CLD_DUMPED): Likewise.
42566         (CLD_TRAPPED): Likewise.
42567         (CLD_STOPPED): Likewise.
42568         (CLD_CONTINUED): Likewise.
42569         (POLL_IN): Likewise.
42570         (POLL_OUT): Likewise.
42571         (POLL_MSG): Likewise.
42572         (POLL_ERR): Likewise.
42573         (POLL_PRI): Likewise.
42574         (POLL_HUP): Likewise.
42575         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42576         (ILL_ILLOPN): Likewise.
42577         (ILL_ILLADR): Likewise.
42578         (ILL_ILLTRP): Likewise.
42579         (ILL_PRVOPC): Likewise.
42580         (ILL_PRVREG): Likewise.
42581         (ILL_COPROC): Likewise.
42582         (ILL_BADSTK): Likewise.
42583         (FPE_INTDIV): Likewise.
42584         (FPE_INTOVF): Likewise.
42585         (FPE_FLTDIV): Likewise.
42586         (FPE_FLTOVF): Likewise.
42587         (FPE_FLTUND): Likewise.
42588         (FPE_FLTRES): Likewise.
42589         (FPE_FLTINV): Likewise.
42590         (FPE_FLTSUB): Likewise.
42591         (SEGV_MAPERR): Likewise.
42592         (SEGV_ACCERR): Likewise.
42593         (BUS_ADRALN): Likewise.
42594         (BUS_ADRERR): Likewise.
42595         (BUS_OBJERR): Likewise.
42596         (BUS_MCEERR_AR): Likewise.
42597         (BUS_MCEERR_AO): Likewise.
42598         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42599         (TRAP_TRACE): Likewise.
42600         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42601         __USE_XOPEN2K8].
42602         (CLD_KILLED): Likewise.
42603         (CLD_DUMPED): Likewise.
42604         (CLD_TRAPPED): Likewise.
42605         (CLD_STOPPED): Likewise.
42606         (CLD_CONTINUED): Likewise.
42607         (POLL_IN): Likewise.
42608         (POLL_OUT): Likewise.
42609         (POLL_MSG): Likewise.
42610         (POLL_ERR): Likewise.
42611         (POLL_PRI): Likewise.
42612         (POLL_HUP): Likewise.
42613         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42614         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42616         [BZ #16670]
42617         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42618         before #include of <time.h>.
42619         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42620         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42621         (test-xfail-UNIX98/sched.h/conform): Likewise.
42623 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42625         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42626         error absence of trapping exception support.
42627         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42629 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42631         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42632         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42633         * timezone/Makefile (testdata): Move definition above include of
42634         Rules.
42635         (test-zones): New variable.
42636         (tests-special): Add zone files.
42637         (build-testdata): Use $(evaluate-test).
42639         * elf/Makefile (tests-special): Rename tests to end with .out.
42640         ($(objpfx)noload-mem): Likewise.
42641         ($(objpfx)tst-leaks1-mem): Likewise.
42642         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42643         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42644         $(objpfx)test-iconvconfig.out.
42645         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42646         set -e inside subshell and redirect output to file.
42647         * iconvdata/Makefile (generated): Rename tests to end with .out.
42648         Correct type.
42649         (tests-special): Rename tests to end with .out.
42650         ($(objpfx)mtrace-tst-loading): Likewise.
42651         * intl/Makefile (generated): Likewise.
42652         (tests-special): Likewise.
42653         ($(objpfx)mtrace-tst-gettext): Likewise.
42654         * misc/Makefile (generated): Likewise.
42655         (tests-special): Likewise.
42656         ($(objpfx)tst-error1-mem): Likewise.
42657         * nptl/Makefile (tests-special): Likewise.
42658         ($(objpfx)tst-stack3-mem): Likewise.
42659         (generated): Likewise.
42660         * posix/Makefile (generated): Likewise.
42661         (tests-special): Likewise.
42662         (xtests-special): Likewise.
42663         ($(objpfx)tst-fnmatch-mem): Likewise.
42664         ($(objpfx)bug-regex2-mem): Likewise.
42665         ($(objpfx)bug-regex14-mem): Likewise.
42666         ($(objpfx)bug-regex21-mem): Likewise.
42667         ($(objpfx)bug-regex31-mem): Likewise.
42668         ($(objpfx)tst-vfork3-mem): Likewise.
42669         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42670         ($(objpfx)tst-pcre-mem): Likewise.
42671         ($(objpfx)tst-boost-mem): Likewise.
42672         ($(objpfx)bug-ga2-mem): Likewise.
42673         ($(objpfx)bug-glob2-mem): Likewise.
42674         * resolv/Makefile (generate): Likewise.
42675         (tests-special): Likewise.
42676         (xtests-special): Likewise.
42677         (generated): Likewise.
42678         ($(objpfx)mtrace-tst-leaks): Likewise.
42679         ($(objpfx)mtrace-tst-leaks2): Likewise.
42681         * scripts/merge-test-results.sh: New file.
42682         * Makefile (tests-special-notdir): New variable.
42683         (tests): Run merge-test-results.sh.
42684         (xtests): Likewise.
42685         * Rules (tests-special-notdir): New variable.
42686         (xtests-special-notdir): Likewise.
42687         (tests): Run merge-test-results.sh
42688         (xtests): Likewise.
42690         * Makeconfig (test-xfail-name): New variable.
42691         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42692         compute variable name for expected failures.
42693         * conform/Makefile (conformtest-headers-data): New variable.
42694         (conformtest-standards): Likewise.
42695         (conformtest-headers-ISO): Likewise.
42696         (conformtest-headers-ISO99): Likewise.
42697         (conformtest-headers-ISO11): Likewise.
42698         (conformtest-headers-POSIX): Likewise.
42699         (conformtest-headers-XPG3): Likewise.
42700         (conformtest-headers-XPG4): Likewise.
42701         (conformtest-headers-UNIX98): Likewise.
42702         (conformtest-headers-XOPEN2K): Likewise.
42703         (conformtest-headers-POSIX2008): Likewise.
42704         (conformtest-headers-XOPEN2K8): Likewise.
42705         (conformtest-header-list-base): Likewise.
42706         (conformtest-header-list-tests): Likewise.
42707         (conformtest-header-base): Likewise.
42708         (conformtest-header-tests): Likewise.
42709         (tests-special): Add $(conformtest-header-list-tests).  If
42710         [$(fast-check) && !$(cross-compiling)], add
42711         $(conformtest-header-tests) instead of
42712         $(objpfx)run-conformtest.out.
42713         (generated): Add $(conformtest-header-list-base).  If
42714         [$(fast-check) && !$(cross-compiling)], add
42715         $(conformtest-header-base).  Remove previous setting.
42716         ($(conformtest-header-list-tests)): New target.
42717         (test-xfail-run-conformtest): Remove variable.
42718         ($(objpfx)run-conformtest.out): Remove target.
42719         (test-xfail-ISO11/complex.h/conform): New variable.
42720         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42721         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42722         (test-xfail-XPG3/varargs.h/conform): Likewise.
42723         (test-xfail-XPG4/varargs.h/conform): Likewise.
42724         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42725         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42726         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42727         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42728         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42729         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42730         (test-xfail-XPG3/ftw.h/conform): Likewise.
42731         (test-xfail-XPG3/grp.h/conform): Likewise.
42732         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42733         (test-xfail-XPG3/limits.h/conform): Likewise.
42734         (test-xfail-XPG3/pwd.h/conform): Likewise.
42735         (test-xfail-XPG3/search.h/conform): Likewise.
42736         (test-xfail-XPG3/signal.h/conform): Likewise.
42737         (test-xfail-XPG3/stdio.h/conform): Likewise.
42738         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42739         (test-xfail-XPG3/string.h/conform): Likewise.
42740         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42741         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42742         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42743         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42744         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42745         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42746         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42747         (test-xfail-XPG3/termios.h/conform): Likewise.
42748         (test-xfail-XPG3/time.h/conform): Likewise.
42749         (test-xfail-XPG3/unistd.h/conform): Likewise.
42750         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42751         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42752         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42753         (test-xfail-XPG4/netdb.h/conform): Likewise.
42754         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42755         (test-xfail-XPG4/signal.h/conform): Likewise.
42756         (test-xfail-XPG4/stdio.h/conform): Likewise.
42757         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42758         (test-xfail-XPG4/stropts.h/conform): Likewise.
42759         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42760         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42761         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42762         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42763         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42764         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42765         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42766         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42767         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42768         (test-xfail-XPG4/termios.h/conform): Likewise.
42769         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42770         (test-xfail-XPG4/unistd.h/conform): Likewise.
42771         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42772         (test-xfail-POSIX/sched.h/conform): Likewise.
42773         (test-xfail-POSIX/signal.h/conform): Likewise.
42774         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42775         (test-xfail-POSIX/tar.h/conform): Likewise.
42776         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42777         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42778         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42779         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42780         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42781         (test-xfail-UNIX98/sched.h/conform): Likewise.
42782         (test-xfail-UNIX98/signal.h/conform): Likewise.
42783         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42784         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42785         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42786         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42787         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42788         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42789         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42790         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42791         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42792         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42793         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42794         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42795         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42796         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42797         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42798         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42799         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42800         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42801         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42802         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42803         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42804         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42805         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42806         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42807         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42808         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42809         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42810         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42811         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42812         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42813         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42814         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42815         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42816         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42817         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42818         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42819         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42820         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42821         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42822         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42823         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42824         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42825         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42826         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42827         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42828         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42829         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42830         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42831         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42832         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42833         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42834         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42835         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42836         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42837         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42838         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42839         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42840         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42841         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42842         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42843         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42844         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42845         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42846         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42847         (conformtest-cc-flags): Likewise.
42848         ($(conformtest-header-tests): New target.
42849         * conform/check-header-lists.sh: New file.
42850         * conform/run-conformtest.sh: Remove.
42852         * conform/conformtest.pl: Allow ' and \ in values given for
42853         constants.
42854         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42855         inclusion.
42856         [POSIX] (sys/types.h): Likewise.
42857         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42858         inclusion.
42859         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42860         inclusion.
42861         * conform/data/signal.h-data (SIGIO): Remove expectation.
42862         [XPG3] (SIGBUS): Do not expect.
42863         [POSIX || XPG3] (SIGPOLL): Likewise.
42864         [POSIX || XPG3] (SIGPROF): Likewise.
42865         [POSIX || XPG3] (SIGSYS): Likewise.
42866         [XPG3] (SIGTRAP): Likewise.
42867         [POSIX || XPG3] (SIGURG): Likewise.
42868         [POSIX || XPG3] (SIGVTALRM): Likewise.
42869         [POSIX || XPG3] (SIGXCPU): Likewise.
42870         [POSIX || XPG3] (SIGXFSZ): Likewise.
42871         [POSIX] (SA_SIGINFO): Expect.
42872         [XPG3] (siginfo_t): Do not expect type or contents.
42873         [POSIX] (si_pid): Do not expect element.
42874         [POSIX] (si_uid): Likewise.
42875         [POSIX] (si_addr): Likewise.
42876         [POSIX] (si_status): Likewise.
42877         [POSIX] (si_band): Likewise.
42878         [XPG4] (si_value): Likewise.
42879         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42880         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42881         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42882         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42883         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42884         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42885         [POSIX || XPG3] (ILL_COPROC): Likewise.
42886         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42887         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42888         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42889         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42890         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42891         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42892         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42893         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42894         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42895         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42896         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42897         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42898         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42899         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42900         [POSIX || XPG3] (CLD_EXITED): Likewise.
42901         [POSIX || XPG3] (CLD_KILLED): Likewise.
42902         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42903         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42904         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42905         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42906         [POSIX || XPG3] (POLL_IN): Likewise.
42907         [POSIX || XPG3] (POLL_OUT): Likewise.
42908         [POSIX || XPG3] (POLL_MSG): Likewise.
42909         [POSIX || XPG3] (POLL_ERR): Likewise.
42910         [POSIX || XPG3] (POLL_PRI): Likewise.
42911         [POSIX || XPG3] (POLL_HUP): Likewise.
42912         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42913         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42914         (SIG*): Do not allow.
42915         [XPG3] (si_*): Likewise.
42916         [XPG3] (SI_*): Likewise.
42917         [XPG3 || XPG4] (sigev_*): Likewise.
42918         [XPG3 || XPG4] (SIGEV_*): Likewise.
42919         [XPG3 || XPG4] (sival_*): Likewise.
42920         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42921         [POSIX || XPG3] (BUS_*): Likewise.
42922         [POSIX || XPG3] (CLD_*): Likewise.
42923         [POSIX || XPG3] (FPE_*): Likewise.
42924         [POSIX || XPG3] (ILL_*): Likewise.
42925         [POSIX || XPG3] (POLL_*): Likewise.
42926         [POSIX || XPG3] (SEGV_*): Likewise.
42927         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42928         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42929         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42930         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42931         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42932         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42933         Specify type and value.
42934         (TVERSLEN): Likewise.
42935         (REGTYPE): Likewise.
42936         (AREGTYPE): Likewise.
42937         (LNKTYPE): Likewise.
42938         (SYMTYPE): Likewise.
42939         (CHRTYPE): Likewise.
42940         (BLKTYPE): Likewise.
42941         (DIRTYPE): Likewise.
42942         (FIFOTYPE): Likewise.
42943         (CONTTYPE): Likewise.
42944         (TSUID): Likewise.
42945         (TSGID): Likewise.
42946         (TSVTX): Likewise.
42947         (TUREAD): Likewise.
42948         (TUWRITE): Likewise.
42949         (TUEXEC): Likewise.
42950         (TGREAD): Likewise.
42951         (TGWRITE): Likewise.
42952         (TGEXEC): Likewise.
42953         (TOREAD): Likewise.
42954         (TOWRITE): Likewise.
42955         (TOEXEC): Likewise.
42956         [POSIX] (TSVTX): Expect constant.
42958 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42960         * Makefile (tests): Change dependencies to ....
42961         (tests-special): ... additions to this variable.
42962         (tests): Depend on $(tests-special).
42963         * Makerules (check-abi-list): New variable.
42964         (check-abi): Depend on $(check-abi-list).
42965         [$(subdir) = elf] (tests-special): Add
42966         $(objpfx)check-abi-libc.out.
42967         [$(build-shared) = yes && subdir] (tests-special): Add
42968         $(check-abi-list).
42969         [$(build-shared) = yes && subdir] (tests): Do not depend on
42970         check-abi.
42971         * Rules (tests): Depend on $(tests-special).
42972         (xtests): Depend on $(xtests-special).
42973         * catgets/Makefile (tests): Change dependencies to ....
42974         (tests-special): ... additions to this variable.
42975         * conform/Makefile (tests): Change dependencies to ....
42976         (tests-special): ... additions to this variable.
42977         * elf/Makefile (tests): Change dependencies to ....
42978         (tests-special): ... additions to this variable.
42979         * grp/Makefile (tests): Change dependencies to ....
42980         (tests-special): ... additions to this variable.
42981         * iconv/Makefile (xtests): Change dependencies to ....
42982         (xtests-special): ... additions to this variable.
42983         * iconvdata/Makefile (tests): Change dependencies to ....
42984         (tests-special): ... additions to this variable.
42985         * intl/Makefile (tests): Change dependencies to ....
42986         (tests-special): ... additions to this variable.  Also add
42987         $(objpfx)tst-gettext.out.
42988         * io/Makefile (tests): Change dependencies to ....
42989         (tests-special): ... additions to this variable.
42990         * libio/Makefile (tests): Change dependencies to ....
42991         (tests-special): ... additions to this variable.
42992         * malloc/Makefile (tests): Change dependencies to ....
42993         (tests-special): ... additions to this variable.
42994         * misc/Makefile (tests): Change dependencies to ....
42995         (tests-special): ... additions to this variable.
42996         * nptl/Makefile (tests): Change dependencies to ....
42997         (tests-special): ... additions to this variable.
42998         * nptl_db/Makefile (tests): Change dependencies to ....
42999         (tests-special): ... additions to this variable.
43000         * posix/Makefile (tests): Change dependencies to ....
43001         (tests-special): ... additions to this variable.
43002         (xtests): Change dependencies to ....
43003         (xtests-special): ... additions to this variable.
43004         * resolv/Makefile (tests): Change dependencies to ....
43005         (tests-special): ... additions to this variable.
43006         (xtests): Change dependencies to ....
43007         (xtests-special): ... additions to this variable.
43008         * stdio-common/Makefile (tests): Change dependencies to ....
43009         (tests-special): ... additions to this variable.
43010         (do-tst-unbputc): Remove target.
43011         (do-tst-printf): Likewise.
43012         * stdlib/Makefile (tests): Change dependencies to ....
43013         (tests-special): ... additions to this variable.
43014         * string/Makefile (tests): Change dependencies to ....
43015         (tests-special): ... additions to this variable.
43016         * sysdeps/x86/Makefile (tests): Change dependencies to ....
43017         (tests-special): ... additions to this variable.
43019         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
43020         whole file.
43021         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
43022         whole file.
43023         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
43024         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
43026         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
43027         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
43028         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
43029         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
43030         * conform/data/libgen.h-data [XPG3]: Likewise.
43031         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
43032         * conform/data/ndbm.h-data [XPG3]: Likewise.
43033         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43034         * conform/data/netdb.h-data [XPG3]: Likewise.
43035         * conform/data/netinet/in.h-data [XPG3]: Likewise.
43036         * conform/data/poll.h-data [XPG3]: Likewise.
43037         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43038         * conform/data/strings.h-data [XPG3]: Likewise.
43039         * conform/data/stropts.h-data [XPG3]: Likewise.
43040         * conform/data/sys/mman.h-data [XPG3]: Likewise.
43041         * conform/data/sys/resource.h-data [XPG3]: Likewise.
43042         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
43043         Likewise.
43044         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
43045         * conform/data/sys/time.h-data [XPG3]: Likewise.
43046         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
43047         * conform/data/sys/uio.h-data [XPG3]: Likewise.
43048         * conform/data/sys/un.h-data [XPG3]: Likewise.
43049         * conform/data/syslog.h-data [XPG3]: Likewise.
43050         * conform/data/ucontext.h-data [XPG3]: Likewise.
43051         * conform/data/utmpx.h-data [XPG3]: Likewise.
43052         * conform/data/varargs.h-data [UNIX98]: Enable file.
43054         * manual/Makefile (INSTALL_INFO): Remove variable setting.
43056         * math/libm-test.inc (struct test_f_f_data): Move expected results
43057         into structure for each rounding mode.
43058         (struct test_ff_f_data): Likewise.
43059         (struct test_ff_f_data_nexttoward): Likewise.
43060         (struct test_fi_f_data): Likewise.
43061         (struct test_fl_f_data): Likewise.
43062         (struct test_if_f_data): Likewise.
43063         (struct test_fff_f_data): Likewise.
43064         (struct test_c_f_data): Likewise.
43065         (struct test_f_f1_data): Likewise.
43066         (struct test_fF_f1_data): Likewise.
43067         (struct test_ffI_f1_data): Likewise.
43068         (struct test_c_c_data): Likewise.
43069         (struct test_cc_c_data): Likewise.
43070         (struct test_f_i_data): Likewise.
43071         (struct test_ff_i_data): Likewise.
43072         (struct test_f_l_data): Likewise.
43073         (struct test_f_L_data): Likewise.
43074         (struct test_fFF_11_data): Likewise.
43075         (RM_): New macro.
43076         (RM_FE_DOWNWARD): Likewise.
43077         (RM_FE_TONEAREST): Likewise.
43078         (RM_FE_TOWARDZERO): Likewise.
43079         (RM_FE_UPWARD): Likewise.
43080         (RUN_TEST_LOOP_f_f): Update references to expected results.
43081         (RUN_TEST_LOOP_2_f): Likewise.
43082         (RUN_TEST_LOOP_fff_f): Likewise.
43083         (RUN_TEST_LOOP_c_f): Likewise.
43084         (RUN_TEST_LOOP_f_f1): Likewise.
43085         (RUN_TEST_LOOP_fF_f1): Likewise.
43086         (RUN_TEST_LOOP_fI_f1): Likewise.
43087         (RUN_TEST_LOOP_ffI_f1): Likewise.
43088         (RUN_TEST_LOOP_c_c): Likewise.
43089         (RUN_TEST_LOOP_cc_c): Likewise.
43090         (RUN_TEST_LOOP_f_i): Likewise.
43091         (RUN_TEST_LOOP_f_i_tg): Likewise.
43092         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43093         (RUN_TEST_LOOP_f_b): Likewise.
43094         (RUN_TEST_LOOP_f_b_tg): Likewise.
43095         (RUN_TEST_LOOP_f_l): Likewise.
43096         (RUN_TEST_LOOP_f_L): Likewise.
43097         (RUN_TEST_LOOP_fFF_11): Likewise.
43098         * math/gen-libm-test.pl (parse_args): Output four copies of
43099         expected results for each test.
43101         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43102         (__ASSUME_UTIMES): Remove.
43103         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43104         (__ASSUME_UTIMES): Likewise.
43106         * math/gen-auto-libm-tests.c: Update comment on output format.
43107         (output_for_one_input_case): Generate before-rounding and
43108         after-rounding information as conditions on output flags not
43109         floating-point format.
43110         * math/auto-libm-test-out: Regenerated.
43111         * math/gen-libm-test.pl (cond_value): New function.
43112         (or_cond_value): Use cond_value.
43113         (generate_testfile): Handle conditional exceptions.
43115 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
43117         * math/libm-test.inc (max_valid_error): New variable.
43118         (init_max_error): Take new argument specifying whether function
43119         results are exactly determined.  Set max_valid_error and bound
43120         other variables for errors based on this argument.
43121         (set_max_error): Do not record results above max_valid_error.
43122         (check_float_internal): Only accept errors of up to 0.5ulps if
43123         also at most max_valid_error.
43124         (START): Take new argument EXACT and pass it to init_max_error.
43125         (acos_test): Update call to START.
43126         (acos_test_tonearest): Likewise.
43127         (acos_test_towardzero): Likewise.
43128         (acos_test_downward): Likewise.
43129         (acos_test_upward): Likewise.
43130         (acosh_test): Likewise.
43131         (asin_test): Likewise.
43132         (asin_test_tonearest): Likewise.
43133         (asin_test_towardzero): Likewise.
43134         (asin_test_downward): Likewise.
43135         (asin_test_upward): Likewise.
43136         (asinh_test): Likewise.
43137         (atan_test): Likewise.
43138         (atanh_test): Likewise.
43139         (atan2_test): Likewise.
43140         (cabs_test): Likewise.
43141         (cacos_test): Likewise.
43142         (cacosh_test): Likewise.
43143         (carg_test): Likewise.
43144         (casin_test): Likewise.
43145         (casinh_test): Likewise.
43146         (catan_test): Likewise.
43147         (catanh_test): Likewise.
43148         (cbrt_test): Likewise.
43149         (ccos_test): Likewise.
43150         (ccosh_test): Likewise.
43151         (ceil_test): Likewise.
43152         (cexp_test): Likewise.
43153         (cimag_test): Likewise.
43154         (clog_test): Likewise.
43155         (clog10_test): Likewise.
43156         (conj_test): Likewise.
43157         (copysign_test): Likewise.
43158         (cos_test): Likewise.
43159         (cos_test_tonearest): Likewise.
43160         (cos_test_towardzero): Likewise.
43161         (cos_test_downward): Likewise.
43162         (cos_test_upward): Likewise.
43163         (cosh_test): Likewise.
43164         (cosh_test_tonearest): Likewise.
43165         (cosh_test_towardzero): Likewise.
43166         (cosh_test_downward): Likewise.
43167         (cosh_test_upward): Likewise.
43168         (cpow_test): Likewise.
43169         (cproj_test): Likewise.
43170         (creal_test): Likewise.
43171         (csin_test): Likewise.
43172         (csinh_test): Likewise.
43173         (csqrt_test): Likewise.
43174         (ctan_test): Likewise.
43175         (ctan_test_tonearest): Likewise.
43176         (ctan_test_towardzero): Likewise.
43177         (ctan_test_downward): Likewise.
43178         (ctan_test_upward): Likewise.
43179         (ctanh_test): Likewise.
43180         (ctanh_test_tonearest): Likewise.
43181         (ctanh_test_towardzero): Likewise.
43182         (ctanh_test_downward): Likewise.
43183         (ctanh_test_upward): Likewise.
43184         (erf_test): Likewise.
43185         (erfc_test): Likewise.
43186         (exp_test): Likewise.
43187         (exp_test_tonearest): Likewise.
43188         (exp_test_towardzero): Likewise.
43189         (exp_test_downward): Likewise.
43190         (exp_test_upward): Likewise.
43191         (exp10_test): Likewise.
43192         (exp10_test_tonearest): Likewise.
43193         (exp10_test_towardzero): Likewise.
43194         (exp10_test_downward): Likewise.
43195         (exp10_test_upward): Likewise.
43196         (pow10_test): Likewise.
43197         (exp2_test): Likewise.
43198         (expm1_test): Likewise.
43199         (expm1_test_tonearest): Likewise.
43200         (expm1_test_towardzero): Likewise.
43201         (expm1_test_downward): Likewise.
43202         (expm1_test_upward): Likewise.
43203         (fabs_test): Likewise.
43204         (fdim_test): Likewise.
43205         (floor_test): Likewise.
43206         (fma_test): Likewise.
43207         (fma_test_towardzero): Likewise.
43208         (fma_test_downward): Likewise.
43209         (fma_test_upward): Likewise.
43210         (fmax_test): Likewise.
43211         (fmin_test): Likewise.
43212         (fmod_test): Likewise.
43213         (fpclassify_test): Likewise.
43214         (frexp_test): Likewise.
43215         (hypot_test): Likewise.
43216         (ilogb_test): Likewise.
43217         (isfinite_test): Likewise.
43218         (finite_test): Likewise.
43219         (isgreater_test): Likewise.
43220         (isgreaterequal_test): Likewise.
43221         (isinf_test): Likewise.
43222         (isless_test): Likewise.
43223         (islessequal_test): Likewise.
43224         (islessgreater_test): Likewise.
43225         (isnan_test): Likewise.
43226         (isnormal_test): Likewise.
43227         (issignaling_test): Likewise.
43228         (isunordered_test): Likewise.
43229         (j0_test): Likewise.
43230         (j1_test): Likewise.
43231         (jn_test): Likewise.
43232         (ldexp_test): Likewise.
43233         (lgamma_test): Likewise.
43234         (gamma_test): Likewise.
43235         (lrint_test): Likewise.
43236         (lrint_test_tonearest): Likewise.
43237         (lrint_test_towardzero): Likewise.
43238         (lrint_test_downward): Likewise.
43239         (lrint_test_upward): Likewise.
43240         (llrint_test): Likewise.
43241         (llrint_test_tonearest): Likewise.
43242         (llrint_test_towardzero): Likewise.
43243         (llrint_test_downward): Likewise.
43244         (llrint_test_upward): Likewise.
43245         (log_test): Likewise.
43246         (log10_test): Likewise.
43247         (log1p_test): Likewise.
43248         (log2_test): Likewise.
43249         (logb_test): Likewise.
43250         (logb_test_downward): Likewise.
43251         (lround_test): Likewise.
43252         (llround_test): Likewise.
43253         (modf_test): Likewise.
43254         (nearbyint_test): Likewise.
43255         (nextafter_test): Likewise.
43256         (nexttoward_test): Likewise.
43257         (pow_test): Likewise.
43258         (pow_test_tonearest): Likewise.
43259         (pow_test_towardzero): Likewise.
43260         (pow_test_downward): Likewise.
43261         (pow_test_upward): Likewise.
43262         (remainder_test): Likewise.
43263         (drem_test): Likewise.
43264         (remainder_test_tonearest): Likewise.
43265         (drem_test_tonearest): Likewise.
43266         (remainder_test_towardzero): Likewise.
43267         (drem_test_towardzero): Likewise.
43268         (remainder_test_downward): Likewise.
43269         (drem_test_downward): Likewise.
43270         (remainder_test_upward): Likewise.
43271         (drem_test_upward): Likewise.
43272         (remquo_test): Likewise.
43273         (rint_test): Likewise.
43274         (rint_test_tonearest): Likewise.
43275         (rint_test_towardzero): Likewise.
43276         (rint_test_downward): Likewise.
43277         (rint_test_upward): Likewise.
43278         (round_test): Likewise.
43279         (scalb_test): Likewise.
43280         (scalbn_test): Likewise.
43281         (scalbln_test): Likewise.
43282         (signbit_test): Likewise.
43283         (sin_test): Likewise.
43284         (sin_test_tonearest): Likewise.
43285         (sin_test_towardzero): Likewise.
43286         (sin_test_downward): Likewise.
43287         (sin_test_upward): Likewise.
43288         (sincos_test): Likewise.
43289         (sinh_test): Likewise.
43290         (sinh_test_tonearest): Likewise.
43291         (sinh_test_towardzero): Likewise.
43292         (sinh_test_downward): Likewise.
43293         (sinh_test_upward): Likewise.
43294         (sqrt_test): Likewise.
43295         (sqrt_test_tonearest): Likewise.
43296         (sqrt_test_towardzero): Likewise.
43297         (sqrt_test_downward): Likewise.
43298         (sqrt_test_upward): Likewise.
43299         (tan_test): Likewise.
43300         (tan_test_tonearest): Likewise.
43301         (tan_test_towardzero): Likewise.
43302         (tan_test_downward): Likewise.
43303         (tan_test_upward): Likewise.
43304         (tanh_test): Likewise.
43305         (tgamma_test): Likewise.
43306         (trunc_test): Likewise.
43307         (y0_test): Likewise.
43308         (y1_test): Likewise.
43309         (yn_test): Likewise.
43310         (significand_test): Likewise.
43312         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43313         individual tests in comment.
43314         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43315         (prev_max_error): New variable.
43316         (prev_real_max_error): Likewise.
43317         (prev_imag_max_error): Likewise.
43318         (compare_ulp_data): Don't refer to test names in comment.
43319         (find_test_ulps): Remove function.
43320         (find_function_ulps): Likewise.
43321         (find_complex_function_ulps): Likewise.
43322         (init_max_error): Take function name as argument.  Look up ulps
43323         for that function.
43324         (print_ulps): Remove function.
43325         (print_max_error): Use prev_max_error instead of calling
43326         find_function_ulps.
43327         (print_complex_max_error): Use prev_real_max_error and
43328         prev_imag_max_error instead of calling find_complex_function_ulps.
43329         (check_float_internal): Take max_ulp parameter instead of calling
43330         find_test_ulps.  Don't call print_ulps.
43331         (check_float): Update call to check_float_internal.
43332         (check_complex): Update calls to check_float_internal.
43333         (START): Pass argument to init_max_error.
43334         * math/gen-libm-test.pl (%results): Don't include "kind"
43335         information.
43336         (parse_ulps): Don't handle ulps of individual tests.
43337         (print_ulps_file): Likewise.
43338         (output_ulps): Likewise.
43339         * math/README.libm-test: Update.
43340         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43341         individual tests.
43342         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43343         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43344         * sysdeps/arm/libm-test-ulps: Likewise.
43345         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43346         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43347         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43348         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43349         * sysdeps/microblaze/libm-test-ulps: Likewise.
43350         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43351         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43352         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43353         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43354         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43355         * sysdeps/sh/libm-test-ulps: Likewise.
43356         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43357         * sysdeps/tile/libm-test-ulps: Likewise.
43358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43360 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
43362         * math/libm-test.inc (print_complex_max_error): Check separately
43363         whether real and imaginary errors are within allowed range and
43364         pass 0 to print_complex_function_ulps instead of value within
43365         allowed range.
43367 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43369         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43370         formatting.
43371         (get_handles_fopen): Likewise.
43372         (do_write_test): Likewise.
43374         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43376         * libio/fileops.c (do_ftell): Use cached offset when
43377         available.
43378         * libio/iofwide.c (do_ftell_wide): Likewise.
43379         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43380         _IO_file_attach.
43381         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43383         [BZ #16532]
43384         * libio/libioP.h (get_file_offset): New function.
43385         * libio/fileops.c (get_file_offset): Likewise.
43386         (do_ftell): Likewise.
43387         (_IO_new_file_seekoff): Split out ftell logic.
43388         * libio/wfileops.c (do_ftell_wide): Likewise.
43389         (_IO_wfile_seekoff): Split out ftell logic.
43390         * libio/tst-ftell-active-handler.c: New test case.
43391         * libio/Makefile (tests): Add it.
43393 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43395         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43396         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43398 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43400         [BZ #16639]
43401         * nscd/connections.c (nscd_init): Call do_exit.
43402         (start_threads): Call do_exit and notify_parent.
43403         (begin_drop_privileges): Call do_exit.
43404         (finish_drop_privileges): Likewise.
43405         * nscd/selinux.c (preserve_capabilities): Likewise.
43406         (install_real_capabilities): Likewise.
43407         (nscd_selinux_enabled): Likewise.
43408         (avc_create_thread): Likewise.
43409         (avc_alloc_lock): Likewise.
43410         (nscd_avc_init): Likewise.
43411         * nscd/nscd.c (parent_fd): New static variable.
43412         (main): Create a pipe between parent and child processes.
43413         Skip closing parent_fd.
43414         (monitor_child): New function.
43415         (do_exit): Likewise.
43416         (notify_parent): Likewise.
43417         * nscd/nscd.h (notify_parent): Likewise.
43418         (do_exit): Likewise.
43420 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43422         * malloc/malloc.c (__libc_calloc): Revert last change.
43424 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43428 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43430         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43432         implementation.
43433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43434         (__libc_ifunc_impl_list): Likewise.
43435         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43436         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43437         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43438         * string/strrchr.c: Define STRRCHR.
43440 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43442         * benchtest/bench-strtok.c (simple_strtok): Delete.
43443         (strtok_string): Use as benchmark.
43444         * string/strtok (STRTOK): New macro.
43446 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43448         * manual/threads.texi: Add header and standard comments to all
43449         functions.
43451         * elf/dl-lookup.c (check_match): New function.
43452         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43453         (do_lookup_x): Remove nested function check_match. Use non-nested
43454         function check_match.
43456 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43458         * csu/Makefile (generated, before-compile): Use += rather than =.
43459         * catgets/Makefile (generated, generated-dirs): Likewise.
43460         * debug/Makefile (generated): Likewise.
43461         * dlfcn/Makefile (generated): Likewise.
43462         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43463         * iconvdata/Makefile (before-compile, generated): Likewise.
43464         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43465         * libio/Makefile (generated): Likewise.
43466         * malloc/Makefile (generated): Likewise.
43467         * manual/Makefile (generated, generated-dirs): Likewise.
43468         * misc/Makefile (generated): Likewise.
43469         * posix/Makefile (generated): Likewise.
43470         * resolv/Makefile (generated): Likewise.
43471         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43472         * timezone/Makefile (generated, generated-dirs): Likewise.
43474         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43476 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43478         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43479         power8 implementation.
43480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43481         file: POWER8 llround ifunc implementation.
43482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43483         (__lllround): Add POWER8 implementation.
43484         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43485         POWER8 llround implementation.
43487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43488         power8 implementation.
43489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43490         file: POWER8 llrint ifunc implementation.
43491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43492         Add POWER8 implementation.
43493         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43494         POWER8 llrint implementation.
43496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43497         power8 implementation.
43498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43499         file: POWER8 finite ifunc implementation.
43500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43501         Add POWER8 implementation.
43502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43503         Likewise.
43504         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43505         POWER8 finite implementation.
43506         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43509         power8 implementation.
43510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43511         file: POWER8 isinf ifunc implementation.
43512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43513         POWER8 implementation.
43514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43515         Likewise.
43516         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43517         isinf implementation.
43518         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43520         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43521         (INIT_ARCH): Add hwcap2 initialization.
43522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43523         power8 implementation.
43524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43525         file: POWER8 isnan ifunc implementation.
43526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43527         POWER8 implementation.
43528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43529         Likewise.
43530         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43531         isnan implementation.
43532         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43534 2014-02-27  Joey Ye  <joey.ye@arm.com>
43536         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43537         (_FP_NANFRAC_Q): Set to zero.
43539 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43541         [BZ #16623]
43542         * math/auto-libm-test-in: New test inputs.
43543         * math/auto-libm-test-out: Regenerate.
43544         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43545         and DA.
43546         (__cos): Likewise.
43547         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43549 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43551         * scripts/evaluate-test.sh: Take new argument indicating whether
43552         failure is expected.
43553         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43554         indicating whether failure is expected.
43555         * conform/Makefile (test-xfail-run-conformtest): New variable.
43556         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43557         level.
43558         * posix/Makefile (test-xfail-annexc): New variable.
43559         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43561 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43563         * argp/Makefile: Include Makeconfig immediately after defining
43564         subdir.
43565         * assert/Makefile: Likewise.
43566         * benchtests/Makefile: Likewise.
43567         * catgets/Makefile: Likewise.
43568         * conform/Makefile: Likewise.
43569         * crypt/Makefile: Likewise.
43570         * csu/Makefile: Likewise.
43571         (all): Remove target.
43572         * ctype/Makefile: Include Makeconfig immediately after defining
43573         subdir.
43574         * debug/Makefile: Likewise.
43575         * dirent/Makefile: Likewise.
43576         * dlfcn/Makefile: Likewise.
43577         * gmon/Makefile: Likewise.
43578         * gnulib/Makefile: Likewise.
43579         * grp/Makefile: Likewise.
43580         * gshadow/Makefile: Likewise.
43581         * hesiod/Makefile: Likewise.
43582         * hurd/Makefile: Likewise.
43583         (all): Remove target.
43584         * iconvdata/Makefile: Include Makeconfig immediately after
43585         defining subdir.
43586         * inet/Makefile: Likewise.
43587         * intl/Makefile: Likewise.
43588         * io/Makefile: Likewise.
43589         * libio/Makefile: Likewise.
43590         (all): Remove target.
43591         * locale/Makefile: Include Makeconfig immediately after defining
43592         subdir.
43593         * login/Makefile: Likewise.
43594         * mach/Makefile: Likewise.
43595         (all): Remove target.
43596         * malloc/Makefile: Include Makeconfig immediately after defining
43597         subdir.
43598         (all): Remove target.
43599         * manual/Makefile: Include Makeconfig immediately after defining
43600         subdir.
43601         * math/Makefile: Likewise.
43602         * misc/Makefile: Likewise.
43603         * nis/Makefile: Likewise.
43604         * nss/Makefile: Likewise.
43605         * po/Makefile: Likewise.
43606         (all): Remove target.
43607         * posix/Makefile: Include Makeconfig immediately after defining
43608         subdir.
43609         * pwd/Makefile: Likewise.
43610         * resolv/Makefile: Likewise.
43611         * resource/Makefile: Likewise.
43612         * rt/Makefile: Likewise.
43613         * setjmp/Makefile: Likewise.
43614         * shadow/Makefile: Likewise.
43615         * signal/Makefile: Likewise.
43616         * socket/Makefile: Likewise.
43617         * soft-fp/Makefile: Likewise.
43618         * stdio-common/Makefile: Likewise.
43619         * stdlib/Makefile: Likewise.
43620         * streams/Makefile: Likewise.
43621         * string/Makefile: Likewise.
43622         * sunrpc/Makefile: Likewise.
43623         (all): Remove target.
43624         * sysvipc/Makefile: Include Makeconfig immediately after defining
43625         subdir.
43626         * termios/Makefile: Likewise.
43627         * time/Makefile: Likewise.
43628         * timezone/Makefile: Likewise.
43629         (all): Remove target.
43630         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43631         subdir.
43632         * wctype/Makefile: Likewise.
43634 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43636         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43637         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43638         (libc_feholdexcept_setround_mips): Ditto.
43639         (libc_feholdsetround): New.
43640         (libc_feholdsetroundf): New.
43641         (libc_feholdsetroundl): New.
43642         (libc_feupdateenv_test_mips): New.
43643         (libc_feupdateenv_test): New.
43644         (libc_feupdateenv_testf): New.
43645         (libc_feupdateenv_testl): New.
43646         (libc_feresetround): New.
43647         (libc_feresetroundf): New.
43648         (libc_feresetroundl): New.
43649         (libc_fetestexcept_mips): New.
43650         (libc_fetestexcept): New.
43651         (libc_fetestexceptf): New.
43652         (libc_fetestexceptl): New.
43653         (HAVE_RM_CTX): New.
43654         (libc_feholdexcept_setround_mips_ctx): New.
43655         (libc_feholdexcept_setround_ctx): New.
43656         (libc_feholdexcept_setroundf_ctx): New.
43657         (libc_feholdexcept_setroundl_ctx): New.
43658         (libc_fesetenv_mips_ctx): New.
43659         (libc_fesetenv_ctx): New.
43660         (libc_fesetenv_ctxf): New.
43661         (libc_fesetenv_ctxl): New.
43662         (libc_feupdateenv_mips_ctx): New.
43663         (libc_feupdateenv_ctx): New.
43664         (libc_feupdateenvf_ctx): New.
43665         (libc_feupdateenvl_ctx): New.
43666         (libc_feholdsetround_mips_ctx): New.
43667         (libc_feholdsetround_ctx): New.
43668         (libc_feholdsetroundf_ctx): New.
43669         (libc_feholdsetroundl_ctx): New.
43670         (libc_feresetround_mips_ctx): New.
43671         (libc_feresetround_ctx): New.
43672         (libc_feresetroundf_ctx): New.
43673         (libc_feresetroundl_ctx): New.
43675 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43677         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43679         * manual/ipc.texi: New file.
43680         * manual/Makefile (chapters): Add ipc.
43681         * manual/job.texi: Add "Inter-Process Communication" to next.
43682         * manual/process.texi: Add "Inter-Process Communication" to prev.
43684 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43688 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43690         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43692         * manual/arith.texi: Fix spaces after sentences.
43693         * manual/charset.texi: Likewise.
43694         * manual/errno.texi: Likewise.
43695         * manual/install.texi: Likewise.
43696         * manual/llio.texi: Likewise.
43697         * manual/locale.texi: Likewise.
43698         * manual/maint.texi: Likewise.
43699         * manual/math.texi: Likewise.
43700         * manual/memory.texi: Likewise.
43701         * manual/message.texi: Likewise.
43702         * manual/probes.texi: Likewise.
43703         * manual/resource.texi: Likewise.
43704         * manual/signal.texi: Likewise.
43705         * manual/socket.texi: Likewise.
43706         * manual/stdio.texi: Likewise.
43707         * manual/string.texi: Likewise.
43708         * manual/time.texi: Likewise.
43709         * manual/users.texi: Likewise.
43711 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43713         [BZ #16632]
43714         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43715         _DEFAULT_SOURCE is defined.
43717 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43718             Carlos O'Donell  <carlos@redhat.com>
43720         [BZ #16613]
43721         * elf/dl-tls.c (_dl_count_modids): New function.
43722         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43723         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43724         audit library and increment generation counter.
43725         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43726         * elf/tst-audit9.c: New file.
43727         * elf/tst-auditmod9a.c: New file.
43728         * elf/tst-auditmod9b.c: New file.
43729         * elf/Makefile: Add rules to build and run tst-audit9.
43731 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43733         [BZ #15347]
43734         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43736 2014-02-25  Will Newton  <will.newton@linaro.org>
43738         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43739         (__longjmp): Restore sp and lr before restoring callee
43740         saved registers.  Add longjmp and longjmp_target
43741         SystemTap probe point.
43742         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43743         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43744         Define to zero to match jmpbuf layout.
43745         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43746         (__sigsetjmp): Save sp and lr before saving callee
43747         saved registers.  Add setjmp SystemTap probe point.
43749 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43751         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43753 2014-02-24  Andreas Schwab  <schwab@suse.de>
43755         [BZ #15804]
43756         * elf/pldd.c (wait_for_ptrace_stop): New function.
43757         (main): Call it after attaching.
43759 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43761         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43762         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43763         Versions files is now verboten.
43764         * hurd/Versions (libc: GLIBC_2.0):
43765         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43766         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43767         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43768         * mach/Versions: Likewise.
43770         * csu/Versions: Remove unused %include.
43771         * resolv/Versions: Likewise.
43773 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43775         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43776         ($(objpfx)check-local-headers.out): Likewise.
43777         ($(objpfx)begin-end-check.out): Likewise.
43778         * Makerules (check-abi-%.out): Likewise.
43779         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43780         ($(objpfx)test2.cat): Likewise.
43781         ($(objpfx)de/libc.cat): Likewise.
43782         ($(objpfx)test-gencat.out): Likewise.
43783         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43784         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43785         ($(objpfx)noload-mem): Likewise.
43786         ($(objpfx)tst-pathopt.out): Likewise.
43787         ($(objpfx)tst-rtld-load-self.out): Likewise.
43788         ($(objpfx)tst-array1-cmp.out): Likewise.
43789         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43790         ($(objpfx)tst-array2-cmp.out): Likewise.
43791         ($(objpfx)tst-array3-cmp.out): Likewise.
43792         ($(objpfx)tst-array4-cmp.out): Likewise.
43793         ($(objpfx)tst-array5-cmp.out): Likewise.
43794         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43795         ($(objpfx)check-textrel.out): Likewise.
43796         ($(objpfx)check-execstack.out): Likewise.
43797         ($(objpfx)check-localplt.out): Likewise.
43798         ($(objpfx)order2-cmp.out): Likewise.
43799         ($(objpfx)tst-leaks1-mem): Likewise.
43800         ($(objpfx)tst-leaks1-static-mem): Likewise.
43801         ($(objpfx)tst-initorder-cmp.out): Likewise.
43802         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43803         ($(objpfx)tst-unused-dep.out): Likewise.
43804         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43805         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43806         * iconv/Makefile (test-iconvconfig): Likewise.
43807         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43808         ($(objpfx)iconv-test.out): Likewise.
43809         ($(objpfx)tst-tables.out): Likewise.
43810         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43811         ($(objpfx)tst-gettext.out): Likewise.
43812         ($(objpfx)tst-translit.out): Likewise.
43813         ($(objpfx)tst-gettext2.out): Likewise.
43814         ($(objpfx)tst-gettext4.out): Likewise.
43815         ($(objpfx)tst-gettext6.out): Likewise.
43816         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43817         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43818         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43819         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43820         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43821         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43822         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43823         ($(objpfx)wordexp-tst.out): Likewise.
43824         ($(objpfx)annexc.out): Likewise.
43825         ($(objpfx)tst-fnmatch-mem): Likewise.
43826         ($(objpfx)bug-regex2-mem): Likewise.
43827         ($(objpfx)bug-regex14-mem): Likewise.
43828         ($(objpfx)bug-regex21-mem): Likewise.
43829         ($(objpfx)bug-regex31-mem): Likewise.
43830         ($(objpfx)tst-vfork3-mem): Likewise.
43831         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43832         ($(objpfx)tst-pcre-mem): Likewise.
43833         ($(objpfx)tst-boost-mem): Likewise.
43834         ($(objpfx)tst-getconf.out): Likewise.
43835         ($(objpfx)bug-ga2-mem): Likewise.
43836         ($(objpfx)bug-glob2-mem): Likewise.
43837         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43838         ($(objpfx)mtrace-tst-leaks2): Likewise.
43839         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43840         ($(objpfx)tst-printf.out): Likewise.
43841         ($(objpfx)tst-setvbuf1.out): Likewise.
43842         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43843         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43844         ($(objpfx)tst-fmtmsg.out): Likewise.
43845         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43846         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43848         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43849         * bits/sigaction.h [__USE_MISC]: Likewise.
43850         * bits/waitstatus.h: Update #endif comments.
43851         * ctype/ctype.h: Likewise.
43852         * dirent/dirent.h: Likewise.
43853         [__USE_MISC]: Remove redundant conditionals.
43854         * grp/grp.h: Update #endif comments.
43855         [__USE_GNU]: Remove redundant conditionals.
43856         [__USE_MISC]: Likewise.
43857         * inet/netinet/in.h [__USE_GNU]: Likewise.
43858         * io/sys/stat.h [__USE_MISC]: Likewise.
43859         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43860         * libio/bits/stdio.h: Update #endif comments.
43861         [__USE_MISC]: Remove redundant conditionals.
43862         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43863         * libio/stdio.h: Update #endif comments.
43864         [__USE_MISC]: Remove redundant conditionals.
43865         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43866         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43867         * math/math.h: Update #else and #endif comments.
43868         [__USE_MISC]: Remove redundant conditionals.
43869         * misc/sys/uio.h: Update #endif comments.
43870         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43871         * posix/glob.h [__USE_MISC]: Likewise.
43872         * posix/sys/types.h: Update #endif comments.
43873         [__USE_MISC]: Remove redundant conditionals.
43874         * posix/sys/wait.h: Update #endif comments.
43875         [__USE_MISC]: Remove redundant conditionals.
43876         * posix/unistd.h: Update #endif comments.
43877         [__USE_MISC]: Remove redundant conditionals.
43878         * pwd/pwd.h [__USE_GNU]: Likewise.
43879         [__USE_MISC]: Likewise.
43880         * resolv/netdb.h [__USE_GNU]: Likewise.
43881         * signal/signal.h: Update #endif comments.
43882         [__USE_MISC]: Remove redundant conditionals.
43883         * stdlib/stdlib.h: Update #else and #endif comments.
43884         [__USE_MISC]: Remove redundant conditionals.
43885         [__USE_GNU]: Likewise.
43886         * string/bits/string2.h [__USE_MISC]: Likewise.
43887         * string/string.h: Update #endif comments.
43888         [__USE_MISC]: Remove redundant conditionals.
43889         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43890         Likewise.
43891         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43892         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43893         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43894         Likewise.
43895         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43896         Likewise.
43897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43898         comments.
43899         [__USE_MISC]: Remove redundant conditionals.
43900         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43901         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43902         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43903         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43904         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43905         Likewise.
43906         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43907         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43908         Likewise.
43909         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43910         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43911         Likewise.
43912         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43913         Likewise.
43914         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43915         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43916         Likewise.
43917         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43918         Likewise.
43919         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43920         * sysdeps/x86/bits/string.h: Update #endif comments.
43921         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43922         conditionals.
43923         * time/sys/time.h: Update #endif comments.
43924         * time/time.h: Likewise.
43925         [__USE_MISC]: Remove redundant conditionals.
43927 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43929         [BZ #16600]
43930         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43932 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43934         * Versions.def (librt): Add GLIBC_2.17.
43936 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43938         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43939         synonym for _SYS_AUXV_H to allow direct inclusion.
43940         * sysdeps/sparc/bits/hwcap.h: Likewise.
43941         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43942         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43943         * sysdeps/sparc/sysdep.h: Likewise.
43945 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43947         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43949 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43951         * benchtests/bench-strrchr.c: Print length instead of position.
43953 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43955         [BZ #16611]
43956         * sysdeps/unix/sysv/linux/kernel-features.h
43957         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43958         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43959         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43960         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43961         Likewise.
43962         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43963         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43964         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43965         (__ASSUME_SENDMMSG): Define instead of using previous
43966         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43967         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43968         (__ASSUME_SENDMMSG_SYSCALL): Define.
43969         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43970         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43971         Likewise.
43972         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43973         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43974         Likewise.
43975         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43976         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43977         Likewise.
43978         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43979         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43980         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43981         [__ASSUME_SENDMMSG]: Change conditionals to
43982         [__ASSUME_SENDMMSG_SOCKETCALL].
43983         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43984         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43985         Define.
43986         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43987         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43988         Likewise.
43989         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43990         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43991         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43992         [!__ASSUME_SENDMMSG]: Change conditional to
43993         [!__ASSUME_SENDMMSG_SOCKETCALL].
43994         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43995         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43996         Define.
43998         [BZ #16610]
43999         * sysdeps/unix/sysv/linux/kernel-features.h
44000         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
44001         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
44002         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
44003         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
44004         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44005         [__i386__ || __sparc__]
44006         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44007         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
44008         (__ASSUME_RECVMMSG): Define instead of using previous
44009         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
44010         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44011         (__ASSUME_RECVMMSG_SYSCALL): Define.
44012         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44013         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44014         Likewise.
44015         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44016         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44017         Likewise.
44018         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44019         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44020         Likewise.
44021         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
44022         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44023         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44024         [__ASSUME_RECVMMSG]: Change condition to
44025         [__ASSUME_RECVMMSG_SOCKETCALL].
44026         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44027         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44028         Define.
44029         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44030         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44031         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44032         Likewise.
44033         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
44034         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44035         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44036         [!__ASSUME_RECVMMSG]: Change condition to
44037         [!__ASSUME_RECVMMSG_SOCKETCALL].
44038         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44039         (__ASSUME_RECVMMSG_SYSCALL): Define.
44041         [BZ #16609]
44042         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
44043         __powerpc__ || __s390__ || __sh__ || __sparc__]
44044         (__ASSUME_SOCKETCALL): Define.
44045         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
44046         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
44047         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
44048         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
44049         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44050         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44051         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
44052         (__ASSUME_ACCEPT4): Define instead of using previous
44053         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
44054         __powerpc__ || __sparc__ || __s390__)] condition.
44055         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44056         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44057         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
44058         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44059         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44060         [!__ASSUME_ACCEPT4]: Change condition to
44061         [!__ASSUME_ACCEPT4_SOCKETCALL].
44062         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44063         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
44064         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
44065         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44066         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
44067         __ASSUME_ACCEPT4_SYSCALL.
44068         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
44069         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
44070         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44071         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
44072         __ASSUME_ACCEPT4_SYSCALL.
44073         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
44074         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44075         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44076         [__ASSUME_ACCEPT4]: Change condition to
44077         [__ASSUME_ACCEPT4_SOCKETCALL].
44078         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44079         (__ASSUME_SOCKETCALL): Define.
44080         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
44081         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44082         (__ASSUME_SOCKETCALL): Define.
44083         (__ASSUME_ACCEPT4): Remove.
44084         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
44085         Define.
44086         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44087         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
44088         Likewise.
44089         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44090         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44092         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
44093         macro.
44094         (HWCAP_ARM_LPAE): Likewise.
44095         (HWCAP_ARM_EVTSTRM): Likewise.
44096         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
44097         Add vpfd32, lpae and evtstrm.
44098         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
44099         Increase to 22.
44101 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
44103         * math/auto-libm-test-in: Add tests of clog10.
44104         * math/auto-libm-test-out: Regenerated.
44105         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
44106         * sysdeps/i386/fpu/libm-test-ulps: Update.
44107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44109 2014-02-18  Andreas Schwab  <schwab@suse.de>
44111         [BZ #16574]
44112         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
44113         Store non-zero if the second buffer was newly allocated.
44114         (send_dg): Likewise.
44115         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
44116         to send_vc and send_dg.
44117         (res_nsend): Pass NULL for ansp2_malloced.
44118         * resolv/res_query.c (__libc_res_nquery): Add parameter
44119         answerp2_malloced and pass it down to __libc_res_nsend.
44120         (res_nquery): Pass additional NULL to __libc_res_nquery.
44121         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
44122         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
44123         second answer buffer if answerp2_malloced was set.
44124         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
44125         (__libc_res_nquerydomain): Add parameter
44126         answerp2_malloced and pass it down to __libc_res_nquery.
44127         (res_nquerydomain): Pass additional NULL to
44128         __libc_res_nquerydomain.
44129         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
44130         additional NULL to __libc_res_nsend and __libc_res_nquery.
44131         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
44132         additional NULL to __libc_res_nsearch.
44133         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
44134         parameter of __libc_res_nsearch to check for separately allocated
44135         second buffer.
44136         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
44137         __libc_res_nquery.
44138         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
44139         additional NULL to __libc_res_nquery.
44140         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
44141         __libc_res_nsearch.
44142         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
44143         * include/resolv.h: Update prototypes of __libc_res_nquery,
44144         __libc_res_nsearch, __libc_res_nsend.
44146 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
44148         * math/auto-libm-test-in: Add tests of fma.
44149         * math/auto-libm-test-out: Regenerated.
44150         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
44151         (fma_towardzero_test_data): Likewise.
44152         (fma_downward_test_data): Likewise.
44153         (fma_upward_test_data): Likewise.
44154         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
44155         mpc_mode.
44156         (rounding_modes): Add values for new field.
44157         (func_calc_method): Add value mpfr_fff_f.
44158         (func_calc_desc): Add mpfr_fff_f union field.
44159         (test_function): Add field exact_args.
44160         (FUNC): Add macro argument EXACT_ARGS.
44161         (FUNC_mpfr_f_f): Update call to FUNC.
44162         (FUNC_mpfr_f_f): Likewise.
44163         (FUNC_mpfr_ff_f): Likewise.
44164         (FUNC_mpfr_if_f): Likewise.
44165         (FUNC_mpc_c_f): Likewise.
44166         (FUNC_mpc_c_c): Likewise.
44167         (test_functions): Add fma.  Update calls to FUNC.
44168         (handle_input_arg): Add argument exact_args.
44169         (add_test): Update call to handle_input_arg.
44170         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
44171         (output_for_one_input_case): Update call to calc_generic_results.
44172         Recalculate exact zero results in each rounding mode.
44174         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
44175         non-negative before setting low bit.
44176         * math/auto-libm-test-in: Mark one asin test possibly having
44177         spurious underflow.
44178         * math/auto-libm-test-out: Regenerated.
44179         * sysdeps/i386/fpu/libm-test-ulps: Update.
44180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44182 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
44184         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
44185         * sysdeps/unix/sysv/linux/microblaze: Move directory from
44186         ports/sysdeps/unix/sysv/linux/microblaze.
44187         * README: Add missing listing for microblaze*-*-linux-gnu.
44189 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
44191         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
44192         duplicate code
44194 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
44196         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
44197         * sysdeps/unix/sysv/linux/ia64: Move directory from
44198         ports/sysdeps/unix/sysv/linux/ia64.
44199         * README: Update listing for ia64-*-linux-gnu.
44201 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
44202             Joseph Myers  <joseph@codesourcery.com>
44204         * Makeconfig (test-name): New variable.
44205         (evaluate-test): Likewise.
44206         * Makerules (do-test-clean): Remove .test-result files.
44207         (common-mostlyclean): Likewise.
44208         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
44209         * scripts/evaluate-test.sh: New file.
44211 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
44213         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
44214         separate $(objpfx)tst-fopenloc-cmp.out and
44215         $(objpfx)tst-fopenloc-mem.out targets.
44216         (tests): Update dependencies.
44217         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
44218         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
44219         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
44220         (tst-rxspencer-no-utf8-ARGS): New variable.
44221         (tst-rxspencer-no-utf8-ENV): Likewise.
44222         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
44223         instead of $(objpfx)tst-rxspencer-mem.
44224         ($(objpfx)tst-rxspencer-mem): Change target to
44225         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
44226         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
44227         * posix/tst-rxspencer-no-utf8.c: New file.
44229         * elf/Makefile ($(objpfx)order.out): Remove rule.
44230         [$(run-built-tests) = yes] (tests): Depend on
44231         $(objpfx)order-cmp.out.
44232         ($(objpfx)order-cmp.out): New rule.
44233         [$(run-built-tests) = yes] (tests): Depend on
44234         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
44235         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
44236         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
44237         $(objpfx)tst-array5-static-cmp.out.
44238         ($(objpfx)tst-array1.out): Remove rule.
44239         ($(objpfx)tst-array1-cmp.out): New rule.
44240         ($(objpfx)tst-array1-static.out): Remove rule.
44241         ($(objpfx)tst-array1-static-cmp.out): New rule.
44242         ($(objpfx)tst-array2.out): Remove rule.
44243         ($(objpfx)tst-array2-cmp.out): New rule.
44244         ($(objpfx)tst-array3.out): Remove rule.
44245         ($(objpfx)tst-array3-cmp.out): New rule.
44246         ($(objpfx)tst-array4.out): Remove rule.
44247         ($(objpfx)tst-array4-cmp.out): New rule.
44248         ($(objpfx)tst-array5.out): Remove rule.
44249         ($(objpfx)tst-array5-cmp.out): New rule.
44250         ($(objpfx)tst-array5-static.out): Remove rule.
44251         ($(objpfx)tst-array5-static-cmp.out): New rule.
44252         [$(run-built-tests) = yes] (tests): Depend on
44253         $(objpfx)order2-cmp.out.
44254         ($(objpfx)order2.out): Remove rule.
44255         ($(objpfx)order2-cmp.out): New rule.
44256         ($(objpfx)tst-initorder.out): Remove rule.
44257         [$(run-built-tests) = yes] (tests): Depend on
44258         $(objpfx)tst-initorder-cmp.out.
44259         ($(objpfx)tst-initorder-cmp.out): New rule.
44260         ($(objpfx)tst-initorder2.out): Remove rule.
44261         [$(run-built-tests) = yes] (tests): Depend on
44262         $(objpfx)tst-initorder2-cmp.out.
44263         ($(objpfx)tst-initorder2-cmp.out): New rule.
44264         [$(run-built-tests) = yes] (tests): Depend on
44265         $(objpfx)tst-unused-dep-cmp.out.
44266         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
44267         ($(objpfx)tst-unused-dep-cmp.out): New rule.
44268         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
44269         on $(objpfx)tst-setvbuf1-cmp.out.
44270         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
44271         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
44272         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
44273         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
44274         ($(objpfx)tst-svc.out): Remove rule.
44275         ($(objpfx)tst-svc-cmp.out): New rule.
44277 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
44279         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
44280         * ctype/ctype.h [__USE_MISC]: Likewise.
44281         * dirent/dirent.h [__USE_MISC]: Likewise.
44282         * grp/grp.h [__USE_MISC]: Likewise.
44283         * io/fcntl.h [__USE_MISC]: Likewise.
44284         * io/sys/stat.h [__USE_MISC]: Likewise.
44285         * libio/stdio.h [__USE_MISC]: Likewise.
44286         * posix/unistd.h [__USE_MISC]: Likewise.
44287         * pwd/pwd.h [__USE_MISC]: Likewise.
44288         * stdlib.h [__USE_MISC]: Likewise.
44289         * string/bits/string2.h [__USE_MISC]: Likewise.
44290         * string/string.h [__USE_MISC]: Likewise.
44291         * time/time.h [__USE_MISC]: Likewise.
44293 2014-02-13  Andreas Schwab  <schwab@suse.de>
44295         [BZ #16574]
44296         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44297         second answer buffer if it was separately allocated.
44299 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44301         * sysdeps/mips/math-tests.h: Include <features.h>.
44302         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44303         (ROUNDING_TESTS_long_double): Do not define.
44304         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44305         (EXCEPTION_TESTS_long_double): Likewise.
44306         * sysdeps/mips/mips64/libm-test-ulps: Update.
44308         * include/features.h (__USE_BSD): Remove macro definitions.
44309         (__USE_SVID): Likewise.
44310         (_BSD_SOURCE): Likewise.
44311         (_SVID_SOURCE): Likewise.
44312         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44313         from definition of _DEFAULT_SOURCE.
44314         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44315         [_DEFAULT_SOURCE].
44316         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44317         * bits/mman.h [__USE_BSD]: Likewise.
44318         * bits/termios.h [__USE_BSD]: Likewise.
44319         * bits/waitstatus.h [__USE_BSD]: Likewise.
44320         * ctype/ctype.h [__USE_SVID]: Likewise.
44321         * dirent/dirent.h [__USE_BSD]: Likewise.
44322         * grp/grp.h [__USE_SVID]: Likewise.
44323         [__USE_BSD]: Likewise.
44324         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44325         * io/fcntl.h [__USE_BSD]: Likewise.
44326         * io/ftw.h [__USE_BSD]: Likewise.
44327         * io/sys/stat.h [__USE_BSD]: Likewise.
44328         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44329         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44330         * libio/stdio.h [__USE_SVID]: Likewise.
44331         [__USE_BSD]: Likewise.
44332         * math/math.h [__USE_SVID]: Likewise.
44333         [__USE_BSD]: Likewise.
44334         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44335         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44336         * misc/search.h [__USE_SVID]: Likewise.
44337         * misc/sys/mman.h [__USE_BSD]: Likewise.
44338         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44339         * misc/sys/uio.h [__USE_BSD]: Likewise.
44340         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44341         * posix/glob.h [__USE_BSD]: Likewise.
44342         * posix/regex.h [__USE_BSD]: Likewise.
44343         * posix/sys/types.h [__USE_BSD]: Likewise.
44344         [__USE_SVID]: Likewise.
44345         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44346         * posix/sys/wait.h [__USE_BSD]: Likewise.
44347         [__USE_SVID]: Likewise.
44348         * posix/unistd.h [__USE_BSD]: Likewise.
44349         [__USE_SVID]: Likewise.
44350         * pwd/pwd.h [__USE_SVID]: Likewise.
44351         * resolv/netdb.h [__USE_BSD]: Likewise.
44352         * setjmp/setjmp.h [__USE_BSD]: Likewise.
44353         * signal/signal.h [__USE_BSD]: Likewise.
44354         [__USE_SVID]: Likewise.
44355         * socket/sys/socket.h [__USE_BSD]: Likewise.
44356         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44357         * stdlib/stdlib.h [__USE_BSD]: Likewise.
44358         [__USE_SVID]: Likewise.
44359         * string/bits/string2.h [__USE_BSD]: Likewise.
44360         [__USE_SVID]: Likewise.
44361         * string/bits/string3.h [__USE_BSD]: Likewise.
44362         * string/endian.h [__USE_BSD]: Likewise.
44363         * string/string.h [__USE_SVID]: Likewise.
44364         [__USE_BSD]: Likewise.
44365         * string/strings.h [__USE_BSD]: Likewise.
44366         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44367         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44368         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44369         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44370         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44371         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44372         Likewise.
44373         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44374         Likewise.
44375         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44376         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44377         Likewise.
44378         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44379         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44380         Likewise.
44381         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44382         Likewise.
44383         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44384         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44385         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44386         Likewise.
44387         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44388         Likewise.
44389         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44390         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44391         * termios/termios.h [__USE_BSD]: Likewise.
44392         * time/sys/time.h [__USE_BSD]: Likewise.
44393         * time/time.h [__USE_BSD]: Likewise.
44394         [__USE_SVID]: Likewise.
44396         * Makefile (subdir_targets): Remove subdir_lint.out.
44398         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44399         (do-tst-printf): Likewise.
44400         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44401         $(objpfx)tst-printf.out.
44403         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44405         * Makerules (check-abi-%): Change target to
44406         $(objpfx)check-abi-%.out.
44407         (check-abi target): Update dependencies.
44408         (check-abi-pattern variable): Redirect output of diff to $@.
44409         (check-abi variable): Likewise.
44410         * elf/Makefile (check-abi): Update dependencies.
44412         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44413         unused.
44414         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44415         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44416         subnormal range.
44417         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44418         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44419         value has largest subnormal exponent.
44420         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44421         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44422         * sysdeps/aarch64/soft-fp/sfp-machine.h
44423         (_FP_TININESS_AFTER_ROUNDING): New macro.
44424         * sysdeps/alpha/soft-fp/sfp-machine.h
44425         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44426         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44427         Likewise.
44428         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44429         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44430         * sysdeps/mips/soft-fp/sfp-machine.h
44431         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44432         * sysdeps/powerpc/soft-fp/sfp-machine.h
44433         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44434         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44435         Likewise.
44436         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44437         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44438         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44439         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44440         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44441         Likewise.
44443 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44445         [BZ #16545]
44446         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44447         model 1.
44449 2014-02-12  Richard Henderson  <rth@redhat.com>
44451         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44452         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44453         * sysdeps/unix/sysv/linux/alpha: Move directory from
44454         ports/sysdeps/unix/sysv/linux/alpha.
44455         * README: Update listing for alpha-*-linux-gnu.
44457 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44459         * include/features.h: Update comment documenting feature test
44460         macros.
44461         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44462         _DEFAULT_SOURCE.
44463         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44464         (_SVID_SOURCE): Likewise.
44465         (_DEFAULT_SOURCE): Update description of default features.
44466         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44467         with _GNU_SOURCE.
44468         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44469         (S_ISVTX): Likewise.
44470         * manual/math.texi (Mathematical Constants): Likewise.
44471         * manual/signal.texi (Interrupted Primitives): Likewise.
44472         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44473         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44474         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44475         Don't refer to _SVID_SOURCE in warning text.
44477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44479         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44480         already defined.
44481         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44482         * sysdeps/mips/dl-lookup.c: Remove.
44483         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44485 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44487         [BZ #16447]
44488         * math/auto-libm-test-in: Add testcase for expl.
44489         * math/auto-libm-test-out: Regenerate.
44490         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44491         calculation of unsafe.
44492         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44494 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44496         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44497         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44498         ports/sysdeps/unix/sysv/linux/aarch64.
44499         * README: Update listing for aarch64*-*-linux-gnu.
44501 2014-02-11  Will Newton  <will.newton@linaro.org>
44503         * manual/probes.texi (Mathematical Function Probes): Use
44504         "triggered" instead of "hit".
44506         * manual/probes.texi (Internal Probes): Add documentation
44507         of setjmp, longjmp and longjmp_target probes.
44509         * include/stap-probe.h: Add comment about probe argument
44510         format.
44512         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44513         definition.  (tr_where, tr_freehook, tr_mallochook,
44514         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44516 2014-02-11  David S. Miller  <davem@davemloft.net>
44518         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44519         processing int_tests.
44521 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44523         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44524         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44525         * sysdeps/unix/sysv/linux/mips: Move directory from
44526         ports/sysdeps/unix/sysv/linux/mips.
44527         * README: Update listing for mips-*-linux-gnu and
44528         mips64-*-linux-gnu.
44530 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44532         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44533         * sysdeps/unix/sysv/linux/m68k: Move directory from
44534         ports/sysdeps/unix/sysv/linux/m68k.
44535         * README: Update listing for m68k-*-linux-gnu.
44537 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44539         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44540         * sysdeps/unix/sysv/linux/generic: Move directory from
44541         ports/sysdeps/unix/sysv/linux/generic.
44542         * sysdeps/unix/sysv/linux/tile: Move directory from
44543         ports/sysdeps/unix/sysv/linux/tile.
44544         * README: Update listing for tile*-*-linux-gnu.
44546 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44548         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44549         __builtin_expect.
44550         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44551         * catgets/open_catalog.c (__open_catalog): Likewise.
44552         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44553         * debug/confstr_chk.c: Likewise.
44554         * debug/fread_chk.c (__fread_chk): Likewise.
44555         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44556         * debug/getgroups_chk.c: Likewise.
44557         * debug/mbsnrtowcs_chk.c: Likewise.
44558         * debug/mbsrtowcs_chk.c: Likewise.
44559         * debug/mbstowcs_chk.c: Likewise.
44560         * debug/memcpy_chk.c: Likewise.
44561         * debug/memmove_chk.c: Likewise.
44562         * debug/mempcpy_chk.c: Likewise.
44563         * debug/memset_chk.c: Likewise.
44564         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44565         * debug/strcat_chk.c (__strcat_chk): Likewise.
44566         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44567         * debug/strncat_chk.c (__strncat_chk): Likewise.
44568         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44569         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44570         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44571         * debug/wcpncpy_chk.c: Likewise.
44572         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44573         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44574         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44575         * debug/wcsncpy_chk.c: Likewise.
44576         * debug/wcsnrtombs_chk.c: Likewise.
44577         * debug/wcsrtombs_chk.c: Likewise.
44578         * debug/wcstombs_chk.c: Likewise.
44579         * debug/wmemcpy_chk.c: Likewise.
44580         * debug/wmemmove_chk.c: Likewise.
44581         * debug/wmempcpy_chk.c: Likewise.
44582         * debug/wmemset_chk.c: Likewise.
44583         * dirent/scandirat.c (SCANDIRAT): Likewise.
44584         * dlfcn/dladdr1.c (dladdr1): Likewise.
44585         * dlfcn/dladdr.c (dladdr): Likewise.
44586         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44587         * dlfcn/dlerror.c (__dlerror): Likewise.
44588         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44589         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44590         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44591         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44592         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44593         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44594         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44595         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44596         Likewise.
44597         * elf/dl-conflict.c: Likewise.
44598         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44599         * elf/dl-dst.h: Likewise.
44600         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44601         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44602         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44603         * elf/dl-init.c (call_init, _dl_init): Likewise.
44604         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44605         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44606         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44607         Likewise.
44608         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44609         Likewise.
44610         * elf/dl-minimal.c (__libc_memalign): Likewise.
44611         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44612         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44613         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44614         * elf/dl-sym.c (do_sym): Likewise.
44615         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44616         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44617         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44618         * elf/dl-writev.h (_dl_writev): Likewise.
44619         * elf/ldconfig.c (search_dir): Likewise.
44620         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44621         (dl_main): Likewise.
44622         * elf/setup-vdso.h (setup_vdso): Likewise.
44623         * grp/compat-initgroups.c (compat_call): Likewise.
44624         * grp/fgetgrent.c (fgetgrent): Likewise.
44625         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44626         * grp/putgrent.c (putgrent): Likewise.
44627         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44628         Likewise.
44629         * hurd/hurdinit.c: Likewise.
44630         * iconvdata/8bit-gap.c (struct): Likewise.
44631         * iconvdata/ansi_x3.110.c : Likewise.
44632         * iconvdata/big5.c : Likewise.
44633         * iconvdata/big5hkscs.c : Likewise.
44634         * iconvdata/cp1255.c: Likewise.
44635         * iconvdata/cp1258.c : Likewise.
44636         * iconvdata/cp932.c : Likewise.
44637         * iconvdata/euc-cn.c: Likewise.
44638         * iconvdata/euc-jisx0213.c : Likewise.
44639         * iconvdata/euc-jp.c: Likewise.
44640         * iconvdata/euc-jp-ms.c : Likewise.
44641         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44642         * iconvdata/gb18030.c : Likewise.
44643         * iconvdata/gbbig5.c (const): Likewise.
44644         * iconvdata/gbgbk.c: Likewise.
44645         * iconvdata/gbk.c : Likewise.
44646         * iconvdata/ibm1364.c : Likewise.
44647         * iconvdata/ibm930.c : Likewise.
44648         * iconvdata/ibm932.c: Likewise.
44649         * iconvdata/ibm933.c : Likewise.
44650         * iconvdata/ibm935.c : Likewise.
44651         * iconvdata/ibm937.c : Likewise.
44652         * iconvdata/ibm939.c : Likewise.
44653         * iconvdata/ibm943.c: Likewise.
44654         * iconvdata/iso_11548-1.c: Likewise.
44655         * iconvdata/iso-2022-cn.c : Likewise.
44656         * iconvdata/iso-2022-cn-ext.c : Likewise.
44657         * iconvdata/iso-2022-jp-3.c: Likewise.
44658         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44659         * iconvdata/iso-2022-kr.c : Likewise.
44660         * iconvdata/iso646.c (gconv_end): Likewise.
44661         * iconvdata/iso_6937-2.c : Likewise.
44662         * iconvdata/iso_6937.c : Likewise.
44663         * iconvdata/iso8859-1.c: Likewise.
44664         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44665         * iconvdata/shift_jisx0213.c : Likewise.
44666         * iconvdata/sjis.c : Likewise.
44667         * iconvdata/t.61.c : Likewise.
44668         * iconvdata/tcvn5712-1.c : Likewise.
44669         * iconvdata/tscii.c: Likewise.
44670         * iconvdata/uhc.c : Likewise.
44671         * iconvdata/unicode.c (gconv_end): Likewise.
44672         * iconvdata/utf-16.c (gconv_end): Likewise.
44673         * iconvdata/utf-32.c (gconv_end): Likewise.
44674         * iconvdata/utf-7.c (base64): Likewise.
44675         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44676         * iconv/gconv_close.c (__gconv_close): Likewise.
44677         * iconv/gconv_open.c (__gconv_open): Likewise.
44678         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44679         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44680         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44681         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44682         (ucs4le_internal_loop_single): Likewise.
44683         * iconv/iconv.c (iconv): Likewise.
44684         * iconv/iconv_close.c: Likewise.
44685         * iconv/loop.c (SINGLE): Likewise.
44686         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44687         * include/atomic.h: Likewise.
44688         * inet/inet6_option.c (option_alloc): Likewise.
44689         * intl/bindtextdom.c (set_binding_values): Likewise.
44690         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44691         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44692         * intl/localealias.c (read_alias_file): Likewise.
44693         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44694         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44695         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44696         * libio/fmemopen.c (fmemopen): Likewise.
44697         * libio/iofgets.c (_IO_fgets): Likewise.
44698         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44699         * libio/iofgetws.c (fgetws): Likewise.
44700         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44701         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44702         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44703         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44704         * locale/findlocale.c (_nl_find_locale): Likewise.
44705         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44706         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44707         Likewise.
44708         * locale/setlocale.c (setlocale): Likewise.
44709         * login/programs/pt_chown.c (main): Likewise.
44710         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44711         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44712         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44713         (mmap, mmap64, mremap, munmap): Likewise.
44714         * math/e_exp2l.c: Likewise.
44715         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44716         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44717         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44718         * math/s_catan.c (__catan): Likewise.
44719         * math/s_catanf.c (__catanf): Likewise.
44720         * math/s_catanh.c (__catanh): Likewise.
44721         * math/s_catanhf.c (__catanhf): Likewise.
44722         * math/s_catanhl.c (__catanhl): Likewise.
44723         * math/s_catanl.c (__catanl): Likewise.
44724         * math/s_ccosh.c (__ccosh): Likewise.
44725         * math/s_ccoshf.c (__ccoshf): Likewise.
44726         * math/s_ccoshl.c (__ccoshl): Likewise.
44727         * math/s_cexp.c (__cexp): Likewise.
44728         * math/s_cexpf.c (__cexpf): Likewise.
44729         * math/s_cexpl.c (__cexpl): Likewise.
44730         * math/s_clog10.c (__clog10): Likewise.
44731         * math/s_clog10f.c (__clog10f): Likewise.
44732         * math/s_clog10l.c (__clog10l): Likewise.
44733         * math/s_clog.c (__clog): Likewise.
44734         * math/s_clogf.c (__clogf): Likewise.
44735         * math/s_clogl.c (__clogl): Likewise.
44736         * math/s_csin.c (__csin): Likewise.
44737         * math/s_csinf.c (__csinf): Likewise.
44738         * math/s_csinh.c (__csinh): Likewise.
44739         * math/s_csinhf.c (__csinhf): Likewise.
44740         * math/s_csinhl.c (__csinhl): Likewise.
44741         * math/s_csinl.c (__csinl): Likewise.
44742         * math/s_csqrt.c (__csqrt): Likewise.
44743         * math/s_csqrtf.c (__csqrtf): Likewise.
44744         * math/s_csqrtl.c (__csqrtl): Likewise.
44745         * math/s_ctan.c (__ctan): Likewise.
44746         * math/s_ctanf.c (__ctanf): Likewise.
44747         * math/s_ctanh.c (__ctanh): Likewise.
44748         * math/s_ctanhf.c (__ctanhf): Likewise.
44749         * math/s_ctanhl.c (__ctanhl): Likewise.
44750         * math/s_ctanl.c (__ctanl): Likewise.
44751         * math/w_pow.c: Likewise.
44752         * math/w_powf.c: Likewise.
44753         * math/w_powl.c: Likewise.
44754         * math/w_scalb.c (sysv_scalb): Likewise.
44755         * math/w_scalbf.c (sysv_scalbf): Likewise.
44756         * math/w_scalbl.c (sysv_scalbl): Likewise.
44757         * misc/error.c (error_tail): Likewise.
44758         * misc/pselect.c (__pselect): Likewise.
44759         * nis/nis_callback.c (__nis_create_callback): Likewise.
44760         * nis/nis_call.c (__nisfind_server): Likewise.
44761         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44762         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44763         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44764         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44765         * nis/nis_lookup.c (nis_lookup): Likewise.
44766         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44767         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44768         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44769         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44770         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44771         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44772         * nis/nss_compat/compat-initgroups.c (add_group)
44773         (internal_getgrent_r): Likewise.
44774         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44775         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44776         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44777         (internal_getspnam_r): Likewise.
44778         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44779         (_nss_nis_getaliasbyname_r): Likewise.
44780         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44781         (_nss_nis_getntohost_r): Likewise.
44782         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44783         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44784         (_nss_nis_getgrgid_r): Likewise.
44785         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44786         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44787         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44788         (_nss_nis_gethostbyname4_r): Likewise.
44789         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44790         (initgroups_netid): Likewise.
44791         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44792         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44793         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44794         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44795         (_nss_nis_getprotobynumber_r): Likewise.
44796         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44797         (_nss_nis_getsecretkey): Likewise.
44798         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44799         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44800         (_nss_nis_getpwuid_r): Likewise.
44801         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44802         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44803         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44804         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44805         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44806         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44807         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44808         Likewise.
44809         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44810         (_nss_nisplus_getntohost_r): Likewise.
44811         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44812         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44813         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44814         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44815         Likewise.
44816         * nis/nss_nisplus/nisplus-initgroups.c
44817         (_nss_nisplus_initgroups_dyn): Likewise.
44818         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44819         (_nss_nisplus_getnetbyaddr_r): Likewise.
44820         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44821         (_nss_nisplus_getprotobynumber_r): Likewise.
44822         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44823         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44824         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44825         Likewise.
44826         * nis/nss_nisplus/nisplus-service.c
44827         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44828         (_nss_nisplus_getservbyport_r): Likewise.
44829         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44830         (_nss_nisplus_getspnam_r): Likewise.
44831         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44832         Likewise.
44833         * nscd/aicache.c (addhstaiX): Likewise.
44834         * nscd/cache.c (cache_search, prune_cache): Likewise.
44835         * nscd/connections.c (register_traced_file, send_ro_fd)
44836         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44837         (main_loop_epoll): Likewise.
44838         * nscd/grpcache.c (addgrbyX): Likewise.
44839         * nscd/hstcache.c (addhstbyX): Likewise.
44840         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44841         * nscd/mem.c (gc, mempool_alloc): Likewise.
44842         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44843         (addinnetgrX): Likewise.
44844         * nscd/nscd-client.h (__nscd_acquire_maplock)
44845         (__nscd_drop_map_ref): Likewise.
44846         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44847         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44848         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44849         Likewise.
44850         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44851         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44852         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44853         (__nscd_get_map_ref): Likewise.
44854         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44855         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44856         Likewise.
44857         * nscd/pwdcache.c (addpwbyX): Likewise.
44858         * nscd/selinux.c (preserve_capabilities): Likewise.
44859         * nscd/servicescache.c (addservbyX): Likewise.
44860         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44861         * posix/fnmatch.c (fnmatch): Likewise.
44862         * posix/getopt.c (_getopt_internal_r): Likewise.
44863         * posix/glob.c (glob, glob_in_dir): Likewise.
44864         * posix/wordexp.c (exec_comm_child): Likewise.
44865         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44866         (getanswer_r, gaih_getanswer_slice): Likewise.
44867         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44868         * resolv/res_init.c: Likewise.
44869         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44870         * resolv/res_query.c (__libc_res_nquery): Likewise.
44871         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44872         Likewise.
44873         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44874         * stdio-common/perror.c (perror): Likewise.
44875         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44876         * stdio-common/tmpnam.c (tmpnam): Likewise.
44877         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44878         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44879         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44880         Likewise.
44881         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44882         * stdlib/putenv.c (putenv): Likewise.
44883         * stdlib/setenv.c (__add_to_environ): Likewise.
44884         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44885         * stdlib/strtol_l.c (INTERNAL): Likewise.
44886         * string/memmem.c (memmem): Likewise.
44887         * string/strerror.c (strerror): Likewise.
44888         * string/strnlen.c (__strnlen): Likewise.
44889         * string/test-memmem.c (simple_memmem): Likewise.
44890         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44891         * sunrpc/pm_getport.c (__get_socket): Likewise.
44892         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44893         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44894         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44895         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44896         Likewise.
44897         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44898         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44899         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44900         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44901         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44902         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44903         Likewise.
44904         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44905         Likewise.
44906         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44907         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44908         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44909         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44910         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44912         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44913         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44914         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44915         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44916         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44917         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44918         Likewise.
44919         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44920         Likewise.
44921         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44922         Likewise.
44923         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44924         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44925         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44926         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44927         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44928         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44929         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44930         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44932         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44933         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44934         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44935         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44936         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44938         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44939         Likewise.
44940         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44941         Likewise.
44942         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44943         Likewise.
44944         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44945         Likewise.
44946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44948         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44949         Likewise.
44950         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44951         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44952         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44953         * sysdeps/posix/sleep.c: Likewise.
44954         * sysdeps/posix/tempname.c: Likewise.
44955         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44956         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44957         Likewise.
44958         * sysdeps/powerpc/powerpc32/dl-machine.h
44959         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44960         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44961         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44962         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44963         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44964         Likewise.
44965         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44966         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44967         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44968         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44969         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44970         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44971         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44972         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44973         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44974         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44975         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44976         (elf_machine_lazy_rel): Likewise.
44977         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44978         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44979         (elf_machine_lazy_rel): Likewise.
44980         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44981         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44982         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44983         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44984         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44985         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44986         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44987         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44988         Likewise.
44989         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44990         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44991         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44992         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44993         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44994         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44995         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44996         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44997         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44998         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44999         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45000         Likewise.
45001         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
45002         (__posix_fallocate64_l64): Likewise.
45003         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
45004         (posix_fallocate): Likewise.
45005         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
45006         Likewise.
45007         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45008         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
45009         (getifaddrs_internal): Likewise.
45010         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
45011         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
45012         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
45013         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
45014         * sysdeps/unix/sysv/linux/posix_fallocate64.c
45015         (__posix_fallocate64_l64): Likewise.
45016         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
45017         Likewise.
45018         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
45019         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
45020         (__get_clockfreq): Likewise.
45021         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
45022         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
45023         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
45024         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45025         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45026         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
45027         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
45028         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
45029         Likewise.
45030         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
45031         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
45032         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
45033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
45034         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45035         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
45036         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
45037         Likewise.
45038         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45039         (posix_fallocate): Likewise.
45040         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45041         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
45042         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
45043         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
45044         (elf_machine_rela, elf_machine_rela_relative)
45045         (elf_machine_lazy_rel): Likewise.
45046         * time/asctime.c (asctime_internal): Likewise.
45047         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
45048         * time/tzset.c (__tzset_parse_tz): Likewise.
45049         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45050         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45051         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
45052         * wcsmbs/wcsmbsload.h: Likewise.
45054         [BZ #15894]
45055         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
45057         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
45058         (arena_get2): Remove THREAD_STATS conditionals.
45059         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
45060         (__malloc_stats, int): Likewise.
45062 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
45064         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
45065         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
45067         * manual/setjmp.texi: Fix typos/grammar errors.
45069         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
45070         Only return early when n is <= 0.  Delete unused return statement.
45072         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
45073         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
45074         * debug/tst-longjmp_chk3.c: New file.
45076         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
45077         (test_main): Replace code with set_fortify_handler call.
45078         * debug/test-strcpy_chk.c: Likewise.
45079         * debug/tst-chk1.c: Likewise.
45080         * debug/tst-longjmp_chk.c: Likewise.
45081         * test-skeleton.c: Include fcntl.h & paths.h
45082         (set_fortify_handler): Define.
45084         * debug/tst-longjmp_chk.c: Add header comment and include
45085         ../test-skeleton.c.
45086         (do_test): Mark static.
45087         (TEST_FUNCTION): Define.
45089         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
45090         (IP_PMTUDISC_INTERFACE): Likewise.
45091         (IP_MULTICAST_IF): Likewise.
45092         (IP_MULTICAST_TTL): Likewise.
45093         (IP_MULTICAST_LOOP): Likewise.
45094         (IP_ADD_MEMBERSHIP): Likewise.
45095         (IP_DROP_MEMBERSHIP): Likewise.
45096         (IP_UNBLOCK_SOURCE): Likewise.
45097         (IP_BLOCK_SOURCE): Likewise.
45098         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
45099         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
45100         (IP_MSFILTER): Likewise.
45101         (MCAST_JOIN_GROUP): Likewise.
45102         (MCAST_BLOCK_SOURCE): Likewise.
45103         (MCAST_UNBLOCK_SOURCE): Likewise.
45104         (MCAST_LEAVE_GROUP): Likewise.
45105         (MCAST_JOIN_SOURCE_GROUP): Likewise.
45106         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
45107         (MCAST_MSFILTER): Likewise.
45108         (IP_MULTICAST_ALL): Likewise.
45109         (IP_UNICAST_IF): Likewise.
45111         * timezone/Makefile: Delete $(have-ksh) check.
45112         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
45113         * timezone/tzselect.ksh: Add +x mode bits.
45115         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
45116         (ANON_INODE_FS_MAGIC): Likewise.
45117         (BDEVFS_MAGIC): Likewise.
45118         (BINFMTFS_MAGIC): Likewise.
45119         (BTRFS_TEST_MAGIC): Likewise.
45120         (CRAMFS_MAGIC_WEND): Likewise.
45121         (DEBUGFS_MAGIC): Likewise.
45122         (ECRYPTFS_SUPER_MAGIC): Likewise.
45123         (EXT3_SUPER_MAGIC): Likewise.
45124         (EXT4_SUPER_MAGIC): Likewise.
45125         (FUTEXFS_SUPER_MAGIC): Likewise.
45126         (HOSTFS_SUPER_MAGIC): Likewise.
45127         (HUGETLBFS_MAGIC): Likewise.
45128         (MINIX3_SUPER_MAGIC): Likewise.
45129         (MTD_INODE_FS_MAGIC): Likewise.
45130         (NILFS_SUPER_MAGIC): Likewise.
45131         (OPENPROM_SUPER_MAGIC): Likewise.
45132         (PIPEFS_MAGIC): Likewise.
45133         (PSTOREFS_MAGIC): Likewise.
45134         (QNX6_SUPER_MAGIC): Likewise.
45135         (RAMFS_MAGIC): Likewise.
45136         (REISERFS_SUPER_MAGIC_STRING): Likewise.
45137         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
45138         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
45139         (SECURITYFS_MAGIC): Likewise.
45140         (SELINUX_MAGIC): Likewise.
45141         (SMACK_MAGIC): Likewise.
45142         (SOCKFS_MAGIC): Likewise.
45143         (SQUASHFS_MAGIC): Likewise.
45144         (STACK_END_MAGIC): Likewise.
45145         (TMPFS_MAGIC): Likewise.
45146         (USBDEVICE_SUPER_MAGIC): Likewise.
45147         (V9FS_MAGIC): Likewise.
45148         (XENFS_SUPER_MAGIC): Likewise.
45149         (CRAMFS_MAGIC): Fix typo in comment.
45150         (EXT2_SUPER_MAGIC): Update comment.
45151         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
45153 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
45155         * sysdeps/arm: Move directory from ports/sysdeps/arm.
45156         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
45157         * sysdeps/unix/sysv/linux/arm: Move directory from
45158         ports/sysdeps/unix/sysv/linux/arm.
45159         * README: Update listing for arm-*-linux-gnueabi.
45161         * README: Remove mention of am33.
45163 2014-02-07  Roland McGrath  <roland@hack.frob.com>
45165         * bits/sigset.h (__sigemptyset): Use a statement expression rather
45166         than the comma operator, to avoid "rhs of comma has no effect"
45167         compiler warnings.
45168         (__sigfillset, __sigandset, __sigorset): Likewise.
45169         * include/signal.h (__sigemptyset): Likewise.
45170         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
45172 2014-02-07  Allan McRae  <allan@archlinux.org>
45174         * version.h (RELEASE): Set to "development".
45175         (VERSION): Set to "2.19.90"
45176         * NEWS: Add 2.20 section.
45178 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
45180         [BZ #16529]
45181         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
45183 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45185         * manual/contrib.texi: Update entry for Carlos O'Donell,
45186         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
45188 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
45190         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
45192         * sysdeps/unix/sysv/linux/kernel-features.h
45193         [__LINUX_KERNEL_VERSION >= 0x020621]
45194         (__ASSUME_PROC_PID_TASK_COMM): Define.
45196 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45198         [BZ #16398]
45199         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
45200         conversion when destination buffer does not have enough space.
45201         * libio/tst-ftell-partial-wide.c: New test case.
45202         * libio/Makefile (tests): Add tst-ftell-partial-wide.
45204         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
45205         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
45206         Leonard and Allan McRae.
45208 2014-02-04  David S. Miller  <davem@davemloft.net>
45210         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
45211         32-bit.
45213 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45216         New file
45217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45218         New file
45219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45220         New file.
45221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45222         New file.
45223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45224         New file.
45225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45226         New file.
45227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45228         New file.
45229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45230         New file.
45231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45232         New file.
45233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45234         New file.
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45236         New file.
45237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45238         New file.
45239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45240         New file.
45242 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45244         * nptl/shlib-versions: Change powerpc*le start to 2.17.
45245         * shlib-versions: Likewise.
45247 2014-02-04  Roland McGrath  <roland@hack.frob.com>
45248             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45250         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
45251         (abilist-pattern): New variable, set to %-le.abilist.
45253         * Makerules (abilist-pattern): New variable.
45254         (vpath): Use $(abilist-pattern) in place of %.abilist.
45255         (check-abi-% pattern rule): Likewise.
45256         (check-abi, update-abi): Likewise.
45258 2014-02-04  Eric Wong  <normalperson@yhbt.net>
45260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45262 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
45264         * manual/startup.texi: Add next, previous, and top entries for
45265         the `Program Arguments' and `Environment Variables' nodes.
45267 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
45269         * manual/macros.texi: Add comments before MTASC-safety macros.
45271         * manual/users.texi: Document MTASC-safety properties.
45273         * manual/threads.texi (pthread_key_create, pthread_key_delete)
45274         (pthread_getspecific, pthread_setspecific): Format with
45275         @deftypefun, and add @safety note.
45276         * manual/signal.texi: Move comments that analyze the above
45277         functions to their home place.
45279 2014-02-03  Allan McRae  <allan@archlinux.org>
45281         * po/sl.po: Update Slovenian translation from translation project.
45283 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
45285         * manual/time.texi (timegm): Add missing blank after @c.
45286         Reported by Joseph Myers <joseph@codesourcery.com>.
45288 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
45290         * manual/check-safety.sh: New.
45291         * manual/Makefile ($(objpfx)stamp-summary): Run it.
45293         * manual/terminal.texi: Document MTASC-safety properties.
45295         * manual/filesys.texi: Document MTASC-safety properties.
45297         * manual/errno.texi: Document MTASC-safety properties.
45299         * manual/intro.texi: Document safety identifiers and
45300         conditionals.
45302         * manual/string.texi (wcstok): Fix prototype.
45303         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45305         * manual/time.texi: Document MTASC-safety properties.
45307         * manual/string.texi: Document MTASC-safety properties.
45309         * manual/threads.texi: Document MTASC-safety properties.
45311         * manual/stdio.texi: Document MTASC-safety properties.
45313         * manual/syslog.texi: Document MTASC-safety properties.
45315         * manual/sysinfo.texi: Document MTASC-safety properties.
45317         * manual/startup.texi: Document MTASC-safety properties.
45319         * manual/socket.texi: Document MTASC-safety properties.
45321         * manual/signal.texi: Document MTASC-safety properties.
45323 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45325         * manual/setjmp.texi: Document MTASC-safety properties.
45327         * manual/search.texi: Document MTASC-safety properties.
45329         * manual/resource.texi: Document MTASC-safety properties.
45331         * manual/process.texi: Document MTASC-safety properties.
45333         * manual/platform.texi: Document MTASC-safety properties.
45335         * manual/pipe.texi: Document MTASC-safety properties.
45337         * manual/pattern.texi: Document MTASC-safety properties.
45339         * manual/message.texi: Document MTASC-safety properties.
45341         [BZ #12751]
45342         * manual/memory.texi: Document MTASC-safety properties.
45344         * manual/math.texi: Document MTASC-safety properties.
45346         * manual/locale.texi: Document MTASC-safety properties.
45348         * manual/llio.texi: Document MTASC-safety properties.
45350         * manual/libdl.texi: New.
45352         * manual/lang.texi: Document MTASC-safety properties.
45354         * manual/job.texi: Document MTASC-safety properties.
45356         * manual/getopt.texi: Document MTASC-safety properties.
45358         * manual/ctype.texi: Document MTASC-safety properties.
45360 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
45362         [BZ #16046]
45363         * csu/libc-tls.c (static_map): Remove variable.
45364         (__libc_setup_tls): Use main executable's link map for TLS data.
45365         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45366         casing for LM_ID_BASE and GL(dl_nns).
45367         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45368         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45369         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45370         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45371         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45372         member.
45373         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45374         l_phnum members.
45376 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45378         * manual/debug.texi: Document MTASC-safety properties.
45380 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45382         [BZ #16510]
45383         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45384         of __x86_64__ when disabling x87 inline functions.
45386 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45388         * manual/charset.texi: Document MTASC-safety properties.
45390         * manual/crypt.texi: Document MTASC-safety properties.
45392         * manual/conf.texi: Document MTASC-safety properties.
45394         * manual/arith.texi: Document MTASC-safety properties.
45396         * manual/argp.texi: Document MTASC-safety properties.
45398         * manual/macros.texi: Introduce macros to document multi
45399         thread, asynchronous signal and asynchronous cancellation
45400         safety properties.
45401         * manual/intro.texi: Introduce the properties themselves.
45403 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45405         * sysdeps/sh/sh4/Makefile: New file.
45407 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45409         * math/gen-libm-test.pl ($srcdir): New variable.
45410         ($auto_input): Use it.
45412 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45414         [BZ #16506]
45415         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45416         access beyond array bounds when parsing netgroups file.
45418         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45419         the old buffer before realloc.
45421 2014-01-27  Allan McRae  <allan@archlinux.org>
45423         * po/fr.po: Update French translation from translation project.
45425 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45427         * sysdeps/sh/libm-test-ulps: Regenerate.
45429 2014-01-24  David S. Miller  <davem@davemloft.net>
45431         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45433 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45435         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45436         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45438 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45440         [BZ #16474]
45441         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45442         string pointers after reallocation.
45444 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45446         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45447         __SH4A__ instead of __SH_FPU_ANY__.
45449 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45451         * sysdeps/sh/fpu_control.h: New file.
45452         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45453         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45454         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45455         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45456         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45457         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45458         * sysdeps/sh/sys/ucontext.h: Remove.
45459         * sysdeps/sh/sys: Remove directory.
45461 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45463         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45464         s390/sys/ucontext.h.
45465         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45466         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45468 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45470         [BZ #15605]
45471         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45473 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45475         [BZ#16431]
45476         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45477         Adjust the vDSO correctly for internal calls.
45478         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45480 2014-01-20  Allan McRae  <allan@archlinux.org>
45482         * po/ca.po: Update Catalan translation from translation project.
45484 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45486         * sysdeps/s390/sotruss-lib.c: New file.
45488 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45490         [BZ#16430]
45491         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45492         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45493         local calls issues by not having a PLT stub required for IFUNC calls.
45494         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45496 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45498         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45499         * math/test-fpucw-static.c: Likewise.
45501 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45503         [BZ #16453]
45504         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45506 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45508         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45509         implementation for powerpc.
45511 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45513         [BZ #14782]
45514         * sysdeps/posix/system.c (__libc_system): Do not enable
45515         asynchronous cancellation.
45517 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45519         [BZ #16427]
45520         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45521         handling only for numbers special also in the IEEE case.
45523 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45525         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45527 2014-01-11  Allan McRae  <allan@archlinux.org>
45529         * po/bg.po: Update Bulgarian translation from translation project.
45531         * po/de.po: Update German translation from translation project.
45533 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45535         * sysdeps/generic/gcc-compat.h: New file.
45537 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45539         * benchtests/asin-inputs: Correct slow inputs.
45540         * benchtests/acos-inputs: Likewise.
45542 2014-01-10  Allan McRae  <allan@archlinux.org>
45544         * po:sv.po: Update Swedish translation from translation project.
45546         * po/vi.po: Update Vietnamese translation from translation project.
45548         * po/eo.po: Update Esperanto translation from translation project.
45550         * po/cs.po: Update Czech translation from translation project.
45552         * po/nl.po: Update Dutch translation from translation project.
45554         * po/pl.po: Update Polish translation from translation project.
45556         * po/ru.po: Update Russian translation from translation project.
45558         * po/uk.po: Update Ukrainian translation from translation project.
45560 2014-01-08  Brooks Moses  <bmoses@google.com>
45562         * elf/dl-load.c: Fix comment typo.
45564 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45566         * po/header.pot: Rename to...
45567         * po/pot.header: ... this.
45568         * po/Makefile: Use pot.header.
45570 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45571             Maxim Kuvyrkov  <maxim@kugelworks.com>
45573         [BZ #16394]
45574         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45575         SRC and DEST against LEN.
45577 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45579         [BZ #16414]
45580         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45581         implementation.
45582         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45584 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45588 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45590         [BZ #16408]
45591         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45592         for large positive arguments.
45594 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45596         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45598         * math/auto-libm-test-in: Mark various tests with
45599         xfail-rounding:ldbl-128ibm.
45600         * math/auto-libm-test-out: Regenerated.
45602         [BZ #16407]
45603         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45604         Increase overflow threshold.
45606 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45608         [BZ #14286]
45609         * stdio-common/vfprintf.c: Check for integer overflow.
45611 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45613         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45614         the first argument and return value of __tls_get_addr_internal.
45616 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45618         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45619         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45621 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45623         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45624         * sysdeps/s390/rtld-global-offsets.sym: New file.
45625         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45626         GLIBC_2.19 symbol.
45627         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45628         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45629         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45630         ... this.
45631         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45632         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45633         ... this.
45634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45635         Regenerate.
45636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45637         Regenerate.
45638         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45639         halfs of GPRs for high_gprs contexts.
45640         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45641         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45642         field.
45643         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45644         uc_flags field.
45645         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45646         64 bit versions:
45647         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45648         for high GPRs (uc_high_gprs) and for future extensions
45649         (__reserved).
45650         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45651         for future extensions (__reserved).
45652         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45653         64 bit versions:
45654         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45655         SC_HIGHGPRS offset definition.
45656         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45657         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45659         * Versions.def: Add GLIBC_2.19 for libpthread.
45660         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45661         siglongjmp for libpthread with GLIBC_2.19 symver.
45662         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45663         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45664         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45665         * sysdeps/s390/__longjmp.c: New file.
45666         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45667         * sysdeps/s390/longjmp.c: New file.
45668         * sysdeps/s390/setjmp.S: New file.
45669         * sysdeps/s390/sigjmp.S: New file.
45670         * sysdeps/s390/v1-longjmp.c: New file.
45671         * sysdeps/s390/v1-setjmp.h: New file.
45672         * sysdeps/s390/v1-sigjmp.c: New file.
45673         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45674         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45675         GLIBC_2.19 version.
45676         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45677         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45678         versioned symbols for ____longjmp_chk.
45679         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45680         Likewise.
45681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45682         Regenerate.
45683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45684         Regenerate.
45685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45686         Regenerate.
45687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45688         Regenerate.
45689         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45690         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45691         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45692         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45693         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45694         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45695         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45696         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45697         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45698         * sysdeps/s390/rtld-__longjmp.c: New file.
45699         * sysdeps/s390/rtld-setjmp.S: New file.
45701 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45703         [BZ #16400]
45704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45705         Return -__logl (x) for small positive arguments without evaluating
45706         a polynomial.
45708 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45710         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45711         Rename to ...
45712         (__ptrace_peeksiginfo_args): ... this.
45713         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45714         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45715         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45717 2014-01-06  Allan McRae  <allan@archlinux.org>
45719         * inet/netinet/in.h: Fix typo in comment.
45721 2014-01-05  Andreas Jaeger  <aj@suse.de>
45723         * sysdeps/i386/fpu/libm-test-ulps: Update.
45725 2014-01-05  Allan McRae  <allan@archlinux.org>
45727         * po/libc.pot: Regenerated.
45729         * malloc/memusagestat.c: Fix gettext call formatting.
45731 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45733         * nscd/nscd.c: Improve usage() output.
45735 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45737         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45738         * sysdeps/unix/sysv/linux/configure: Regenerated.
45739         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45740         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45742 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45744         [BZ #16390]
45745         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45746         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45748 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45751         extra tokens at end of #undef directive.
45752         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45753         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45754         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45756 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45758         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45760         * math/auto-libm-test-in: Mark various tests with
45761         xfail-rounding:ldbl-128ibm.
45762         * math/auto-libm-test-out: Regenerated.
45764 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45766         [BZ #16386]
45767         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45768         numbers with subnormal high part when calculating exponent.
45770         [BZ #16385]
45771         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45772         fabs.
45774         [BZ #16384]
45775         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45776         M_LN2l.
45777         (__ieee754_acoshl): Use __log1pl not __log1p.
45779 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45781         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45782         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45783         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45784         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45785         (reused_arena, arena_get2): Convert to GNU style.
45786         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45787         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45788         (memalign_check, __malloc_set_state): Likewise.
45789         * malloc/mallocbug.c (main): Likewise.
45790         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45791         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45792         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45793         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45794         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45795         (__posix_memalign, malloc_info): Likewise.
45796         * malloc/malloc.h: Likewise.
45797         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45798         (mallochook, memalignhook, reallochook, mabort): Likewise.
45799         * malloc/mcheck.h: Likewise.
45800         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45801         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45802         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45803         * malloc/morecore.c (__default_morecore): Likewise.
45804         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45805         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45806         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45807         (print_and_abort): Likewise.
45808         * malloc/obstack.h: Likewise.
45809         * malloc/set-freeres.c (__libc_freeres): Likewise.
45810         * malloc/tst-mallocstate.c (main): Likewise.
45811         * malloc/tst-mtrace.c (main): Likewise.
45812         * malloc/tst-realloc.c (do_test): Likewise.
45814 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45816         [BZ #16366]
45817         * nscd/netgroupcache.c (do_notfound): New function.
45818         (addgetnetgrentX): Use it.
45820         [BZ # 16365]
45821         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45822         NSS_STATUS_NOTFOUND.
45824 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45826         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45829 2014-01-01  Allan McRae  <allan@archlinux.org>
45831         * scripts/update-copyrights: Update configure input file suffix.
45833         * NEWS: Update copyright year.
45834         * catgets/gencat.c: Likewise.
45835         * csu/version.c: Likewise.
45836         * debug/catchsegv.sh: Likewise.
45837         * debug/pcprofiledump.c: Likewise.
45838         * debug/xtrace.sh: Likewise.
45839         * elf/ldconfig.c: Likewise.
45840         * elf/ldd.bash.in: Likewise.
45841         * elf/pldd.c: Likewise.
45842         * elf/sotruss.ksh: Likewise.
45843         * elf/sprof.c: Likewise.
45844         * iconv/iconv_prog.c: Likewise.
45845         * iconv/iconvconfig.c: Likewise.
45846         * locale/programs/locale.c: Likewise.
45847         * locale/programs/localedef.c: Likewise.
45848         * login/programs/pt_chown.c: Likewise.
45849         * malloc/memusage.sh: Likewise.
45850         * malloc/memusagestat.c: Likewise.
45851         * malloc/mtrace.pl: Likewise.
45852         * manual/libc.texinfo: Likewise.
45853         * nscd/nscd.c: Likewise.
45854         * nss/getent.c: Likewise.
45855         * nss/makedb.c: Likewise.
45856         * posix/getconf.c: Likewise.
45857         * scripts/test-installation.pl: Likewise.
45859         * All files with FSF copyright notices: Update copyright dates
45860         using scripts/update-copyrights.
45861         * intl/plural.c: Regenerated.
45862         * locale/programs/charmap-kw.h: Likewise.
45863         * locale/programs/locfile-kw.h: Likewise.
45865 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45867         * sysdeps/unix/sysv/linux/configure: Regenerated.
45868         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45869         the linux/fanotify.h header.
45870         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45871         HAVE_LINUX_FANOTIFY_H is defined.
45873 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45875         * benchtests/cos-inputs: New inputs.
45876         * benchtests/sin-inputs: Likewise.
45878         * benchtests/atan-inputs: New inputs. Fix name of multiple
45879         precision fallback inputs.
45881         * benchtests/atanh-inputs: New inputs.
45882         * benchtests/tanh-inputs: Likewise.
45884         * benchtests/acosh-inputs: New inputs.
45885         * benchtests/asinh-inputs: Likewise.
45887         * benchtests/cosh-inputs: New inputs.
45888         * benchtests/sinh-inputs: Likewise.
45890         * benchtests/acos-inputs: Add more inputs.
45891         * benchtests/asin-inputs: Likewise.
45893 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45895         [BZ #16375]
45896         * manual/arith.texi: Fix spelling.
45897         * manual/charset.texi: Likewise.
45898         * manual/errno.texi: Likewise.
45899         * manual/filesys.texi: Likewise.
45900         * manual/lang.texi: Likewise.
45901         * manual/llio.texi: Likewise.
45902         * manual/locale.texi: Likewise.
45903         * manual/message.texi: Likewise.
45904         * manual/resource.texi: Likewise.
45905         * manual/search.texi: Likewise.
45906         * manual/setjmp.texi: Likewise.
45907         * manual/stdio.texi: Likewise.
45908         * manual/string.texi: Likewise.
45909         * manual/sysinfo.texi: Likewise.
45910         * manual/time.texi: Likewise.
45912 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45914         * po/sl.po: New file.
45916 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45918         * .gitignore: Add core/.gdbinit/.gdb_history.
45920 2013-12-27  Allan McRae  <allan@archlinux.org>
45922         [BZ #16369]
45923         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45924         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45926 2013-12-24  Brooks Moses  <bmoses@google.com>
45928         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45929         all compilers that claim C++98 compliance, not just GCC.
45930         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45931         Likewise.
45933 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45935         * NEWS: Restore accidentally deleted bug-fix entries.
45937 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45938             Ondřej Bílka  <neleai@seznam.cz>
45940         [BZ #15073]
45941         * malloc/malloc.c (_int_free): Perform sanity check only if we
45942         have_lock.
45944 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45946         [BZ #12986]
45947         * manual/stdio.texi (String Input Conversions): Clarify that character
45948         classes are not supported.
45950 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45954 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45956         [BZ #16337]
45957         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45958         Calculate results for small negative arguments directly rather
45959         than using reflection formula with special underflow handling.
45961         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45962         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45963         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45964         (fchflags): Likewise.
45965         (revoke): Likewise.
45966         (setlogin): Likewise.
45967         (sigaltstack): Likewise.
45968         (wait4): Likewise.
45969         (sigblock): Remove.
45970         (sigsetmask): Likewise.
45971         (wait3): Likewise.
45972         (waitpid): Likewise.
45973         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45974         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45975         file.
45976         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45977         * sysdeps/unix/bsd/Makefile: ... here.
45978         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45979         * sysdeps/unix/bsd/Versions: ... here.
45980         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45981         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45982         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45983         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45984         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45985         * sysdeps/unix/bsd/sigblock.c: ... here.
45986         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45987         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45988         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45989         * sysdeps/unix/bsd/sigvec.c: ... here.
45990         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45991         * sysdeps/unix/bsd/tcdrain.c: ... here.
45992         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45993         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45994         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45995         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45996         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45997         * sysdeps/unix/bsd/wait.c: ... here.
45998         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45999         * sysdeps/unix/bsd/wait3.c: ... here.
46000         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
46001         * sysdeps/unix/bsd/waitpid.c: ... here.
46003 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
46005         [BZ #16356]
46006         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
46007         round-to-nearest for [!USE_AS_EXPM1L].
46008         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
46009         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
46010         more tests of exp and exp10.  Expect some exp10 tests to miss
46011         exceptions or fail in directed rounding modes.
46012         * math/auto-libm-test-out: Regenerated.
46013         * math/libm-test.inc (exp10_tonearest_test_data): New array.
46014         (exp10_test_tonearest): New function.
46015         (exp10_towardzero_test_data): New array.
46016         (exp10_test_towardzero): New function.
46017         (exp10_downward_test_data): New array.
46018         (exp10_test_downward): New function.
46019         (exp10_upward_test_data): New array.
46020         (exp10_test_upward): New function.
46021         (main): Call the new functions.
46022         * sysdeps/i386/fpu/libm-test-ulps: Update.
46023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46025 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
46027         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
46028         asinh, atan, atan2, atanh, cbrt, cos and cosh.
46029         * math/auto-libm-test-out: Regenerated.
46030         * math/libm-test.inc (acosh_test_data): Add more tests.
46031         (atanh_test_data): Likewise.
46032         (ceil_test_data): Likewise.
46033         (copysign_test_data): Likewise.
46034         * sysdeps/i386/fpu/libm-test-ulps: Update.
46035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46037         * timezone/checktab.awk: Update from tzcode 2013i.
46038         * timezone/private.h: Likewise.
46039         * timezone/scheck.c: Likewise.
46040         * timezone/tzfile.h: Likewise.
46041         * timezone/tzselect.ksh: Likewise.
46042         * timezone/zdump.c: Likewise.
46043         * timezone/zic.c: Likewise.
46045         * math/auto-libm-test-in: Add tests of cpow.
46046         * math/auto-libm-test-out: Regenerated.
46047         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
46048         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46049         mpc_cc_c.
46050         (func_calc_desc): Add mpc_cc_c union field.
46051         (test_functions): Add cpow.
46052         (special_fill_2pi): New function.
46053         (special_real_inputs): Add 2pi.
46054         (calc_generic_results): Handle mpc_cc_c.
46055         * sysdeps/i386/fpu/libm-test-ulps: Update.
46056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46058         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
46059         csqrt, ctan and ctanh.
46060         * math/auto-libm-test-out: Regenerated.
46061         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46062         (TEST_COND_x86): Likewise.
46063         (ccos_test_data): Use AUTO_TESTS_c_c.
46064         (ccosh_test_data): Likewise.
46065         (cexp_test_data): Likewise.
46066         (clog_test_data): Likewise.
46067         (csqrt_test_data): Likewise.
46068         (ctan_test_data): Likewise.
46069         (ctan_tonearest_test_data): Likewise.
46070         (ctan_towardzero_test_data): Likewise.
46071         (ctan_downward_test_data): Likewise.
46072         (ctan_upward_test_data): Likewise.
46073         (ctanh_test_data): Likewise.
46074         (ctanh_tonearest_test_data): Likewise.
46075         (ctanh_towardzero_test_data): Likewise.
46076         (ctanh_downward_test_data): Likewise.
46077         (ctanh_upward_test_data): Likewise.
46078         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46079         mpc_c_c.
46080         (func_calc_desc): Add mpc_c_c union field.
46081         (FUNC_mpc_c_c): New macro.
46082         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
46083         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
46084         ctanh.
46085         (special_fill_min_subnorm_p120): New function.
46086         (special_real_inputs): Add min_subnorm_p120.
46087         (calc_generic_results): Handle mpc_c_c.
46088         * sysdeps/i386/fpu/libm-test-ulps: Update.
46089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46091 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46093         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
46094         (do_sin_slow): New functions.
46095         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
46096         (cslow2, csloww1, csloww2): Use the new functions.
46098         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
46099         Use M to change sign of result instead of X.  Assume X is
46100         positive.
46101         (csloww1): Likewise.
46102         (__sin): Adjust.
46103         (__cos): Adjust.
46105         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
46106         arguments A and DA.
46107         (__sin): Adjust.
46108         (__cos): Likewise.
46110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
46111         (__cos): Likewise.
46112         (sloww1): Don't adjust sign of DX.
46113         (csloww1): Likewise.
46114         (sloww2): Use X directly and don't adjust sign of DX.
46115         (csloww2): Likewise.
46117 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46119         * math/auto-libm-test-in: Add tests of cabs and carg.
46120         * math/auto-libm-test-out: Regenerated.
46121         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
46122         (carg_test_data): Likewise.
46123         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46124         mpc_c_f.
46125         (func_calc_desc): Add mpc_c_f union field.
46126         (test_functions): Add cabs and carg.
46127         (calc_generic_results): Handle mpc_c_f.
46129         * sysdeps/powerpc/powerpc32/libgcc-compat.S
46130         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
46131         as a macro and a compat symbol.
46132         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
46133         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
46134         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
46135         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
46136         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
46137         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
46138         not use .hidden.
46139         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
46140         Likewise.
46141         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
46142         Likewise.
46143         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
46144         Likewise.
46145         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
46146         Likewise.
46147         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
46148         Likewise.
46149         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
46150         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
46151         from GLIBC_2.3.2.
46153 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46157 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46159         * manual/texinfo.tex: Update to version 2013-11-26.10 with
46160         trailing whitespace removed.
46161         * scripts/config.guess: Update to version 2013-11-29.
46162         * scripts/config.sub: Update to version 2013-10-01.
46164         * math/auto-libm-test-in: Add tests of sincos.
46165         * math/auto-libm-test-out: Regenerated.
46166         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
46167         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46168         mpfr_f_11.
46169         (func_calc_desc): Add mpfr_f_11 union field.
46170         (test_functions): Add sincos.
46171         (calc_generic_results): Handle mpfr_f_11.
46172         * sysdeps/i386/fpu/libm-test-ulps: Update.
46173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46175 2013-12-19  Andreas Schwab  <schwab@suse.de>
46177         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
46178         CALL_MCOUNT.
46179         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46180         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
46181         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
46183 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46185         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
46186         * sysdeps/i386/fpu/libm-test-ulps: Update.
46187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46189         [BZ #16293]
46190         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
46191         round-to-nearest mode when using frndint.
46192         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
46193         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46194         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46195         Likewise.
46196         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
46197         sinh test to fail.
46198         * math/auto-libm-test-out: Regenerated.
46199         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
46200         (TEST_COND_x86): Likewise.
46201         (expm1_tonearest_test_data): New array.
46202         (expm1_test_tonearest): New function.
46203         (expm1_towardzero_test_data): New array.
46204         (expm1_test_towardzero): New function.
46205         (expm1_downward_test_data): New array.
46206         (expm1_test_downward): New function.
46207         (expm1_upward_test_data): New array.
46208         (expm1_test_upward): New function.
46209         (main): Run the new test functions.
46210         * sysdeps/i386/fpu/libm-test-ulps: Update.
46211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46213         * include/features.h: Update comment documenting feature test
46214         macros.  Mention _DEFAULT_SOURCE in comment.
46215         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
46216         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
46217         _BSD_SOURCE and _SVID_SOURCE.
46218         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
46219         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
46220         !_SVID_SOURCE]: Likewise.
46221         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46222         (__USE_POSIX_IMPLICITLY): Define.
46223         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46224         (_POSIX_SOURCE): Undefine and redefine.
46225         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46226         (_POSIX_C_SOURCE): Likewise.
46227         * manual/creature.texi (_DEFAULT_SOURCE): Document.
46228         (Feature Test Macros): Update documentation of default features.
46230 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46232         * benchtests/Makefile: Add bench-strtok.
46233         * benchtests/bench-strtok.c: New file: strtok benchtest.
46235 2013-12-19  Allan McRae  <allan@archlinux.org>
46237         * manual/install.texi: Suppress menu for plain text output.
46238         * INSTALL: Regenerated.
46240 2013-12-18  Brooks Moses  <bmoses@google.com>
46242         [BZ #15846]
46243         * misc/getauxval.c: Include errno.h.
46244         (__getauxval): Set errno to ENOENT if the requested type is not
46245         found.
46246         * misc/sys/auxv.h (getauxval): Document that it may set errno;
46247         don't declare with __attribute_const__.
46248         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
46249         * manual/startup.texi: Document that getauxval sets errno.
46251 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46253         * math/auto-libm-test-in: Add tests of jn and yn.
46254         * math/auto-libm-test-out: Regenerated.
46255         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
46256         (yn_test_data): Likewise.
46257         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46258         mpfr_if_f.
46259         (func_calc_desc): Add mpfr_if_f union field.
46260         (FUNC_mpfr_if_f): New macro.
46261         (test_functions): Add jn and yn.
46262         (calc_generic_results): Assert type of second input for
46263         mpfr_ff_f.  Handle mpfr_if_f.
46264         (output_for_one_input_case): Disable all checking for arguments
46265         fitting floating-point types in case of an integer argument.
46266         * sysdeps/i386/fpu/libm-test-ulps: Update.
46267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46270         Don't expect fegetround reference in libm.so.
46272 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46274         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
46275         $(config-cflags-nofma).
46277 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46279         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
46280         * math/auto-libm-test-out: Regenerated.
46282         [BZ #16338]
46283         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
46284         to determine exponent and adjust argument to have exponent of -1.
46285         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
46286         log2.
46287         * math/auto-libm-test-out: Regenerated.
46288         * sysdeps/i386/fpu/libm-test-ulps: Update.
46289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46291 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
46293         * manual/probes.texi: Remove cases when per-thread arenas are
46294         disabled.
46296 2013-12-18  Andreas Schwab  <schwab@suse.de>
46298         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46299         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46300         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46301         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46302         * sysdeps/i386/i686/multiarch/Makefile: Update.
46303         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46305 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46307         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46308         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46310 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46312         [BZ #15968]
46313         Support TZ transition times < 00:00:00.
46314         This is needed for version-3 tz-format files; it supports time
46315         stamps past 2037 for America/Godthab (the only entry in the tz
46316         database for which this change is relevant).
46317         * manual/time.texi (TZ Variable): Document transition times
46318         from -167:59:59 through -00:00:01.
46319         * time/tzset.c (tz_rule): Time of day is now signed.
46320         (__tzset_parse_tz): Parse negative time of day.
46322         Document TZ transition times >= 25:00:00.
46323         * manual/time.texi (TZ Variable): Document transition times from
46324         25:00:00 through 167:59:59.  These are already supported, and this
46325         support will help with version-3 tz-format files.
46327         * manual/time.texi (TZ Variable): Modernize North America example
46328         to reflect current (i.e., 2007-and-later) daylight saving rules.
46330         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46332 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46334         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46335         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46337         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46338         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46339         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46340         * sysdeps/unix/bsd/clock.c: Likewise.
46341         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46342         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46343         * sysdeps/unix/bsd/init-posix.c: Likewise.
46344         * sysdeps/unix/bsd/poll.c: Likewise.
46345         * sysdeps/unix/bsd/ptsname.c: Likewise.
46346         * sysdeps/unix/bsd/seekdir.c: Likewise.
46347         * sysdeps/unix/bsd/setegid.c: Likewise.
46348         * sysdeps/unix/bsd/seteuid.c: Likewise.
46349         * sysdeps/unix/bsd/setgid.c: Likewise.
46350         * sysdeps/unix/bsd/setrgid.c: Likewise.
46351         * sysdeps/unix/bsd/setruid.c: Likewise.
46352         * sysdeps/unix/bsd/setsid.c: Likewise.
46353         * sysdeps/unix/bsd/setuid.c: Likewise.
46354         * sysdeps/unix/bsd/sigaction.c: Likewise.
46355         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46356         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46357         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46358         * sysdeps/unix/bsd/telldir.c: Likewise.
46359         * sysdeps/unix/bsd/times.c: Likewise.
46360         * sysdeps/unix/bsd/usleep.c: Likewise.
46362         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46363         ($(objpfx)libbsd-compat.a): Remove rule.
46365         * include/features.h (__FAVOR_BSD): Do not define.
46366         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46367         features conflicting with POSIX.
46368         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46369         (_BSD_SOURCE): Remove description of not being a subset of other
46370         feature test macros.
46371         * manual/job.texi (getpgrp): Do not document BSD version.
46372         (getpgid): Do not document by reference to BSD getpgrp.
46373         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46374         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46375         * signal/signal.h [__FAVOR_BSD]: Likewise.
46376         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46377         instead of making contents conditional on [__FAVOR_BSD].
46378         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46380 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46384 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46386         [BZ #16314]
46387         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46388         values below 2**-450, not 2**-500.
46389         * math/auto-libm-test-in: Don't allow spurious underflow from
46390         hypot.
46391         * math/auto-libm-test-out: Regenerated.
46393         [BZ #16316]
46394         [BZ #16330]
46395         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46396         values of ha and hb and sort them after adjusting subnormal
46397         arguments.
46398         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46399         Likewise.
46400         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46401         values of ea and eb and sort them after adjusting subnormal
46402         arguments.
46403         * math/auto-libm-test-in: Do not expect some hypot tests of
46404         subnormals to fail.  Add more hypot tests.
46405         * math/auto-libm-test-out: Regenerated.
46407 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46409         [BZ #13304]
46410         * sysdeps/sh/s_fma.c: New file.
46411         * sysdeps/sh/s_fmaf.c: New file.
46412         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46413         version.
46414         * sysdeps/sh/Implies: Add sh/soft-fp.
46416 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46418         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46419         level of indirection to members `objname', `errstring', `malloced'.
46420         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46421         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46422         it as the __longjmp argument (just pass 1 instead).
46423         (_dl_catch_error): Initialize C with argument pointers and address of
46424         volatile local ERRCODE rather than copying values out of C at return.
46426 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46428         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46429         * math/auto-libm-test-out: Regenerated.
46430         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46431         (hypot_test_data): Likewise.
46432         (pow_test_data): Likewise.
46433         (pow_tonearest_test_data): Likewise.
46434         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46435         mpfr_ff_f.
46436         (func_calc_desc): Add mpfr_ff_f union field.
46437         (FUNC_mpfr_ff_f): New macro.
46438         (test_functions): Add atan2, hypot and pow.
46439         (special_fill_min): New function.
46440         (special_fill_minus_min): Likewise.
46441         (special_fill_min_subnorm): Likewise.
46442         (special_fill_minus_min_subnorm): Likewise.
46443         (special_real_inputs): Add min, -min, min_subnorm and
46444         -min_subnorm.
46445         (calc_generic_results): Handle mpfr_ff_f.
46446         * sysdeps/i386/fpu/libm-test-ulps: Update.
46447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46449 2013-12-16  Will Newton  <will.newton@linaro.org>
46451         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46452         (Aligned Memory Blocks): Add documentation for aligned_alloc
46453         and suggest it as an alternative to posix_memalign.
46454         (Hooks for Malloc): Document __memalign_hook is also called
46455         for aligned_alloc.  (Summary of Malloc): Add summary for
46456         aligned alloc.  Document __memalign_hook is also called
46457         for aligned_alloc.
46459 2013-12-16  Will Newton  <will.newton@linaro.org>
46461         * manual/memory.texi (Malloc Examples): Clarify default
46462         alignment documentation.  Suggest posix_memalign rather
46463         than memalign or valloc.
46464         (Aligned Memory Blocks): Remove suggestion to use memalign
46465         or valloc.  Remove obsolete comment about BSD.
46466         Document memalign errno values and mark the function obsolete.
46467         Document posix_memalign returned error codes.  Mark valloc
46468         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46469         called for posix_memalign and valloc.
46470         (Summary of Malloc): Add posix_memalign to function summary.
46471         __memalign_hook is also called for posix_memalign and valloc.
46473 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46475         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46476         TAYLOR_SIN.
46477         (__sin): Adjust.
46478         (__cos): Likewise.
46479         (sloww): Use mynumber union.  Expand ternary operator into
46480         if-else statements.
46481         (cslow): use mynumber union.
46483 2013-12-16  Allan McRae  <allan@archlinux.org>
46485         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46486         * configure: Regenerated.
46488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46490         [BZ #14120]
46491         * configure.ac: Added --enable-maintainer-mode. Check for
46492         autoconf when enabled.
46493         * configure: Regenerated.
46495         * nscd/nscd.service: New file.
46496         * nscd/nscd.tmpfiles: New file.
46498 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46500         [BZ #12100]
46501         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46502         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46503         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46504         (strstr): Add __strstr_sse2_unaligned ifunc.
46505         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46506         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46507         (strcasestr): Remove __strcasestr_sse42 ifunc.
46508         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46509         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46512 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46514         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46515         * sysdeps/sh/bits/fenv.h: ... here.
46516         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46518 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46520         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46523         hypotf multiarch implementations.
46524         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46525         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46526         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46527         multiarch hypot for PPC64.
46528         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46530         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46531         multiarch hypotf for PPC64.
46533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46534         modff multiarch implementations.
46535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46538         multiarch modf for PPC64.
46539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46542         multiarch modff for PPC64.
46544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46545         and logl multiarch implementations.
46546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46549         multiarch logb for PPC64.
46550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46553         multiarch logb for PPC64.
46554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46557         multiarch logb for PPC64.
46559         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46560         isinff multiarch implementation.
46561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46562         file.
46563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46565         multiarch isinf for PPC64.
46566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46567         file.
46568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46569         multiarch isinff for PPC64.
46571         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46572         finitef multiarch implementation.
46573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46574         file.
46575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46577         multiarch finite for PPC64.
46578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46579         file.
46580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46581         multiarch finitef for PPC64.
46583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46584         lrint multiarch implementation.
46585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46586         file.
46587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46589         multiarch llrint for PPC64.
46590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46591         multiarch lrint for PPC64.
46593         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46594         copysignf multiarch implementation.
46595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46596         file.
46597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46598         file.
46599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46600         multiarch copysign for PPC64.
46601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46602         multiarch copysignf for PPC64.
46604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46605         multiarch implementation.
46606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46607         file.
46608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46609         file.
46610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46611         file.
46612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46613         file.
46614         multiarch llround for PPC64.
46615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46616         multiarch trunc for PPC64.
46617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46618         multiarch truncf for PPC64.
46620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46621         multiarch implementation.
46622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46623         file.
46624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46625         file.
46626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46627         file.
46628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46629         file.
46630         multiarch llround for PPC64.
46631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46632         multiarch round for PPC64.
46633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46634         multiarch roundf for PPC64.
46636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46637         multiarch implementation.
46638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46639         file.
46640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46641         file.
46642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46643         file.
46644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46645         file.
46646         multiarch llround for PPC64.
46647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46648         multiarch floor for PPC64.
46649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46650         multiarch floorf for PPC64.
46652         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46653         multiarch implementation.
46654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46655         file.
46656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46657         file.
46658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46659         file.
46660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46661         file.
46662         multiarch llround for PPC64.
46663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46664         multiarch ceil for PPC64.
46665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46666         multiarch ceilf for PPC64.
46668         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46669         multiarch implementation.
46670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46671         file.
46672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46673         file.
46674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46675         file.
46676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46677         multiarch llround for PPC64.
46678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46679         multiarch lround for PPC64.
46681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46682         multiarch implementation.
46683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46686         file.
46687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46690         multiarch isnan for PPC64.
46691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46692         multiarch isnanf for PPC64.
46694         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46695         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46696         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46697         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46698         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46701         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46702         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46703         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46704         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46707         multiarch implementations.
46708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46709         (__libc_ifunc_impl_list): Likewise.
46710         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46711         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46712         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46713         multiarch stpcpy for PPC64.
46715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46716         multiarch implementations.
46717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46718         (__libc_ifunc_impl_list): Likewise.
46719         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46720         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46721         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46722         multiarch strcpy for PPC64.
46724         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46725         redefine function name.
46726         (_wordcopy_fwd_dest_aligned): Likewise.
46727         (_wordcopy_bwd_aligned): Likewise.
46728         (_wordcopy_bwd_dest_aligned): Likewise.
46729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46730         multiarch implementations.
46731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46732         (__libc_ifunc_impl_list): Likewise.
46733         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46735         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46736         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46737         multiarch wcscpy for PPC64.
46739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46740         multiarch implementations.
46741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46742         (__libc_ifunc_impl_list): Likewise.
46743         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46744         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46745         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46746         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46747         multiarch wcscpy for PPC64.
46749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46750         multiarch implementations.
46751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46752         (__libc_ifunc_impl_list): Likewise.
46753         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46754         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46755         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46756         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46757         multiarch wcsrchr for PPC64.
46759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46760         multiarch implementations.
46761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46762         (__libc_ifunc_impl_list): Likewise.
46763         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46764         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46765         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46766         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46767         multiarch wcschr for PPC64.
46769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46770         multiarch implementations.
46771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46772         (__libc_ifunc_impl_list): Likewise.
46773         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46774         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46775         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46776         multiarch strchrnul for PPC64.
46778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46779         implementations.
46780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46781         (__libc_ifunc_impl_list): Likewise.
46782         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46783         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46784         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46785         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46786         strchr for PPC64.
46788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46789         implementations.
46790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46791         (__libc_ifunc_impl_list): Likewise.
46792         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46793         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46794         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46795         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46796         strncmp for PPC64.
46798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46799         multiarch implementations.
46800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46801         (__libc_ifunc_impl_list): Likewise.
46802         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46803         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46804         strncasecmp for PPC64.
46805         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46806         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46807         multiarch strncasecmp_l for PPC64.
46809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46810         multiarch implementations.
46811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46812         (__libc_ifunc_impl_list): Likewise.
46813         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46814         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46815         multiarch strcasecmp for PPC64.
46816         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46817         file.
46818         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46819         multiarch strcasecmp_l for PPC64.
46821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46822         implementations.
46823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46824         (__libc_ifunc_impl_list): Likewise.
46825         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46826         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46827         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46828         strnlen for PPC64.
46830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46831         implementations.
46832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46833         (__libc_ifunc_impl_list): Likewise.
46834         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46835         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46836         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46837         strlen for PPC64.
46839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46840         implementations.
46841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46842         (__libc_ifunc_impl_list): Likewise.
46843         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46844         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46845         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46846         rawmemrchr for PPC64.
46848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46849         implementation.
46850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46851         (__libc_ifunc_impl_list): Likewise.
46852         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46853         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46854         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46855         memrchr for PPC64.
46857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46858         implementation.
46859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46860         (__libc_ifunc_impl_list): Likewise.
46861         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46862         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46863         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46864         memchr for PPC64.
46866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46867         implementation.
46868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46869         (__libc_ifunc_impl_list): Likewise.
46870         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46871         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46872         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46873         mempcpy for PPC64.
46875         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46876         avoid cretion of __bzero symbol.
46877         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46878         Likewise.
46879         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46880         Likewise.
46881         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46882         Likewise.
46883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46884         multiarch implementations.
46885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46886         (__libc_ifunc_impl_list): Likewise.
46887         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46888         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46889         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46890         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46891         bzero for PPC32.
46892         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46893         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46894         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46895         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46896         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46897         memset for PPC64.
46898         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46900         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46902         implementations.
46903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46904         (__libc_ifunc_impl_list): Likewise.
46905         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46906         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46907         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46908         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46909         memcmp for PPC64.
46911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46912         multiarch for POWER/PPC64.
46913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46914         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46915         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46916         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46917         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46918         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46919         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46920         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46921         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46922         memcpy for PPC64.
46924         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46925         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46926         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46927         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46928         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46929         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46930         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46931         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46932         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46933         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46934         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46935         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46936         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46937         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46938         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46947 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46949         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46951 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46953         * benchtests/Makefile (bench): Add exp2 and log2.
46954         (LDLIBS-bench-exp2): Add -lm.
46955         (LDLIBS-bench-log2): Likewise.
46956         * benchtests/exp2-inputs: New inputs file.
46957         * benchtests/log2-inputs: New inputs file.
46958         * benchtests/log-inputs: Add new inputs.
46959         * benchtests/tan-inputs: Likewise.
46961 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46963         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46964         definition...
46965         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46966         (csloww2): ... from here.
46968         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46969         instead of structures.
46970         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46971         (POLYNOMIAL): Likewise.
46972         (TAYLOR_SLOW): Likewise.
46973         (__sin): Likewise.
46974         (__cos): Likewise.
46975         (slow1): Likewise.
46976         (slow2): Likewise.
46977         (sloww): Likewise.
46978         (sloww1); Likewise.
46979         (sloww2): Likewise.
46980         (bsloww1): Likewise.
46981         (bsloww2): Likewise.
46982         (cslow2): Likewise.
46983         (csloww): Likewise.
46984         (csloww1): Likewise.
46985         (csloww2): Likewise.
46987 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46989         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46990         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46991         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46992         * malloc/hooks.c (realloc_check): Likewise.
46994         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46995         * malloc/arena.c: Remove PER_THREAD conditional.
46996         [!PER_THREAD]: Remove code.
46997         (ptmalloc_unlock_all2): Likewise.
46998         (ptmalloc_init): Likewise.
46999         (_int_new_arena): Likewise.
47000         (arena_get2): Likewise.
47001         * malloc/hooks.c (__malloc_get_state): Likewise.
47002         (__malloc_set_state): Likewise.
47003         * malloc/malloc.c: Likewise.
47004         (struct malloc_state): Likewise.
47005         (struct malloc_par): Likewise.
47006         (__libc_realloc): Likewise.
47007         (__libc_mallopt): Likewise.
47009 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47011         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
47013 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
47015         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
47016         macro to a function.  Check for zero perturb_byte.
47017         (_int_malloc, _int_free): Remove zero perturb_byte checks.
47019         * malloc/malloc.c: (force_reg): Remove.
47020         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
47021         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
47022         force_reg by atomic_forced_read.
47023         * malloc/arena.c (ptmalloc_init): Likewise.
47024         * malloc/hooks.c (top_check): Likewise.
47026 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47030 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
47032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47034 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
47036         * math/auto-libm-test-in: Add tests of lgamma.
47037         * math/auto-libm-test-out: Regenerated.
47038         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
47039         (M_LOG_2_SQRT_PIl): Likewise.
47040         (lgamma_test_data): Use AUTO_TESTS_f_f1.
47041         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47042         mpfr_f_f1.
47043         (func_calc_desc): Add mpfr_f_f1 union field.
47044         (ARGS1): New macro.
47045         (ARGS2): Likewise.
47046         (ARGS3): Likewise.
47047         (ARGS4): Likewise.
47048         (RET1): Likewise.
47049         (RET2): Likewise.
47050         (CALC): Likewise.
47051         (FUNC): Likewise.
47052         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
47053         (test_functions): Add lgamma.
47054         (calc_generic_results): Handle mpfr_f_f1.
47055         * sysdeps/i386/fpu/libm-test-ulps: Update.
47056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47058 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47060         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
47061         __mpn_add_n for PowerPC64/POWER7.
47062         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
47063         __mpn_sub_n for PowerPC64/POWER7.
47065         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
47066         __mpn_addmul_1 for PowerPC64.
47067         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
47068         __mpn_submul_1 for PowerPC64.
47069         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
47070         for PowerPC64.
47071         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
47072         for PowerPC64.
47074 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
47076         [BZ #15089]
47077         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
47079 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47081         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
47083         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
47084         add multiarch folders.
47085         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
47086         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
47087         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
47088         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
47089         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
47090         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
47091         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
47092         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
47093         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
47094         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
47095         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
47096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
47097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
47098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
47099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
47100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
47101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
47103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47104         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
47105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
47106         New file.
47107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
47108         New file.
47109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
47110         multiarch __ieee754_hypot for PowerPC32.
47111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
47112         New file.
47113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
47114         New file.
47115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
47116         multiarch __ieee754_hypotf for PowerPC32.
47118         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
47119         long_double_symbol only if __logbl is defined.
47120         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
47121         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
47122         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
47123         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
47124         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
47125         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
47126         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
47127         path for implementation.
47128         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
47129         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
47130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
47131         logb, and logbl multiarch implementations for PowerPC32.
47132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
47133         file.
47134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
47135         file.
47136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
47137         multiarch logb for PowerPC32.
47138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
47139         file.
47140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
47141         file.
47142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
47143         multiarch logbf for PowerPC32.
47144         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
47145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
47146         file.
47147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
47148         multiarch logbl implementation for PowerPC32.
47150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
47151         and modff multiarch implementations.
47152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
47153         New file.
47154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
47155         New file.
47156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
47157         multiarch modf for PowerPC32.
47158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
47159         New file.
47160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
47161         New file.
47162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
47163         multiarch modff for PowerPC32.
47165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
47166         and lrintf multiarch implementations.
47167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
47168         New file.
47169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
47170         New file.
47171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
47172         multiarch lrint for PowerPC32.
47173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
47174         file: multiarch lrintf for PowerPC32.
47176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
47177         and lroundf multiarch implementations.
47178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
47179         New file.
47180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
47181         New file.
47182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
47183         New file.
47184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
47185         multiarch lround for PowerPC32.
47186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
47187         file: multiarch lroundf for PowerPC32.
47189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47190         copysign and copysignf multiarch implementations.
47191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
47192         New file.
47193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
47194         New file.
47195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
47196         file: multiarch copysign for PowerPC32.
47197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
47198         file: multiarch copysignf for PowerPC32.
47200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
47201         and truncf multiarch implementations.
47202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
47203         New file.
47204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
47205         file.
47206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
47207         multiarch trunc for PowerPC32.
47208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
47209         New file.
47210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
47211         New file.
47212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
47213         multiarch truncf for PowerPC32.
47215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
47216         and roundf multiarch implementations.
47217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
47218         New file.
47219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
47220         file.
47221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
47222         multiarch round for PowerPC32.
47223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
47224         New file.
47225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
47226         New file.
47227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
47228         multiarch roundf for PowerPC32.
47230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
47231         and floorf multiarch implementations.
47232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
47233         New file.
47234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
47235         file.
47236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
47237         multiarch floor for PowerPC32.
47238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
47239         New file.
47240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
47241         New file.
47242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
47243         multiarch floorf for PowerPC32.
47245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
47246         and ceilf multiarch implementations.
47247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
47248         New file.
47249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
47250         file.
47251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
47252         multiarch ceil for PowerPC32.
47253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
47254         New file.
47255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
47256         file.
47257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
47258         multiarch ceilf for PowerPC32.
47260         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
47261         is defined.
47262         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
47263         FINITEF is defined.
47264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
47265         and finitef multiarch implementations.
47266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
47267         New file.
47268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
47269         file.
47270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
47271         multiarch finite for PowerPC32.
47272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
47273         New file.
47274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
47275         file: multiarch finitef for PowerPC32.
47277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
47278         and isinff multiarch implementations.
47279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
47280         file.
47281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
47282         file.
47283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
47284         multiarch isinf for PowerPC32.
47285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
47286         New file.
47287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
47288         multiarch isinff for PowerPC32.
47290         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47291         alias when __isnan is defined.
47292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47293         and isnanf multiarch implementations.
47294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47295         file.
47296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47297         file.
47298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47299         file.
47300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47301         file.
47302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47303         multiarch isnan for PowerPC32.
47304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47305         New file.
47306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47307         New file.
47308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47309         multiarch isnanf for PowerPC32.
47311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47312         and sqrtf multiarch implementations.
47313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47314         file.
47315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47316         file.
47317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47318         multiarch sqrt for PowerPC32.
47319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47320         file.
47321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47322         file.
47323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47324         multiarch sqrtf for PowerPC32.
47326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47327         and llroundf multiarch implementations.
47328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47329         New file.
47330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47331         New file.
47332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47333         New file.
47334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47335         file: multiarch llround for PowerPC32.
47336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47337         file: multiarch llroundf for PowerPC32.
47339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47340         multiarch PowerPC32 fpu implementations.
47341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47342         New file.
47343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47344         New file.
47345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47346         multiarch llrint for PowerPC32.
47347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47348         New file.
47349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47350         New file.
47351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47352         file.
47354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47356         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47357         file.
47358         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47359         file.
47360         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47361         file.
47362         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47363         multiarch wordcopy for PPC32.
47364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47365         wordcopy objects.
47366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47367         (__libc_ifunc_impl_list): Likewise.
47368         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47369         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47370         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47371         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47372         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47373         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47375         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47377         file.
47378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47379         file.
47380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47381         file.
47382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47383         multiarch wcscpy for PPC32.
47384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47385         multiarch objects.
47386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47387         (__libc_ifunc_impl_list): Likewise.
47388         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47389         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47390         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47391         sysdeps/powerpc/power6/wcscpy.c.
47393         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47394         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47395         file.
47396         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47397         file.
47398         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47399         file.
47400         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47401         multiarch wcsrchr for PPC32.
47402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47403         multiarch objects.
47404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47405         (__libc_ifunc_impl_list): Likewise.
47406         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47407         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47408         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47409         sysdeps/powerpc/power6/wcsrchr.c.
47411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47412         file.
47413         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47414         file.
47415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47417         multiarch wcschr for PPc32.
47418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47419         multiarch objects.
47420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47421         (__libc_ifunc_impl_list): Likewise.
47422         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47423         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47424         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47425         sysdeps/powerpc/power6/wcschr.c.
47427         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47428         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47429         file.
47430         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47431         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47432         file: multiarch strchr for PPC32.
47433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47434         multiarch objects.
47435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47436         (__libc_ifunc_impl_list): Likewise.
47438         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47439         name.
47440         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47441         file.
47442         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47443         file.
47444         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47445         multiarch strchrnul for PPC32.
47446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47447         multiarch objects.
47448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47449         (__libc_ifunc_impl_list): Likewise.
47451         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47452         file.
47453         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47454         multiarch strncasecmp for PPC32.
47455         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47456         file.
47457         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47458         multiarch strncasecmp_l for PPC32.
47459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47460         strncasecmp multiarch objects.
47461         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47462         (__libc_ifunc_impl_list): Likewise.
47464         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47465         file.
47466         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47467         multiarch strncasecmp for PPC32.
47468         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47469         New file.
47470         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47471         multiarch strcasecmp_l for PPC32.
47472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47473         multiarch objects.
47474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47475         (__libc_ifunc_impl_list): Likewise.
47477         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47478         file.
47479         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47480         file.
47481         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47482         multiarch strncmp for PPC32.
47483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47484         multiarch objects.
47485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47486         (__libc_ifunc_impl_list): Likewise.
47488         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47489         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47490         file.
47491         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47492         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47494         multiarch objects.
47495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47496         (__libc_ifunc_impl_list): Likewise.
47498         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47499         file.
47500         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47501         file.
47502         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47504         multiarch objects.
47505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47506         (__libc_ifunc_impl_list): Likewise.
47508         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47509         file.
47510         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47511         file.
47512         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47513         multiarch rawmemchr for PPC32.
47514         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47515         multiarch objects.
47516         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47517         (__libc_ifunc_impl_list): Likewise.
47519         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47520         file.
47521         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47522         file.
47523         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47524         file: memrchr multiarch for PPC32.
47525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47526         multiarch objects.
47527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47528         (__libc_ifunc_impl_list): Likewise.
47530         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47531         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47532         file.
47533         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47534         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47535         multiarch memchr for PPC32.
47536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47537         multiarch objects.
47538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47539         (__libc_ifunc_impl_list): Likewise.
47541         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47542         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47543         file.
47544         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47545         file.
47546         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47547         file: multiarch mempcpy for PPC32.
47548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47549         multiarch objects.
47550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47551         (__libc_ifunc_impl_list): Likewise.
47553         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47554         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47555         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47556         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47557         multiarch bzero for PPC32.
47558         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47559         file.
47560         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47561         file.
47562         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47563         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47564         file: multiarch memset for PPC32.
47565         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47567         memset multiarch objects.
47568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47569         (__libc_ifunc_impl_list): Likewise.
47571         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47572         file.
47573         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47575         memcmp for PPC32.
47576         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47578         multiarch objects.
47579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47580         (__libc_ifunc_impl_list): Likewise.
47582         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47583         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47584         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47585         file.
47586         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47587         file.
47588         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47589         file.
47590         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47591         multiarch memcpy for PPC32.
47592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47593         multiarch objects.
47594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47595         (__libc_ifunc_impl_list): Likewise.
47597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47598         support multiarch for POWER/PPC32.
47599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47600         Likewise.
47601         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47603         Implies file to make multiarch folder appers before the fpu and
47604         default folder for power4 configuration.
47606 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47608         * scripts/bench.pl: Append volatile keyword to type.
47610 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47612         * sysdeps/sh/sotruss-lib.c: New file.
47613         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47615 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47619 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47621         [BZ #6810]
47622         * math/w_tgamma.c: Include <errno.h>.
47623         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47624         * math/w_tgammaf.c: Include <errno.h>.
47625         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47626         * math/w_tgammal.c: Include <errno.h>.
47627         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47628         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47629         underflow.  Add more tgamma tests.
47630         * math/auto-libm-test-out: Regenerated.
47631         * sysdeps/i386/fpu/libm-test-ulps: Update.
47632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47634         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47635         sin, sinh, tan, tanh, tgamma, y0 and y1.
47636         * math/auto-libm-test-out: Regenerated.
47637         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47638         (TEST_COND_x86): Likewise.
47639         (M_E2l): Remove macro.
47640         (M_E3l): Likewise.
47641         (M_2_SQRT_PIl): Likewise.
47642         (M_SQRT_PIl): Likewise.
47643         (M_1_DIV_El): Likewise.
47644         (log_test_data): Use AUTO_TESTS_f_f.
47645         (log10_test_data): Likewise.
47646         (log1p_test_data): Likewise.
47647         (log2_test_data): Likewise.
47648         (sin_test_data): Likewise.
47649         (sin_tonearest_test_data): Likewise.
47650         (sin_towardzero_test_data): Likewise.
47651         (sin_downward_test_data): Likewise.
47652         (sin_upward_test_data): Likewise.
47653         (sinh_test_data): Likewise.
47654         (sinh_tonearest_test_data): Likewise.
47655         (sinh_towardzero_test_data): Likewise.
47656         (sinh_downward_test_data): Likewise.
47657         (sinh_upward_test_data): Likewise.
47658         (tan_test_data): Likewise.
47659         (tan_tonearest_test_data): Likewise.
47660         (tan_towardzero_test_data): Likewise.
47661         (tan_downward_test_data): Likewise.
47662         (tan_upward_test_data): Likewise.
47663         (tanh_test_data): Likewise.
47664         (tgamma_test_data): Likewise.
47665         (y0_test_data): Likewise.
47666         (y1_test_data): Likewise.
47667         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47668         (special_real_inputs): Add pi/4.
47669         * sysdeps/i386/fpu/libm-test-ulps: Update.
47670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47672 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47674         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47675         "longjmp_target" static probes.
47676         (__longjmp): Rename to __longjmp_symbol.
47677         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47678         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47679         on which longjmp to generate.
47680         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47681         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47682         probe.
47683         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47684         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47685         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47686         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47687         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47688         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47690         __longjmp_symbol based on which __longjmp to generate.
47691         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47692         probe.
47693         (setjmp): Rename to setjmp_symbol.
47694         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47695         (_setjmp): Rename to _setjmp_symbol.
47696         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47697         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47698         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47699         which setjmp to generate.
47700         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47701         "longjmp_target" static probes.
47703 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47705         * benchtests/README: Add note about output arguments.
47706         * benchtests/bench-sincos.c: Remove file.
47707         * benchtests/sincos-inputs: New file.
47708         * scripts/bench.pl: Identify output arguments and define
47709         static variables for them.
47711         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47713         [BZ #15941]
47714         * Makefile (INSTALL): Add install-plain.texi as the primary
47715         dependency.
47716         * manual/install-plain.texi: New file.
47717         * manual/install.texi: Include node directive only for
47718         non-plaintext output.
47720 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47722         * stdlib/longlong.h: Update from GCC.
47724         [BZ #6807]
47725         [BZ #15901]
47726         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47727         * math/w_j0f.c (y0f): Likewise.
47728         * math/w_j0l.c (__y0l): Likewise.
47729         * math/w_j1.c (y1): Likewise.
47730         * math/w_j1f.c (y1f): Likewise.
47731         * math/w_j1l.c (__y1l): Likewise.
47732         * math/w_jn.c (yn): Likewise.
47733         * math/w_jnf.c (ynf): Likewise.
47734         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47735         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47736         value for Bessel function domain errors outside _SVID_ mode.
47737         Adjust sign of return value for yn (negative integer, 0).
47738         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47739         by zero in return for negative x and set sign appropriately for
47740         negative n.
47741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47742         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47743         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47744         expectations in error cases.
47745         (y1_test_data): Likewise.
47746         (yn_test_data): Likewise.
47747         * sysdeps/i386/fpu/libm-test-ulps: Update.
47748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47750 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47752         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47753         "64" to "64-v1".  Add "64-v2".
47754         (abi-64-options): Rename to ...
47755         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47756         (abi-64-condition): Rename to ...
47757         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47758         (abi-64-ld-soname): Rename to ...
47759         (abi-64-v1-ld-soname): ... this.
47760         (abi-64-v2-options): Define.
47761         (abi-64-v2-condition): Likewise.
47762         (abi-64-v2-ld-soname): Likewise.
47763         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47764         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47769 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47770             Alan Modra  <amodra@gmail.com>
47772         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47773         New versions for use with the ELFv2 ABI.
47774         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47775         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47776         declaration.
47777         (struct La_ppc64v2_retval): Likewise.
47778         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47779         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47780         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47781         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47782         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47783         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47784         Do not save or restore CR.
47785         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47786         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47787         return values for ELFv2 ABI.  Fix location of FPR return registers.
47788         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47789         updated values for _CALL_ELF == 2.
47790         (La_regs, La_retval, int_retval): Likewise.
47792 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47794         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47795         (FRAME_MIN_SIZE_PARM): Likewise.
47796         (FRAME_BACKCHAIN): Likewise.
47797         (FRAME_CR_SAVE): Likewise.
47798         (FRAME_LR_SAVE): Likewise.
47799         (FRAME_TOC_SAVE): Likewise.
47800         (FRAME_PARM_SAVE): Likewise.
47801         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47802         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47803         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47804         (call_mcount_parm_offset): New macro.
47805         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47806         (PROF): Use symbolic stack frame offsets.
47807         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47808         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47809         Redefine in terms of FRAME_MIN_SIZE.
47810         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47811         (_dl_profile_resolve): Likewise.  Update comment.
47812         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47813         symbols stack frame offsets.
47814         (__sigsetjmp): Likewise.
47815         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47816         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47817         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47818         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47821         (FRAME_BACKCHAIN): Remove.
47822         (FRAME_CR_SAVE): Likewise.
47823         (FRAME_LR_SAVE): Likewise.
47824         (FRAME_COMPILER_DW): Likewise.
47825         (FRAME_LINKER_DW): Likewise.
47826         (FRAME_TOC_SAVE): Likewise.
47827         (FRAME_PARM_SAVE): Likewise.
47828         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47829         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47830         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47832         (CHECK_SP): Use symbolic stack frame offsets.
47833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47834         zone" instead of caller's parameter save area for temp storage.
47835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47836         Likewise.  Also, use symbolic stack frame offsets.
47837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47838         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47839         our own stack frame instead of the caller's.
47840         (__socket): Use symbolic stack frame offsets.
47842 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47843             Alan Modra  <amodra@gmail.com>
47845         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47846         Define.
47847         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47848         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47849         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47850         New function.
47851         (elf_machine_fixup_plt): Call it.
47852         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47853         reloc arguments.
47854         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47855         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47856         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47857         r2 before calling target.
47859 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47860             Alan Modra  <amodra@gmail.com>
47862         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47863         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47864         versions of macros to support ELFv2 ABI.
47865         (LOCALENTRY): New macro.
47866         (ENTRY, EALIGN): Use it.
47867         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47868         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47869         fall through into ENTRY entry point.
47870         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47871         Only define if _CALL_ELF != 2.
47873         (elf_machine_matches_host): Verify ABI version matches.
47874         (RTLD_START): Use LOCALENTRY.
47875         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47876         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47877         (PLT_ENTRY_WORDS): New macro.
47878         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47879         (elf_machine_runtime_setup): Support ELFv2 ABI.
47880         (elf_machine_fixup_plt): Likewise.
47881         (elf_machine_plt_conflict): Likewise.
47882         (resolve_ifunc): Likewise.
47883         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47884         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47885         Likewise.
47886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47887         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47889         (makecontext): Support ELFv2 ABI.
47890         * elf/elf.h (EF_PPC64_ABI): Define.
47892 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47894         * sysdeps/powerpc/powerpc64/sysdep.h
47895         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47896         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47897         (ENTRY) [ASSEMBLER]: ... but instead here ...
47898         (EALIGN) [ASSEMBLER]: ... and here.
47899         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47900         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47901         (ENTRY_2) [!ASSEMBLER]: Use it.
47902         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47903         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47904         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47905         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47906         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47908         Use PPC64_LOAD_FUNCPTR.
47910         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47912 2013-12-04  Alan Modra  <amodra@gmail.com>
47914         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47915         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47916         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47917         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47920         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47921         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47922         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47923         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47924         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47926 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47929         (__makecontext): Fix incorrect CFI when backtracing out of
47930         context created via makecontext.
47931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47932         (__setcontext): Fix incorrect CFI during switch to new context.
47933         (__novec_setcontext): Likewise.
47935 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47937         [BZ #4772]
47938         * time/strptime_l.c (__strptime_internal): Allow modifiers
47939         in strptime.
47940         * time/tst-strptime.c (day_tests): Add testcase.
47942 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47944         * scripts/bench.pl: Skip over blank lines.
47946 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47948         [BZ #926]
47949         * manual/time.texi (Calendar Time): Clarify what timezone functions
47950         use.
47952 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47956 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47958         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47959         implementation.
47960         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47961         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47962         * debug/memset_chk.c (__memset_chk): Likewise.
47963         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47964         * debug/strncpy_chk.c: Likewise.
47966 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47968         [BZ #15268]
47969         [BZ #15425]
47970         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47971         (__ieee754_exp): For possibly underflowing results, check size of
47972         result and force underflow exception if required.
47973         * math/auto-libm-test-in: Add more tests of exp.
47974         * math/auto-libm-test-out: Regenerated.
47975         * sysdeps/i386/fpu/libm-test-ulps: Update.
47976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47978         [BZ #16283]
47979         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47980         * math/w_exp2f.c (__exp2f): Likewise.
47981         * math/w_exp2l.c (__exp2l): Likewise.
47982         * math/auto-libm-test-in: Do not allow missing errno on exp2
47983         underflow.
47984         * math/auto-libm-test-out: Regenerated.
47986 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47988         [BZ #16274]
47989         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47990         handle filename validation.
47991         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47992         (do_open): Delete.
47994 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47996         [BZ #6786]
47997         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47998         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47999         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
48000         <float.h>.
48001         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
48002         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
48003         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48004         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
48005         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48006         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
48007         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48008         * math/auto-libm-test-in: Don't allow missing errno from erfc.
48009         Add more erfc tests.
48010         * math/auto-libm-test-out: Regenerated.
48011         * sysdeps/i386/fpu/libm-test-ulps: Update.
48012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48014         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
48015         exp2, expm1, j0 and j1.
48016         * math/auto-libm-test-out: Regenerated.
48017         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
48018         (erfc_test_data): Likewise.
48019         (exp_test_data): Likewise.
48020         (exp_tonearest_test_data): Likewise.
48021         (exp_towardzero_test_data): Likewise.
48022         (exp_downward_test_data): Likewise.
48023         (exp_upward_test_data): Likewise.
48024         (exp10_test_data): Likewise.
48025         (exp2_test_data): Likewise.
48026         (expm1_test_data): Likewise.
48027         (j0_test_data): Likewise.
48028         (j1_test_data): Likewise.
48029         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
48030         (input_flag_type): Add flag_xfail_rounding.
48031         (input_flags): Add xfail-rounding.
48032         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
48033         (output_for_one_input_case): Handle flag_xfail_rounding.
48034         * sysdeps/i386/fpu/libm-test-ulps: Update.
48035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48037 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
48039         [BZ #16289]
48040         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
48041         division by 0.
48043 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48045         [BZ #16195]
48046         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
48047         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
48048         (STAP_PROBE0): New macro.
48049         (STAP_PROBE1): Likewise.
48050         (STAP_PROBE2): Likewise.
48051         (STAP_PROBE3): Likewise.
48052         (STAP_PROBE4): Likewise.
48054 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
48056         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
48058 2013-12-02  Steve Ellcey  <sellcey@mips.com>
48060         * benchtests/Makefile (bench): Add sqrt.
48061         (LDLIBS-bench-sqrt): New.
48062         * benchtests/sqrt-input: New.
48064 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
48066         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
48067         (GAIH_EAI): Likewise.
48068         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
48069         (gaih_inet): Likewise.
48070         (getaddrinfo): Don't use GAIH_EAI.
48072         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
48073         (struct gaih): Remove definition.
48075 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48077         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
48078         Use HERRNOP directly.
48080 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48084 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
48086         * math/gen-auto-libm-tests.c (test_functions): Add more
48087         single-argument functions.
48088         (special_fill_pi_2): New function.
48089         (special_fill_minus_pi_2): Likewise.
48090         (special_fill_pi_6): Likewise.
48091         (special_fill_minus_pi_6): Likewise.
48092         (special_fill_pi_3): Likewise.
48093         (special_fill_2pi_3): Likewise.
48094         (special_fill_e): Likewise.
48095         (special_fill_1_e): Likewise.
48096         (special_fill_e_minus_1): Likewise.
48097         (special_real_inputs): Add more special inputs.
48098         (output_for_one_input_case): Do not require ERANGE on underflow to
48099         zero if round-to-nearest result does not underflow to zero, unless
48100         exact results required.
48101         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
48102         atan, atanh, cbrt, cos and cosh.
48103         * math/auto-libm-test-out: Regenerated.
48104         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
48105         (acos_tonearest_test_data): Likewise.
48106         (acos_towardzero_test_data): Likewise.
48107         (acos_downward_test_data): Likewise.
48108         (acos_upward_test_data): Likewise.
48109         (acosh_test_data): Likewise.
48110         (asin_test_data): Likewise.
48111         (asin_tonearest_test_data): Likewise.
48112         (asin_towardzero_test_data): Likewise.
48113         (asin_upward_test_data): Likewise.
48114         (asinh_test_data): Likewise.
48115         (atan_test_data): Likewise.
48116         (atanh_test_data): Likewise.
48117         (cbrt_test_data): Likewise.
48118         (cos_test_data): Likewise.
48119         (cos_tonearest_test_data): Likewise.
48120         (cos_towardzero_test_data): Likewise.
48121         (cos_downward_test_data): Likewise.
48122         (cos_upward_test_data): Likewise.
48123         (cosh_test_data): Likewise.
48124         (cosh_tonearest_test_data): Likewise.
48125         (cosh_towardzero_test_data): Likewise.
48126         (cosh_downward_test_data): Likewise.
48127         (cosh_upward_test_data): Likewise.
48128         * sysdeps/i386/fpu/libm-test-ulps: Update.
48129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48131 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
48133         [BZ #6787]
48134         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
48135         * math/w_exp10f.c (__exp10f): Likewise.
48136         * math/w_exp10l.c (__exp10l): Likewise.
48137         * math/libm-test.inc (exp10_test_data): Add more tests and expect
48138         errno settings in existing tests.
48140         [BZ #14032]
48141         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
48142         precision control set to double precision.
48143         * sysdeps/i386/fpu/w_sqrt.c: New file.
48144         * math/auto-libm-test-in: Add more tests.
48145         * math/auto-libm-test-out: Update.
48147         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
48148         (sqrt_test_tonearest): New function.
48149         (sqrt_towardzero_test_data): New variable.
48150         (sqrt_test_towardzero): New function.
48151         (sqrt_downward_test_data): New variable.
48152         (sqrt_test_downward): New function.
48153         (sqrt_upward_test_data): New variable.
48154         (sqrt_test_upward): New function.
48155         (main): Call the new functions.
48157         * math/gen-auto-libm-tests.c: New file.
48158         * math/auto-libm-test-in: Likewise.
48159         * math/auto-libm-test-out: New generated file.
48160         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
48161         variables.
48162         (%beautify): Add generated representations of zero.
48163         (top level): Set $auto_input and call parse_auto_input.
48164         (beautify): Remove trailing "f" from hex float constants.
48165         (parse_args): Handle XFAIL_TEST.
48166         (convert_condition): New function.
48167         (or_value): Likewise.
48168         (or_cond_value): Likewise.
48169         (generate_testfile): Handle AUTO_TESTS_* lines.
48170         (parse_auto_input): New function.
48171         * math/libm-test.inc (XFAIL_TEST): New macro.
48172         (ERRNO_UNCHANGED): Update value.
48173         (ERRNO_EDOM): Likewise.
48174         (ERRNO_ERANGE): Likewise.
48175         (IGNORE_RESULT): Likewise.
48176         (TEST_COND_flt_32): New macro.
48177         (TEST_COND_dbl_64): Likewise.
48178         (TEST_COND_ldbl_96_intel): Likewise.
48179         (TEST_COND_ldbl_96_m68k): Likewise.
48180         (TEST_COND_ldbl_128): Likewise.
48181         (TEST_COND_ldbl_128ibm): Likewise.
48182         (TEST_COND_long32): Likewise.
48183         (TEST_COND_long64): Likewise.
48184         (TEST_COND_before_rounding): Likewise.
48185         (TEST_COND_after_rounding): Likewise.
48186         (enable_test): Handle XFAIL_TEST flag.
48187         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
48188         with finite results.
48189         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
48190         auto-libm-test-out.
48192 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48193             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48195         [BZ #16214]
48196         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
48197         __tls_get_addr_internal instead of __tls_get_offset in order to
48198         avoid GOT pointer dependency.  Make rtld export
48199         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
48200         __tls_get_addr since we are a __tls_get_offset platform.
48201         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
48202         GOT pointer being set up before.
48203         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
48205 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
48207         * manual/math.texi (Errors in Math Functions): Document accuracy
48208         goals.
48210         [BZ #15004]
48211         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
48212         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
48213         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48214         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48215         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48216         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48217         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48218         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48219         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48220         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48221         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48222         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48223         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48224         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48225         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48226         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48228         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
48229         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
48230         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
48231         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
48232         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
48233         Likewise.
48234         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
48235         Likewise.
48236         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
48237         Likewise.
48238         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
48239         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
48240         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
48241         atomic-feupdateenv and flt-rounds.
48242         * sysdeps/powerpc/nofpu/Versions (libc): Add
48243         __atomic_feholdexcept, __atomic_feclearexcept,
48244         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
48245         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
48246         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
48247         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
48248         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
48249         here.
48250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48251         Update.
48253         * manual/arith.texi (FP Exceptions): Document that exceptions may
48254         not be raised when matherr is used.
48255         (Math Error Reporting): Document overflow in directed rounding
48256         modes.  Document that errno may not be set when finite values are
48257         returned on overflow.  Document intent to set errno on underflow
48258         only for underflow to zero.
48260         [BZ #16271]
48261         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
48262         round-to-nearest then adjust result for other rounding modes.
48263         * include/fenv.h (fegetround): Use libm_hidden_proto.
48264         * math/fegetround.c (fegetround): Use libm_hidden_def.
48265         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
48266         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
48267         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48268         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
48269         Likewise.
48270         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
48271         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48272         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
48273         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
48275 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48277         [BZ #16077]
48278         * nss/Versions (libnss_files): Add
48279         _nss_files_gethostbyname3_r.
48280         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
48281         New function.
48282         (HOST_DB_LOOKUP): Remove macro.
48283         (_nss_files_gethostbyname_r): Implement function without the
48284         HOST_DB_LOOKUP macro.
48285         (_nss_files_gethostbyname2_r): Likewise.
48287 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
48289         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48291 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
48293         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48294         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48295         warning.
48297 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48299         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48300         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48301         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48302         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48303         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48304         __fe_nomask_env_priv and attribute_hidden.
48305         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48306         (libc_feupdateenv_test_ppc): Likewise.
48307         (libc_feresetround_ppc): Likewise.
48308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48309         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48310         compat_symbol macro.
48311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48312         (__fe_nomask_env): Likewise.
48313         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48315 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48317         * string/Makefile: Remove ifunc tests.
48318         * string/test-string.h: Define TEST_IFUNC.
48319         * string/test-bcopy-ifunc.c: Remove.
48320         * string/test-bzero-ifunc.c: Likewise.
48321         * string/test-memccpy-ifunc.c: Likewise.
48322         * string/test-memchr-ifunc.c: Likewise.
48323         * string/test-memcmp-ifunc.c: Likewise.
48324         * string/test-memcpy-ifunc.c: Likewise.
48325         * string/test-memmem-ifunc.c: Likewise.
48326         * string/test-memmove-ifunc.c: Likewise.
48327         * string/test-mempcpy-ifunc.c: Likewise.
48328         * string/test-memrchr-ifunc.c: Likewise.
48329         * string/test-memset-ifunc.c: Likewise.
48330         * string/test-rawmemchr-ifunc.c: Likewise.
48331         * string/test-stpcpy-ifunc.c: Likewise.
48332         * string/test-stpncpy-ifunc.c: Likewise.
48333         * string/test-strcasecmp-ifunc.c: Likewise.
48334         * string/test-strcasestr-ifunc.c: Likewise.
48335         * string/test-strcat-ifunc.c: Likewise.
48336         * string/test-strchr-ifunc.c: Likewise.
48337         * string/test-strchrnul-ifunc.c: Likewise.
48338         * string/test-strcmp-ifunc.c: Likewise.
48339         * string/test-strcpy-ifunc.c: Likewise.
48340         * string/test-strcspn-ifunc.c: Likewise.
48341         * string/test-strlen-ifunc.c: Likewise.
48342         * string/test-strncasecmp-ifunc.c: Likewise.
48343         * string/test-strncat-ifunc.c: Likewise.
48344         * string/test-strncmp-ifunc.c: Likewise.
48345         * string/test-strncpy-ifunc.c: Likewise.
48346         * string/test-strnlen-ifunc.c: Likewise.
48347         * string/test-strpbrk-ifunc.c: Likewise.
48348         * string/test-strrchr-ifunc.c: Likewise.
48349         * string/test-strspn-ifunc.c: Likewise.
48350         * string/test-strstr-ifunc.c: Likewise.
48352 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48354         * benchtests/Makefile: Remove ifunc tests.
48355         * benchtests/bench-string.h: Define TEST_IFUNC.
48356         * benchtests/bench-bcopy-ifunc.c: Remove.
48357         * benchtests/bench-bzero-ifunc.c: Likewise.
48358         * benchtests/bench-memccpy-ifunc.c: Likewise.
48359         * benchtests/bench-memchr-ifunc.c: Likewise.
48360         * benchtests/bench-memcmp-ifunc.c: Likewise.
48361         * benchtests/bench-memcpy-ifunc.c: Likewise.
48362         * benchtests/bench-memmem-ifunc.c: Likewise.
48363         * benchtests/bench-memmove-ifunc.c: Likewise.
48364         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48365         * benchtests/bench-memrchr-ifunc.c: Likewise.
48366         * benchtests/bench-memset-ifunc.c: Likewise.
48367         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48368         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48369         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48370         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48371         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48372         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48373         * benchtests/bench-strcat-ifunc.c: Likewise.
48374         * benchtests/bench-strchr-ifunc.c: Likewise.
48375         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48376         * benchtests/bench-strcmp-ifunc.c: Likewise.
48377         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48378         * benchtests/bench-strcpy-ifunc.c: Likewise.
48379         * benchtests/bench-strcspn-ifunc.c: Likewise.
48380         * benchtests/bench-strlen-ifunc.c: Likewise.
48381         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48382         * benchtests/bench-strncat-ifunc.c: Likewise.
48383         * benchtests/bench-strncmp-ifunc.c: Likewise.
48384         * benchtests/bench-strncpy-ifunc.c: Likewise.
48385         * benchtests/bench-strnlen-ifunc.c: Likewise.
48386         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48387         * benchtests/bench-strrchr-ifunc.c: Likewise.
48388         * benchtests/bench-strsep-ifunc.c: Likewise.
48389         * benchtests/bench-strspn-ifunc.c: Likewise.
48390         * benchtests/bench-strstr-ifunc.c: Likewise.
48392 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48394         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48396 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48398         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48399         * rt/aio.h: Likewise.
48400         * sysdeps/gnu/bits/utmp.h: Likewise.
48401         * sysdeps/gnu/bits/utmpx.h: Likewise.
48402         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48403         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48404         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48405         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48406         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48407         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48408         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48409         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48410         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48411         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48412         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48413         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48414         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48416         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48417         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48418         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48419         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48420         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48421         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48422         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48423         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48424         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48425         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48426         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48428         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48429         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48430         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48431         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48432         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48433         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48434         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48435         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48436         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48437         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48438         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48439         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48440         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48441         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48442         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48443         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48445 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48447         [BZ #16245]
48448         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48449         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48451 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48453         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48454         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48455         Likewise.
48457 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48459         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48460         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48461         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48462         (__fesetround): Remove define.
48463         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48464         rounding and exceptions handling.
48465         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48466         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48467         (__fe_nomask_env): Likewise.
48468         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48469         __fegetround instead of fegetround.
48470         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48471         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48473 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48475         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48476         it's there.
48478         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48480 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48482         [BZ #11157]
48483         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48484         (encrypt_r): Likewise.
48485         * malloc/obstack.h (obstack_free): Likewise.
48486         * posix/unistd.h (encrypt): Likewise.
48488 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48490         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48491         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48492         DL_CALL_DT_FINI() that call the functions directly.
48493         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48494         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48495         * elf/dl-fini.c: Likewise.
48497 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48499         * malloc/hooks.c (memalign_check): Add alignment rounding.
48500         * malloc/malloc.c (_mid_memalign): New function.
48501         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48502         Implement by calling _mid_memalign.
48503         * manual/probes.texi (Memory Allocation Probes): Remove
48504         memory_valloc_retry and memory_pvalloc_retry.
48506 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48508         * locale/programs/locarchive.c (open_archive): Add const
48509         qualifier to ARCHIVEFNAME and copy default fname to
48510         DEFAULT_FNAME.
48512         [BZ #15601]
48513         * libio/tst-widetext.input: Rename Oriya to Odia.
48514         * locale/iso-639.def: Likewise.
48516         * manual/probes.texi (Mathematical Function Probes): Add
48517         documentation for sin, cos, asin and acos probes.
48518         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48519         (__sin32): Add slowasin probe.
48520         (__cos32): Add slowacos probe.
48521         (__mpsin): Add slowsin probe.
48522         (__mpcos): Add slowcos probe.
48524 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48526         [BZ #15483]
48527         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48528         thread-local __sim_exceptions_thread and global
48529         __sim_exceptions_global.
48530         (__sim_disabled_exceptions): Change to thread-local
48531         __sim_disabled_exceptions_thread and global
48532         __sim_disabled_exceptions_global.
48533         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48534         and global __sim_round_mode_global.
48535         (__simulate_exceptions): Use thread-local floating-point state and
48536         set global state from it as needed.
48537         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48538         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48539         __sim_round_mode_thread.
48540         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48541         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48542         and global __sim_exceptions_global.
48543         (__sim_disabled_exceptions): Change to thread-local
48544         __sim_disabled_exceptions_thread and global
48545         __sim_disabled_exceptions_global.
48546         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48547         and global __sim_round_mode_global.
48548         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48549         (SIM_SET_GLOBAL): Likewise.
48550         * sysdeps/powerpc/soft-fp/sfp-machine.h
48551         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48552         __sim_round_mode_thread.
48553         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48554         __sim_disabled_exceptions_thread.
48555         (__sim_exceptions): Change to __sim_exceptions_thread.
48556         (__sim_disabled_exceptions): Change to
48557         __sim_disabled_exceptions_thread.
48558         (__sim_round_mode): Change to __sim_round_mode_thread.
48559         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48560         thread-local floating-point state and set global state from it as
48561         needed.
48562         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48563         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48564         (__sim_disabled_exceptions): Remove extern declaration.
48565         (feenableexcept): Use thread-local floating-point state and set
48566         global state from it as needed.
48567         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48568         extern declaration.
48569         (__sim_disabled_exceptions): Likewise.
48570         (__sim_round_mode): Likewise.
48571         (__fegetenv): Use thread-local floating-point state.
48572         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48573         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48574         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48575         floating-point state and set global state from it as needed.
48576         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48577         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48578         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48579         Likewise.
48580         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48581         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48582         Likewise.
48583         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48584         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48585         Use __sim_round_mode_thread.
48586         * math/test-fenv-tls.c: New file.
48587         * math/Makefile (tests): Add test-fenv-tls.
48588         ($(objpfx)test-fenv-tls): Depend on
48589         $(common-objpfx)nptl/libpthread.so.
48591 2013-11-19  Andreas Schwab  <schwab@suse.de>
48593         * locale/programs/locale.c (show_info): Decode wordarray elements.
48594         * locale/categories.def (LC_MONETARY): Add element for
48595         _NL_MONETARY_CRNCYSTR.
48596         * locale/C-monetary.c (conversion_rate): New variable.
48597         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48598         element.
48600 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48602         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48603         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48605 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48607         * elf/Makefile (tst-auxv): New test.
48608         * elf/tst-auxv.c: New
48609         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48611 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48613         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48614         (hidden_proto): Caller changed.
48615         (hidden_tls_proto): New macro.
48616         (libc_hidden_tls_proto): Likewise.
48617         (rtld_hidden_tls_proto): Likewise.
48618         (libm_hidden_tls_proto): Likewise.
48619         (libresolv_hidden_tls_proto): Likewise.
48620         (librt_hidden_tls_proto): Likewise.
48621         (libdl_hidden_tls_proto): Likewise.
48622         (libnss_files_hidden_tls_proto): Likewise.
48623         (libnsl_hidden_tls_proto): Likewise.
48624         (libnss_nisplus_hidden_tls_proto): Likewise.
48625         (libutil_hidden_tls_proto): Likewise.
48627 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48629         [BZ #10253]
48630         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48631         (decompose_rpath): Defer expansion to fillin_rpath.
48632         (_dl_init_paths): Pass linkmap to fillin_rpath.
48634 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48636         * benchtests/Makefile: Add strsep.
48637         * benchtests/bench-strsep.c: New file: strsep benchtest.
48638         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48640 2013-11-18  Andreas Schwab  <schwab@suse.de>
48642         * locale/programs/locale.c (show_info) [case byte]: Check for
48643         '\377' instead of '\177'.
48644         * locale/C-monetary.c (not_available): Always use "\377".
48645         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48646         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48647         detect unavailable sign_posn locale elements.
48648         * locale/localeconv.c (__localeconv): For grouping and
48649         mon_grouping handle "\177" and "\377" like no grouping.
48650         (INT_ELEM): New macro.  Use it to set all numeric members.
48651         * locale/programs/ld-monetary.c (monetary_read)
48652         <tok_mon_grouping>: Normalize single -1 to the empty string.
48653         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48654         Likewise.
48656 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48658         [BZ #16055]
48659         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48660         when we match (nil).
48661         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48663 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48665         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48666         (NO_TEST_INLINE): Update value.
48667         (ERRNO_UNCHANGED): Likewise.
48668         (ERRNO_EDOM): Likewise.
48669         (ERRNO_ERANGE): Likewise.
48670         (IGNORE_RESULT): Likewise.
48671         (check_float_internal): Check signs of NaN results if
48672         TEST_NAN_SIGN used.
48673         (check_complex): Pass TEST_NAN_SIGN flag through to second
48674         check_float_internal call.
48675         (copysign_test_data): Add tests with quiet NaNs as second
48676         argument.  Use TEST_NAN_SIGN.
48677         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48678         TEST_NAN_SIGN.
48679         (signbit_test_data): Add tests of quiet NaN argument.
48680         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48682         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48683         $ignore_result.
48684         (parse_args): Handle function results specified as IGNORE.
48685         * math/libm-test.inc (IGNORE_RESULT): New macro.
48686         (check_float_internal): Do not check numerical result if flag
48687         IGNORE_RESULT set.
48688         (check_complex): Pass through IGNORE_RESULT to second
48689         check_float_internal call.
48690         (check_int): Do not check numerical result if flag IGNORE_RESULT
48691         set.
48692         (check_long): Likewise.
48693         (check_bool): Likewise.
48694         (check_longlong): Likewise.
48695         (lrint_test_data): Add tests of infinite and NaN arguments.
48696         (lrint_tonearest_test_data): Likewise.
48697         (lrint_towardzero_test_data): Likewise.
48698         (lrint_downward_test_data): Likewise.
48699         (lrint_upward_test_data): Likewise.
48700         (llrint_test_data): Likewise.
48701         (llrint_tonearest_test_data): Likewise.
48702         (llrint_towardzero_test_data): Likewise.
48703         (llrint_downward_test_data): Likewise.
48704         (llrint_upward_test_data): Likewise.
48705         (lround_test_data): Likewise.
48706         (llround_test_data): Likewise.
48708         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48709         (ERRNO_UNCHANGED): Update value.
48710         (ERRNO_EDOM): Likewise.
48711         (ERRNO_ERANGE): Likewise.
48712         (NO_TEST_INLINE_FLOAT): New macro.
48713         (NO_TEST_INLINE_DOUBLE): Likewise.
48714         (enable_test): New function.
48715         (RUN_TEST_f_f): Check enable_test before running test.
48716         (RUN_TEST_2_f): Likewise.
48717         (RUN_TEST_fff_f): Likewise.
48718         (RUN_TEST_c_f): Likewise.
48719         (RUN_TEST_f_f1): Likewise.
48720         (RUN_TEST_fF_f1): Likewise.
48721         (RUN_TEST_fI_f1): Likewise.
48722         (RUN_TEST_ffI_f1): Likewise.
48723         (RUN_TEST_c_c): Likewise.
48724         (RUN_TEST_cc_c): Likewise.
48725         (RUN_TEST_f_i): Likewise.
48726         (RUN_TEST_f_i_tg): Likewise.
48727         (RUN_TEST_ff_i_tg): Likewise.
48728         (RUN_TEST_f_b): Likewise.
48729         (RUN_TEST_f_b_tg): Likewise.
48730         (RUN_TEST_f_l): Likewise.
48731         (RUN_TEST_f_L): Likewise.
48732         (RUN_TEST_fFF_11): Likewise.
48733         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48734         conditionals.
48735         (cosh_test_data): Likewise.
48736         (exp_test_data): Likewise.
48737         (expm1_test_data): Likewise.
48738         (hypot_test_data): Likewise.
48739         (pow_test_data): Likewise.
48740         (sinh_test_data): Likewise.
48741         (tanh_test_data): Likewise.
48742         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48743         flags argument.
48745         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48746         tests with quiet NaN input and output.
48747         (acosh_test_data): Likewise.
48748         (asin_test_data): Likewise.
48749         (asinh_test_data): Likewise.
48750         (atan_test_data): Likewise.
48751         (atanh_test_data): Likewise.
48752         (atan2_test_data): Likewise.
48753         (cbrt_test_data): Likewise.
48754         (cos_test_data): Likewise.
48755         (cosh_test_data): Likewise.
48756         (erf_test_data): Likewise.
48757         (erfc_test_data): Likewise.
48758         (exp_test_data): Likewise.
48759         (exp10_test_data): Likewise.
48760         (exp2_test_data): Likewise.
48761         (expm1_test_data): Likewise.
48762         (hypot_test_data): Likewise.
48763         (j0_test_data): Likewise.
48764         (j1_test_data): Likewise.
48765         (jn_test_data): Likewise.
48766         (lgamma_test_data): Likewise.
48767         (log_test_data): Likewise.
48768         (log10_test_data): Likewise.
48769         (log1p_test_data): Likewise.
48770         (log2_test_data): Likewise.
48771         (pow_test_data): Likewise.
48772         (scalb_test_data): Likewise.
48773         (sin_test_data): Likewise.
48774         (sincos_test_data): Likewise.
48775         (sinh_test_data): Likewise.
48776         (tan_test_data): Likewise.
48777         (tanh_test_data): Likewise.
48778         (tgamma_test_data): Likewise.
48779         (y0_test_data): Likewise.
48780         (y1_test_data): Likewise.
48781         (yn_test_data): Likewise.
48783         [BZ #16167]
48784         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48785         argument being NaN and avoid computations with second argument in
48786         that case.
48787         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48788         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48789         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48791 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48793         * locale/iso-639.def: Add Chitwani Tharu (the).
48795 2013-11-14  Andreas Schwab  <schwab@suse.de>
48797         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48798         word instead of empty string.
48800 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48803         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48805         (__fe_nomask_env): Likewise.
48807 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48809         * benchtests/bench-timing.h: Include time.h.
48811 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48813         [BZ #15997]
48814         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48815         to 3.4.0 for x32.
48816         * sysdeps/unix/sysv/linux/configure: Regenerated.
48818 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48820         [BZ #16151]
48821         * stdlib/strtod_l.c (round_and_return): Do not consider
48822         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48823         exponent one less than half the least subnormal exponent.
48824         * stdlib/test-strtod-round-data: Add more tests.
48825         * stdlib/tst-strtod-round.c (tests): Regenerated.
48827 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48829         [BZ #14143]
48830         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48831         (__fe_mask_env): Likewise.
48832         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48833         libm_hidden_proto and add function prototype.
48834         (__fe_mask_env): Add function prototype.
48835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48836         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48838         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48840         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48842 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48844         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48845         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48847 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48849         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48850         of htab_find_slot().
48852 2013-11-11  David S. Miller  <davem@davemloft.net>
48854         [BZ #16150]
48855         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48856         symbol in the non-vis3 case in static builds.
48857         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48858         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48859         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48860         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48862 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48864         [BZ #387]
48865         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48866         it is empty.
48868 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48870         * benchtests/Makefile: Add bench-strtod.
48871         * benchtests/bench-strtod.c: New file: strtod benchtest
48873 2013-11-11  Andreas Schwab  <schwab@suse.de>
48875         [BZ #16153]
48876         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48877         terminating NUL in key length.
48879 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48881         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48882         Add artificial ODP entry for vDSO symbol for PPC64.
48883         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48884         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48886 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48888         [BZ #15374]
48889         * nss/getent.c (services_keys): Recognize services starting with digit.
48891 2013-11-06  David S. Miller  <davem@davemloft.net>
48893         [BZ #15985]
48894         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48895         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48897 2013-11-06  Will Newton  <will.newton@linaro.org>
48899         * manual/memory.texi (Malloc Examples): Remove register
48900         keyword from examples.
48902 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48904         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48906 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48908         [BZ #6981]
48909         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48910         depending on [__GCC_IEC_559 > 0].
48911         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48912         depending on [__GCC_IEC_559_COMPLEX > 0].
48914 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48916         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48917         to iso-639.def.
48919 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48921         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48923 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48925         [BZ #16112]
48926         * malloc/malloc (malloc_info): Do not handle first bin as
48927         special case.
48929 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48931         * locale/iso-639.def: Add Central Nahuatl (nhn).
48933 2013-11-01  Bruno Haible  <bruno@clisp.org>
48935         [BZ #7003]
48936         * manual/math.texi (BSD Random): Specify range upper bound as
48937         in POSIX.
48939 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48941         * locale/iso-639.def: Add Meadow Mari (mhr).
48943 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48945         [BZ #14752], [BZ #15763]
48946         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48947         Validate name.
48948         * rt/tst_shm.c: Add test for escaping directory.
48950 2013-10-31  Andreas Schwab  <schwab@suse.de>
48952         [BZ #15917]
48953         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48954         followed by 'x' as part of digit sequence.
48955         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48957 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48959         [BZ #16037]
48960         * configure.ac: allow GNU Make 4.0 and greater.
48961         * configure: Regenerated.
48963 2013-10-30  Will Newton  <will.newton@linaro.org>
48965         [BZ #16038]
48966         * malloc/hooks.c (memalign_check): Limit alignment to the
48967         maximum representable power of two.
48968         * malloc/malloc.c (__libc_memalign): Likewise.
48969         * malloc/tst-memalign.c (do_test): Add test for very
48970         large alignment values.
48971         * malloc/tst-posix_memalign.c (do_test): Likewise.
48973 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48975         [BZ #11087]
48976         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48977         (munmap_chunk): Likewise.
48978         (mremap_chunk): Likewise.
48980 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48982         [BZ #15799]
48983         * stdlib/div.c (div): Remove obsolete code.
48984         * stdlib/ldiv.c (ldiv): Likewise.
48985         * stdlib/lldiv.c (lldiv): Likewise.
48987 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48989         [BZ #16071]
48990         * nss/nss_files/files-XXX.c (get_contents_ret): New
48991         enumerator.
48992         (get_contents): New function.
48993         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48995 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48997         * configure.in: Moved to ...
48998         * configure.ac: ... here. Change reference to configure.in
48999         to configure.ac.
49000         * sysdeps/arm/preconfigure.ac: ... here.
49001         configure.in to configure.ac.
49002         * sysdeps/gnu/configure.in: Moved to ...
49003         * sysdeps/gnu/configure.ac: ... here.
49004         * sysdeps/i386/configure.in: Moved to ...
49005         * sysdeps/i386/configure.ac: ... here.
49006         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
49007         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
49008         * sysdeps/mach/configure.in: Moved to ...
49009         * sysdeps/mach/configure.ac: ... here.
49010         * sysdeps/mach/hurd/configure.in: Moved to ...
49011         * sysdeps/mach/hurd/configure.ac: ... here.
49012         * sysdeps/powerpc/configure.in: Moved to ...
49013         * sysdeps/powerpc/configure.ac: ... here.
49014         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
49015         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
49016         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
49017         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
49018         * sysdeps/s390/s390-32/configure.in: Moved to ...
49019         * sysdeps/s390/s390-32/configure.ac: ... here.
49020         * sysdeps/s390/s390-64/configure.in: Moved to ...
49021         * sysdeps/s390/s390-64/configure.ac: ... here.
49022         * sysdeps/sh/configure.in: Moved to ...
49023         * sysdeps/sh/configure.ac: ... here.
49024         * sysdeps/sparc/configure.in: Moved to ...
49025         * sysdeps/sparc/configure.ac: ... here.
49026         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
49027         * sysdeps/unix/sysv/linux/configure.ac: ... here.
49028         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
49029         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
49030         * sysdeps/x86_64/configure.in: Moved to ...
49031         * sysdeps/x86_64/configure.ac: ... here.
49032         * sysdeps/x86_64/preconfigure.in: Moved to ...
49033         * sysdeps/x86_64/preconfigure.ac: ... here.
49034         * aclocal.m4: Change reference to configure.in to configure.ac.
49035         * config.h.in: Likewise.
49036         * manual/install.texi: Likewise.
49037         * manual/maint.texi: Likewise.
49038         * Makefile: Likewise.
49039         * malloc/Makefile: Likewise.
49040         * nscd/Makefile: Likewise.
49041         * Makeconfig: Change reference to configure.in and
49042         preconfigure.in to configure.ac and preconfigure.ac
49043         respectively.
49044         * INSTALL: Regenerated.
49045         * configure: Likewise.
49046         * sysdeps/gnu/configure: Likewise.
49047         * sysdeps/i386/configure: Likewise.
49048         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
49049         * sysdeps/mach/configure: Likewise.
49050         * sysdeps/mach/hurd/configure: Likewise.
49051         * sysdeps/powerpc/configure: Likewise.
49052         * sysdeps/powerpc/powerpc32/configure: Likewise.
49053         * sysdeps/powerpc/powerpc64/configure: Likewise.
49054         * sysdeps/s390/s390-32/configure: Likewise.
49055         * sysdeps/s390/s390-64/configure: Likewise.
49056         * sysdeps/sh/configure: Likewise.
49057         * sysdeps/sparc/configure: Likewise.
49058         * sysdeps/unix/sysv/linux/configure: Likewise.
49059         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
49060         * sysdeps/x86_64/configure: Likewise.
49061         * sysdeps/x86_64/preconfigure: Likewise.
49063 2013-10-29  Andreas Schwab  <schwab@suse.de>
49065         * stdio-common/Makefile (tst-swscanf-ENV): Define.
49067 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49069         * benchtests/pow-inputs: Add new inputs.
49071         * benchtests/exp-inputs: Add new inputs.
49073         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
49074         conditional check for return value.
49075         (__cos32): Likewise.
49077 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49079         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
49080         to provide a boost for large inputs with word alignment.
49081         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
49082         implementation based on optimized PPC64 strcpy.
49083         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
49084         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
49085         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
49086         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
49088 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49090         [BZ #2801]
49091         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
49093 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49095         [BZ #14876]
49096         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
49097         * time/tst-strptime.c (day_tests): Add testcase.
49099 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49101         [BZ #14029]
49102         * manual/pattern.texi: Acknowledge that fnmatch can fail.
49104 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
49106         [BZ #16074]
49107         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
49108         MAP_FAILED on error.
49110 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49112         [BZ #16072]
49113         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
49114         heap for large requests.
49116 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
49118         [BZ #9954]
49119         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
49120         result if the result has no associated interface.
49121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
49122         interface for all 127.X.Y.Z addresses.
49124 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
49126         * locale/iso-639.def: Add Ligurian (lij)
49128 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
49130         [BZ #15825]
49131         * sunrpc/rpc_main.c: Document rpcgen -5.
49133 2013-10-19  Michael Stahl  <mstahl@redhat.com>
49135         * elf/rtld.c (do_preload): Print the reason why preloading failed.
49137 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
49139         [BZ #10278]
49140         * posix/glob.c: Match only directories when trailing slash is present.
49141         * posix/tst-gnuglob.c (my_opendir): Do not open files.
49142         (main): Add testcase.
49144 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
49146         [BZ #15670]
49147         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
49149 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
49151         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
49152         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
49153         AUTH_DES and cindex for FIPS 140-2.
49154         (DES Encryption): Add cindex FIPS 46-3.
49156         * locale/locarchive.h (struct locarhandle): Add fname.
49157         * locale/programs/localedef.c (main): Pass ARGV[remaining]
49158         if an optional argument was specified to --list-archive,
49159         otherwise NULL.
49160         * locale/programs/locarchive.c (show_archive_content): Take new
49161         argument fname and pass it via ah.fname to open_archive.
49162         * locale/programs/localedef.h: Update decl.
49163         (open_archive): If AH->fname is non-null, open that file
49164         rather than the default file name, and don't ignore ENOENT.
49165         (create_archive): Set AH.fname to NULL.
49166         (delete_locales_from_archive): Likewise.
49167         (add_locales_to_archive): Likewise.
49168         * locale/programs/locfile.c (write_all_categories): Likewise.
49170 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
49171             Aldy Hernandez  <aldyh@redhat.com>
49173         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
49174         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
49175         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
49176         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
49177         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
49178         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
49179         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
49180         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
49181         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
49182         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
49183         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
49184         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
49185         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
49186         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
49187         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
49188         Likewise.
49189         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
49190         Likewise.
49191         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
49192         Likewise.
49193         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
49194         Likewise.
49195         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
49196         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
49197         Likewise.
49198         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
49199         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
49200         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
49201         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
49202         Likewise.
49203         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
49204         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
49205         * sysdeps/powerpc/preconfigure: Likewise.
49206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
49207         Likewise.
49208         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
49209         Replace contents of file by #include of <fenv_libc.h>.
49210         * sysdeps/powerpc/soft-fp/sfp-machine.h
49211         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
49212         and <sys/prctl.h>.
49213         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
49214         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
49215         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
49216         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
49217         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
49218         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
49219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
49220         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
49221         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
49222         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
49223         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
49224         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
49225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49226         Allow copysignl PLT reference to be missing.
49228 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
49229             Joseph Myers  <joseph@codesourcery.com
49231         [BZ #15948]
49232         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
49233         single character.
49234         (add_to_tablewc): Assert sequence of wide characters is nonempty.
49236 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49238         * elf/tst-tls-dlinfo.c: Don't include tls.h.
49239         * elf/tst-tls1.c: Likewise.
49240         * elf/tst-tls10.h: Likewise.
49241         * elf/tst-tls14.c: Likewise.
49242         * elf/tst-tls2.c: Likewise.
49243         * elf/tst-tls3.c: Likewise.
49244         * elf/tst-tls4.c: Likewise.
49245         * elf/tst-tls5.c: Likewise.
49246         * elf/tst-tls6.c: Likewise.
49247         * elf/tst-tls7.c: Likewise.
49248         * elf/tst-tls8.c: Likewise.
49249         * elf/tst-tls9.c: Likewise.
49250         * elf/tst-tlsmod1.c: Likewise.
49251         * elf/tst-tlsmod13.c: Likewise.
49252         * elf/tst-tlsmod13a.c: Likewise.
49253         * elf/tst-tlsmod14a.c: Likewise.
49254         * elf/tst-tlsmod16a.c: Likewise.
49255         * elf/tst-tlsmod16b.c: Likewise.
49256         * elf/tst-tlsmod2.c: Likewise.
49257         * elf/tst-tlsmod3.c: Likewise.
49258         * elf/tst-tlsmod4.c: Likewise.
49259         * elf/tst-tlsmod5.c: Likewise.
49260         * elf/tst-tlsmod6.c: Likewise.
49262 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
49264         [BZ #12486]
49265         * malloc/malloc.c: remove checks for statistics.
49267 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49269         [BZ #15277]
49270         * inet/inet_net.c (inet_network): Detect additional invalid strings.
49271         * inet/tst-network.c: Add testcase.
49273 2013-10-17  Andreas Schwab  <schwab@suse.de>
49275         [BZ #15218]
49276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
49277         to determine canonical name.
49279 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49281         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
49282         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
49283         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49284         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49285         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49286         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49287         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49288         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49289         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49290         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49291         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49292         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49293         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49294         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49295         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49296         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49297         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49298         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49299         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49300         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49301         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49302         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49303         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49304         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49305         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49306         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49307         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49308         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49309         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49310         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49311         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49312         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49313         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49314         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49315         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49316         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49317         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49318         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49319         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49320         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49321         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49322         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49323         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49324         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49325         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49326         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49327         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49328         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49329         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49330         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49331         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49332         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49333         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49334         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49335         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49336         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49337         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49338         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49340 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49342         [BZ #16041]
49343         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49344         make result into a quiet NaN.
49346 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49348         * soft-fp/adddf3.c: Fix horizontal whitespace.
49349         * soft-fp/addsf3.c: Likewise.
49350         * soft-fp/addtf3.c: Likewise.
49351         * soft-fp/divdf3.c: Likewise.
49352         * soft-fp/divsf3.c: Likewise.
49353         * soft-fp/divtf3.c: Likewise.
49354         * soft-fp/double.h: Likewise.
49355         * soft-fp/eqdf2.c: Likewise.
49356         * soft-fp/eqsf2.c: Likewise.
49357         * soft-fp/eqtf2.c: Likewise.
49358         * soft-fp/extenddftf2.c: Likewise.
49359         * soft-fp/extended.h: Likewise.
49360         * soft-fp/extendsfdf2.c: Likewise.
49361         * soft-fp/extendsftf2.c: Likewise.
49362         * soft-fp/extendxftf2.c: Likewise.
49363         * soft-fp/fixdfdi.c: Likewise.
49364         * soft-fp/fixdfsi.c: Likewise.
49365         * soft-fp/fixdfti.c: Likewise.
49366         * soft-fp/fixsfdi.c: Likewise.
49367         * soft-fp/fixsfsi.c: Likewise.
49368         * soft-fp/fixsfti.c: Likewise.
49369         * soft-fp/fixtfdi.c: Likewise.
49370         * soft-fp/fixtfsi.c: Likewise.
49371         * soft-fp/fixtfti.c: Likewise.
49372         * soft-fp/fixunsdfdi.c: Likewise.
49373         * soft-fp/fixunsdfsi.c: Likewise.
49374         * soft-fp/fixunsdfti.c: Likewise.
49375         * soft-fp/fixunssfdi.c: Likewise.
49376         * soft-fp/fixunssfsi.c: Likewise.
49377         * soft-fp/fixunssfti.c: Likewise.
49378         * soft-fp/fixunstfdi.c: Likewise.
49379         * soft-fp/fixunstfsi.c: Likewise.
49380         * soft-fp/fixunstfti.c: Likewise.
49381         * soft-fp/floatdidf.c: Likewise.
49382         * soft-fp/floatdisf.c: Likewise.
49383         * soft-fp/floatditf.c: Likewise.
49384         * soft-fp/floatsidf.c: Likewise.
49385         * soft-fp/floatsisf.c: Likewise.
49386         * soft-fp/floatsitf.c: Likewise.
49387         * soft-fp/floattidf.c: Likewise.
49388         * soft-fp/floattisf.c: Likewise.
49389         * soft-fp/floattitf.c: Likewise.
49390         * soft-fp/floatundidf.c: Likewise.
49391         * soft-fp/floatundisf.c: Likewise.
49392         * soft-fp/floatunditf.c: Likewise.
49393         * soft-fp/floatunsidf.c: Likewise.
49394         * soft-fp/floatunsisf.c: Likewise.
49395         * soft-fp/floatunsitf.c: Likewise.
49396         * soft-fp/floatuntidf.c: Likewise.
49397         * soft-fp/floatuntisf.c: Likewise.
49398         * soft-fp/floatuntitf.c: Likewise.
49399         * soft-fp/fmadf4.c: Likewise.
49400         * soft-fp/fmasf4.c: Likewise.
49401         * soft-fp/fmatf4.c: Likewise.
49402         * soft-fp/gedf2.c: Likewise.
49403         * soft-fp/gesf2.c: Likewise.
49404         * soft-fp/getf2.c: Likewise.
49405         * soft-fp/ledf2.c: Likewise.
49406         * soft-fp/lesf2.c: Likewise.
49407         * soft-fp/letf2.c: Likewise.
49408         * soft-fp/muldf3.c: Likewise.
49409         * soft-fp/mulsf3.c: Likewise.
49410         * soft-fp/multf3.c: Likewise.
49411         * soft-fp/negdf2.c: Likewise.
49412         * soft-fp/negsf2.c: Likewise.
49413         * soft-fp/negtf2.c: Likewise.
49414         * soft-fp/op-1.h: Likewise.
49415         * soft-fp/op-2.h: Likewise.
49416         * soft-fp/op-4.h: Likewise.
49417         * soft-fp/op-8.h: Likewise.
49418         * soft-fp/op-common.h: Likewise.
49419         * soft-fp/quad.h: Likewise.
49420         * soft-fp/single.h: Likewise.
49421         * soft-fp/soft-fp.h: Likewise.
49422         * soft-fp/sqrtdf2.c: Likewise.
49423         * soft-fp/sqrtsf2.c: Likewise.
49424         * soft-fp/sqrttf2.c: Likewise.
49425         * soft-fp/subdf3.c: Likewise.
49426         * soft-fp/subsf3.c: Likewise.
49427         * soft-fp/subtf3.c: Likewise.
49428         * soft-fp/truncdfsf2.c: Likewise.
49429         * soft-fp/trunctfdf2.c: Likewise.
49430         * soft-fp/trunctfsf2.c: Likewise.
49431         * soft-fp/trunctfxf2.c: Likewise.
49432         * soft-fp/unorddf2.c: Likewise.
49433         * soft-fp/unordsf2.c: Likewise.
49434         * soft-fp/unordtf2.c: Likewise.
49436 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49438         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49439         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49441 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49443         * elf/dl-libc.c: Clear initfini list after freeing.
49445 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49447         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49448         * soft-fp/addsf3.c: Likewise.
49449         * soft-fp/addtf3.c: Likewise.
49450         * soft-fp/divdf3.c: Likewise.
49451         * soft-fp/divsf3.c: Likewise.
49452         * soft-fp/divtf3.c: Likewise.
49453         * soft-fp/double.h: Likewise.
49454         * soft-fp/eqdf2.c: Likewise.
49455         * soft-fp/eqsf2.c: Likewise.
49456         * soft-fp/eqtf2.c: Likewise.
49457         * soft-fp/extenddftf2.c: Likewise.
49458         * soft-fp/extended.h: Likewise.
49459         * soft-fp/extendsfdf2.c: Likewise.
49460         * soft-fp/extendsftf2.c: Likewise.
49461         * soft-fp/extendxftf2.c: Likewise.
49462         * soft-fp/fixdfdi.c: Likewise.
49463         * soft-fp/fixdfsi.c: Likewise.
49464         * soft-fp/fixdfti.c: Likewise.
49465         * soft-fp/fixsfdi.c: Likewise.
49466         * soft-fp/fixsfsi.c: Likewise.
49467         * soft-fp/fixsfti.c: Likewise.
49468         * soft-fp/fixtfdi.c: Likewise.
49469         * soft-fp/fixtfsi.c: Likewise.
49470         * soft-fp/fixtfti.c: Likewise.
49471         * soft-fp/fixunsdfdi.c: Likewise.
49472         * soft-fp/fixunsdfsi.c: Likewise.
49473         * soft-fp/fixunsdfti.c: Likewise.
49474         * soft-fp/fixunssfdi.c: Likewise.
49475         * soft-fp/fixunssfsi.c: Likewise.
49476         * soft-fp/fixunssfti.c: Likewise.
49477         * soft-fp/fixunstfdi.c: Likewise.
49478         * soft-fp/fixunstfsi.c: Likewise.
49479         * soft-fp/fixunstfti.c: Likewise.
49480         * soft-fp/floatdidf.c: Likewise.
49481         * soft-fp/floatdisf.c: Likewise.
49482         * soft-fp/floatditf.c: Likewise.
49483         * soft-fp/floatsidf.c: Likewise.
49484         * soft-fp/floatsisf.c: Likewise.
49485         * soft-fp/floatsitf.c: Likewise.
49486         * soft-fp/floattidf.c: Likewise.
49487         * soft-fp/floattisf.c: Likewise.
49488         * soft-fp/floattitf.c: Likewise.
49489         * soft-fp/floatundidf.c: Likewise.
49490         * soft-fp/floatundisf.c: Likewise.
49491         * soft-fp/floatunsidf.c: Likewise.
49492         * soft-fp/floatunsisf.c: Likewise.
49493         * soft-fp/floatuntidf.c: Likewise.
49494         * soft-fp/floatuntisf.c: Likewise.
49495         * soft-fp/floatuntitf.c: Likewise.
49496         * soft-fp/fmadf4.c: Likewise.
49497         * soft-fp/fmasf4.c: Likewise.
49498         * soft-fp/fmatf4.c: Likewise.
49499         * soft-fp/gedf2.c: Likewise.
49500         * soft-fp/gesf2.c: Likewise.
49501         * soft-fp/getf2.c: Likewise.
49502         * soft-fp/ledf2.c: Likewise.
49503         * soft-fp/lesf2.c: Likewise.
49504         * soft-fp/letf2.c: Likewise.
49505         * soft-fp/muldf3.c: Likewise.
49506         * soft-fp/mulsf3.c: Likewise.
49507         * soft-fp/multf3.c: Likewise.
49508         * soft-fp/negdf2.c: Likewise.
49509         * soft-fp/negsf2.c: Likewise.
49510         * soft-fp/negtf2.c: Likewise.
49511         * soft-fp/op-1.h: Likewise.
49512         * soft-fp/op-2.h: Likewise.
49513         * soft-fp/op-4.h: Likewise.
49514         * soft-fp/op-8.h: Likewise.
49515         * soft-fp/op-common.h: Likewise.
49516         * soft-fp/quad.h: Likewise.
49517         * soft-fp/single.h: Likewise.
49518         * soft-fp/soft-fp.h: Likewise.
49519         * soft-fp/sqrtdf2.c: Likewise.
49520         * soft-fp/sqrtsf2.c: Likewise.
49521         * soft-fp/sqrttf2.c: Likewise.
49522         * soft-fp/subdf3.c: Likewise.
49523         * soft-fp/subsf3.c: Likewise.
49524         * soft-fp/subtf3.c: Likewise.
49525         * soft-fp/truncdfsf2.c: Likewise.
49526         * soft-fp/trunctfdf2.c: Likewise.
49527         * soft-fp/trunctfsf2.c: Likewise.
49528         * soft-fp/trunctfxf2.c: Likewise.
49529         * soft-fp/unorddf2.c: Likewise.
49530         * soft-fp/unordsf2.c: Likewise.
49531         * soft-fp/unordtf2.c: Likewise.
49533 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49535         [BZ #15672]
49536         * misc/error.c (error_tail): Fix possible buffer overflow.
49538 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49540         [BZ #13028]
49541         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49542         address.
49544 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49546         [BZ #832]
49547         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49548         testing pipefail option.
49550 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49552         * soft-fp/double.h: Indent preprocessor directives inside #if.
49553         * soft-fp/extended.h: Likewise.
49554         * soft-fp/op-2.h: Likewise.
49555         * soft-fp/op-4.h: Likewise.
49556         * soft-fp/op-common.h: Likewise.
49557         * soft-fp/quad.h: Likewise.
49558         * soft-fp/single.h: Likewise.
49559         * soft-fp/soft-fp.h: Likewise.
49561 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49563         * iconv/iconv_prog.c: Fix typos.
49564         * stdio-common/psiginfo-data.h: Likewise.
49566 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49568         [BZ #15764]
49569         * locale/setlocale.c: Fix typo.
49571 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49573         [BZ #16036]
49574         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49575         signaling NaN arguments.
49576         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49577         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49579         [BZ #14910]
49580         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49581         unordered operands.
49582         * soft-fp/gesf2.c (__gesf2): Likewise.
49583         * soft-fp/getf2.c (__getf2): Likewise.
49584         * soft-fp/ledf2.c (__ledf2): Likewise.
49585         * soft-fp/lesf2.c (__lesf2): Likewise.
49586         * soft-fp/letf2.c (__letf2): Likewise.
49588         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49589         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49590         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49591         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49592         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49593         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49594         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49595         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49596         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49597         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49598         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49599         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49600         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49601         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49602         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49603         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49604         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49605         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49606         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49607         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49608         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49609         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49610         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49611         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49612         * soft-fp/floattidf.c (__floattidf): Likewise.
49613         * soft-fp/floattisf.c (__floattisf): Likewise.
49614         * soft-fp/floattitf.c (__floattitf): Likewise.
49615         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49616         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49617         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49618         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49619         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49620         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49621         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49622         * soft-fp/gesf2.c (__gesf2): Likewise.
49623         * soft-fp/getf2.c (__getf2): Likewise.
49624         * soft-fp/ledf2.c (__ledf2): Likewise.
49625         * soft-fp/lesf2.c (__lesf2): Likewise.
49626         * soft-fp/letf2.c (__letf2): Likewise.
49628         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49629         Undefine and redefine.
49630         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49631         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49632         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49633         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49634         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49635         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49636         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49637         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49638         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49639         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49640         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49641         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49642         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49643         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49644         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49646         [BZ #16032]
49647         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49648         without decrementing exponent if mantissa >= that for the
49649         denominator, not >.
49650         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49651         denominator, not >.  Decrement exponent in < case instead of
49652         incrementing in >= case.
49653         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49654         without decrementing exponent if mantissa >= that for the
49655         denominator, not >.
49657         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49658         computing saturated result for unsigned overflow.
49660 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49661             Jeff Law  <law@redhat.com>
49663         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49664         (atan2Mp): Add systemtap probe marker.
49665         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49666         (__ieee754_log): Add systemtap probe marker.
49667         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49668         (atanMp): Add systemtap probe marker.
49669         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49670         (tanMp): Add systemtap probe marker.
49671         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49672         (__slowexp): Add systemtap probe marker.
49673         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49674         (__slowpow): Add systemtap probe marker.
49675         * manual/probes.texi: Document probes.
49677 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49679         [BZ #15362]
49680         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49681         written.
49682         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49683         written.
49684         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49685         written to buffer but not flushed.
49686         * libio/iofwrite_u.c:  Likewise.
49687         * libio/iopadn.c:  Return bytes returned even if EOF was
49688         encountered.
49689         * libio/iowpadn.c:  Likewise.
49690         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49691         if _IO_padn does not write the whole buffer.
49692         [!COMPILE_WPRINTF] (PAD): Likewise.
49694 2013-10-10  David S. Miller  <davem@davemloft.net>
49696         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49697         directory block.
49699 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49701         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49702         instead of FSF address.
49703         * soft-fp/fixdfti.c: Likewise.
49704         * soft-fp/fixsfti.c: Likewise.
49705         * soft-fp/fixtfti.c: Likewise.
49706         * soft-fp/fixunsdfti.c: Likewise.
49707         * soft-fp/fixunssfti.c: Likewise.
49708         * soft-fp/fixunstfti.c: Likewise.
49709         * soft-fp/floattidf.c: Likewise.
49710         * soft-fp/floattisf.c: Likewise.
49711         * soft-fp/floattitf.c: Likewise.
49712         * soft-fp/floatuntidf.c: Likewise.
49713         * soft-fp/floatuntisf.c: Likewise.
49714         * soft-fp/floatuntitf.c: Likewise.
49715         * soft-fp/trunctfxf2.c: Likewise.
49717         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49718         * soft-fp/fixdfti.c: Likewise.
49719         * soft-fp/fixsfti.c: Likewise.
49720         * soft-fp/fixtfti.c: Likewise.
49721         * soft-fp/fixunsdfti.c: Likewise.
49722         * soft-fp/fixunssfti.c: Likewise.
49723         * soft-fp/fixunstfti.c: Likewise.
49724         * soft-fp/floattidf.c: Likewise.
49725         * soft-fp/floattisf.c: Likewise.
49726         * soft-fp/floattitf.c: Likewise.
49727         * soft-fp/floatuntidf.c: Likewise.
49728         * soft-fp/floatuntisf.c: Likewise.
49729         * soft-fp/floatuntitf.c: Likewise.
49730         * soft-fp/trunctfxf2.c: Likewise.
49732 2013-10-10  David S. Miller  <davem@davemloft.net>
49734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49736 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49738         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49739         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49740         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49741         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49742         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49743         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49744         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49746         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49747         for NaNs before doing comparisons on argument.
49748         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49749         Likewise.
49751 2013-10-10  Will Newton  <will.newton@linaro.org>
49753         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49754         passed to _int_memalign does not overflow.
49756 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49758         * scripts/bench.pl: Add include-sources directive.
49759         * benchtests/README: Update documentation.
49761 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49763         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49764         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49765         instead of FP_INIT_ROUNDMODE.
49766         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49767         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49769         [BZ #16034]
49770         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49771         copy class of input value.
49772         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49773         not handle exceptions.
49774         * soft-fp/negsf2.c (__negsf2): Likewise.
49775         * soft-fp/negtf2.c (__negtf2): Likewise.
49776         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49778 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49780         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49781         semicolon.  From Linux kernel.
49783 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49785         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49787 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49789         [BZ #156]
49790         * manual/socket.texi: Added statement about buffer
49791         for gethostbyname2_r.
49793 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49795         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49796         Use .p2align directive instead, throughout.
49797         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49798         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49799         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49800         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49801         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49802         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49803         * sysdeps/x86_64/strchr.S: Likewise.
49804         * sysdeps/x86_64/strrchr.S: Likewise.
49806 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49808         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49810         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49812         * sysdeps/generic/math_private.h (__mpsin1): Remove
49813         declaration.
49814         (__mpcos1): Likewise.
49815         (__mpsin): New argument __range_reduce.
49816         (__mpcos): Likewise.
49817         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49818         (slow): Use __mpsin and __mpcos.
49819         (slow1): Likewise.
49820         (slow2): Likewise.
49821         (sloww): Likewise.
49822         (sloww1): Likewise.
49823         (sloww2): Likewise.
49824         (bsloww): Likewise.
49825         (bsloww1): Likewise.
49826         (bsloww2): Likewise.
49827         (cslow2): Likewise.
49828         (csloww): Likewise.
49829         (csloww1): Likewise.
49830         (csloww2): Likewise.
49831         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49832         range_reduce.  Merge in __mpsin1.
49833         (__mpcos): Likewise.
49834         (__mpsin1): Remove.
49835         (__mpcos1): Likewise.
49837 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49839         * locale/loadlocale.c (_nl_intern_locale_data): Use
49840         LOCFILE_ALIGNED_P.
49841         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49842         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49843         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49844         obstack data is appropriately aligned.
49845         (obstack_int32_grow_fast): Likewise.
49846         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49847         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49848         (add_locale_uint32_array): Likewise.
49850 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49852         * benchtests/Makefile: Remove ARGLIST and RET variables.
49853         ($(objpfx)bench-%.c): Pass only function name to the script.
49854         * benchtests/README: Update documentation.
49855         * benchtests/acos-inputs: Add new directives.
49856         * benchtests/acosh-inputs: Likewise.
49857         * benchtests/asin-inputs: Likewise.
49858         * benchtests/asinh-inputs: Likewise.
49859         * benchtests/atan-inputs: Likewise.
49860         * benchtests/atanh-inputs: Likewise.
49861         * benchtests/cos-inputs: Likewise.
49862         * benchtests/cosh-inputs: Likewise.
49863         * benchtests/exp-inputs: Likewise.
49864         * benchtests/log-inputs: Likewise.
49865         * benchtests/pow-inputs: Likewise.
49866         * benchtests/rint-inputs: Likewise.
49867         * benchtests/sin-inputs: Likewise.
49868         * benchtests/sinh-inputs: Likewise.
49869         * benchtests/tan-inputs: Likewise.
49870         * benchtests/tanh-inputs: Likewise.
49871         * scripts/bench.pl: Add support for new directives.
49873 2013-10-07  Alan Modra  <amodra@gmail.com>
49875         * README: Fix careless merge.
49877 2013-10-05  Alan Modra  <amodra@gmail.com>
49879         * NEWS: Mention powerpc64le support and bugs fixed.
49880         * README: Both big-endian and little-endian powerpc64 supported.
49882 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49884         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49885         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49886         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49887         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49889 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49891         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49892         match prototype.
49894 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49896         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49897         Move -mhard-float appending from
49898         ports/sysdeps/powerpc/powerpc32/Makefile.
49899         [$(with-fp) = yes] (ASFLAGS): Likewise.
49900         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49901         * sysdeps/powerpc/nofpu: Move directory from
49902         ports/sysdeps/powerpc/nofpu.
49903         * sysdeps/powerpc/soft-fp: Move directory from
49904         ports/sysdeps/powerpc/soft-fp.
49905         * sysdeps/powerpc/powerpc32/405: Move directory from
49906         ports/sysdeps/powerpc/powerpc32/405.
49907         * sysdeps/powerpc/powerpc32/440: Move directory from
49908         ports/sysdeps/powerpc/powerpc32/440.
49909         * sysdeps/powerpc/powerpc32/464: Move directory from
49910         ports/sysdeps/powerpc/powerpc32/464.
49911         * sysdeps/powerpc/powerpc32/476: Move directory from
49912         ports/sysdeps/powerpc/powerpc32/476.
49913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49914         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49916         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49918         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49920         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49922         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49923         * README: Update for powerpc-*-linux-gnu software floating point
49924         support in libc.
49926         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49927         case to powerpc/powerpc32*.
49928         * sysdeps/unix/sysv/linux/configure: Regenerated.
49930         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49931         (_FPU_MASK_OM): Define as 0x04.
49932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49934         0x00c10080.
49935         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49936         0x0000003c.
49937         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49940         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49941         getcontext_e500.
49942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49943         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49944         setcontext_e500.
49945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49946         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49947         and setcontext_e500.
49949 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49951         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49953 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49955         * manual/threads.texi (Default Thread Attributes): Fix typo.
49957 2013-10-04  Will Newton  <will.newton@linaro.org>
49959         * malloc/Makefile: Add tst-memalign.
49960         * malloc/tst-memalign.c: New file.
49962         * malloc/tst-posix_memalign.c: Add comments.
49963         (do_test): Add comments and call free on all potentially
49964         allocated pointers. Add space after cast.
49966         * malloc/tst-pvalloc.c: Add comments.
49967         (do_test): Add comments and call free on all potentially
49968         allocated pointers. Remove duplicate check for NULL pointer.
49969         Add space after cast.
49971         * malloc/tst-valloc.c: Add comments.
49972         (do_test): Add comments and call free on all potentially
49973         allocated pointers. Remove duplicate check for NULL pointer.
49974         Add space after cast.
49976 2013-10-04  Alan Modra  <amodra@gmail.com>
49978         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49979         Use stdint types in rather than __attribute__((mode())).
49980         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49982 2013-10-04  Alan Modra  <amodra@gmail.com>
49984         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49985         Correct handling of unaligned relocs for little-endian.
49986         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49988 2013-10-04  Alan Modra  <amodra@gmail.com>
49990         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49991         * configure: Regenerate.
49992         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49993         * shlib-versions: Likewise.
49995 2013-10-04  Alan Modra  <amodra@gmail.com>
49997         * string/tester.c (test_memrchr): Increment reported test cycle.
49999 2013-10-04  Alan Modra  <amodra@gmail.com>
50001         * string/test-memcpy.c (do_one_test): When reporting errors, print
50002         string address and don't overrun end of string.
50004 2013-10-04  Alan Modra  <amodra@gmail.com>
50006         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
50007         insrdi.  Make better use of reg selection to speed exit slightly.
50008         Schedule entry path a little better.  Remove useless "are we done"
50009         checks on entry to main loop.  Handle wrapping around zero address.
50010         Correct main loop count.  Handle single left-over word from main
50011         loop inline rather than by using loop_small.  Remove extra word
50012         case in loop_small caused by wrong loop count.  Add little-endian
50013         support.
50014         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50015         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
50016         cache hint.
50017         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50018         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
50019         support.  Avoid rlwimi.
50020         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
50022 2013-10-04  Alan Modra  <amodra@gmail.com>
50024         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
50025         insrdi.  Formatting.
50026         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
50027         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50028         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
50029         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50030         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50031         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
50033 2013-10-04  Alan Modra  <amodra@gmail.com>
50035         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
50036         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50037         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
50038         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
50039         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50040         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50041         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50042         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50043         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
50044         use of regs.  Use power7 mtocrf.  Tidy function tails.
50046 2013-10-04  Alan Modra  <amodra@gmail.com>
50048         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
50049         Formatting.  Consistently use rXXX register defines or rN defines.
50050         Use early exit labels that avoid restoring unused non-volatile regs.
50051         Make cr field use more consistent with rWORDn compares.  Rename
50052         regs used as shift registers for unaligned loop, using rN defines
50053         for short lifetime/multiple use regs.
50054         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50055         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
50056         addi 1,1,64 to pop stack frame.  Simplify return value code.
50057         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50059 2013-10-04  Alan Modra  <amodra@gmail.com>
50061         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
50062         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
50063         rather than rlwimi.
50064         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
50065         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
50066         little-endian support.  Correct typos.
50067         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
50068         rather than rlwimi.
50069         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
50070         in loop and entry code to keep "and." results.
50071         (strchr): Add little-endian support.  Comment.  Move cntlzd
50072         earlier in tail.
50073         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
50075 2013-10-04  Alan Modra  <amodra@gmail.com>
50077         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
50078         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
50079         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
50080         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
50082 2013-10-04  Alan Modra  <amodra@gmail.com>
50084         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
50085         (rTMP): Define as r11.
50086         (strcmp): Add little-endian support.  Optimise tail.
50087         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
50088         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50089         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50090         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50091         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50092         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50093         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50095 2013-10-04  Alan Modra  <amodra@gmail.com>
50097         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
50098         little-endian support.  Remove unnecessary "are we done" tests.
50099         Handle "s" wrapping around zero and extremely large "size".
50100         Correct main loop count.  Handle single left-over word from main
50101         loop inline rather than by using small_loop.  Correct comments.
50102         Delete "zero" tail, use "end_max" instead.
50103         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
50105 2013-10-04  Alan Modra  <amodra@gmail.com>
50107         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
50108         support.  Don't branch over align.
50109         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
50110         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
50111         support.  Rearrange tmp reg use to suit.  Comment.
50112         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
50114 2013-10-04  Alan Modra  <amodra@gmail.com>
50116         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
50118 2013-10-04  Alan Modra  <amodra@gmail.com>
50120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
50121         conditional form of branch and link when obtaining pc.
50122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
50124 2013-10-04  Alan Modra  <amodra@gmail.com>
50126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
50127         HIWORD/LOWORD.
50128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
50129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
50131 2013-10-04  Alan Modra  <amodra@gmail.com>
50133         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
50134         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
50135         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
50136         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
50137         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
50138         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50139         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
50140         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50141         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
50142         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
50144 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50145             Alistair Popple <alistair@ozlabs.au.ibm.com>
50146             Alan Modra <amodra@gmail.com>
50148         [BZ #15723]
50149         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
50150         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
50151         _dl_hwcap access for little-endian.
50152         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
50153         destroy vmx regs when saving unaligned.
50154         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
50155         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
50156         destroy vmx regs when saving unaligned.
50158 2013-10-04  Alan Modra  <amodra@gmail.com>
50160         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
50161         Don't use a union to pack hi/low value.
50163 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50165         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
50166         for little-endian.
50167         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50168         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
50169         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50170         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50171         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50173 2013-10-04  Alan Modra  <amodra@gmail.com>
50175         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
50176         constants to usual value for .cst8 section, and remove redundant
50177         high address load.
50178         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
50179         constant for 0x1p52.  Load little-endian words of double from
50180         correct stack offsets.
50182 2013-10-04  Alan Modra  <amodra@gmail.com>
50184         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
50185         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
50186         words of double from correct stack offsets.
50187         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
50188         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
50189         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50190         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50191         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50192         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50193         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50194         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
50195         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
50196         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50197         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50198         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50199         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50200         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50201         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50202         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
50203         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
50205 2013-10-04  Alan Modra  <amodra@gmail.com>
50207         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
50208         64-bit int/double union.
50209         (_FPU_SETCW): Likewise.
50210         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
50211         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
50213 2013-10-04  Alan Modra  <amodra@gmail.com>
50215         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
50216         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
50218 2013-10-04  Alan Modra  <amodra@gmail.com>
50220         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
50221         use vector int constants.
50222         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
50224 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50226         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
50227         array with long long.
50228         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
50229         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
50230         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
50231         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
50232         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
50233         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
50234         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
50235         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
50236         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
50237         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
50238         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
50239         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
50240         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
50242 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50244         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
50245         (__signbit): Likewise.  Correct for little-endian.
50246         (__signbitl): Call __signbit.
50247         (lrint): Correct for little-endian.
50248         (lrintf): Call lrint.
50250 2013-10-04  Alan Modra  <amodra@gmail.com>
50252         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
50253         union 32-bit int array member with 64-bit int array.
50254         (t515, tm256): Double rather than long double.
50255         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
50257 2013-10-04  Alan Modra  <amodra@gmail.com>
50259         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
50260         Delete.
50261         (IEEE854_LONG_DOUBLE_BIAS): Delete.
50262         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
50263         version of math_ldbl.h.
50265 2013-10-04  Alan Modra  <amodra@gmail.com>
50267         [BZ #15734], [BZ #15735]
50268         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
50269         all uses of ieee875 long double macros and unions.  Simplify test
50270         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
50271         ldbl_extract_mantissa value for ix,iy exponents.  Properly
50272         normalize after ldbl_extract_mantissa, and don't add hidden bit
50273         already handled.  Don't treat low word of ieee854 mantissa like
50274         low word of IBM long double and mask off bit when testing for
50275         zero.
50276         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
50277         all uses of ieee875 long double macros and unions.  Simplify tests
50278         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
50279         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
50280         two1022, instead use their values.  Recognise that tests for large
50281         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
50282         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
50283         Rewrite all uses of ieee875 long double macros and unions.  Simplify
50284         test for 0.0L and nan.  Correct negation.
50285         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
50286         ieee875 long double macros and unions.  Correct output for large
50287         magnitude x.  Correct absolute value calculation.
50288         (__erfcl): Likewise.
50289         * math/libm-test.inc: Add tests for errors discovered in IBM long
50290         double versions of fmodl, remainderl, erfl and erfcl.
50292 2013-10-04  Alan Modra  <amodra@gmail.com>
50294         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50295         all uses of ieee854 long double macros and unions.  Simplify tests
50296         for long doubles that are fully specified by the high double.
50297         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50298         Likewise.
50299         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50300         Remove dead code too.
50301         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50302         (__ieee754_ynl): Likewise.
50303         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50304         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50305         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50306         Remove dead code too.
50307         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50308         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50309         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50310         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50311         Simplify.
50312         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50313         Simplify.
50314         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50315         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50316         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50317         Comment on variable precision.
50318         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50319         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50320         Likewise.
50321         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50322         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50323         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50324         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50325         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50327 2013-10-04  Alan Modra  <amodra@gmail.com>
50329         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50330         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50331         all uses of ieee854 long double macros and unions.
50332         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50333         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50334         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50335         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50336         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50337         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50338         Likewise.
50339         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50340         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50341         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50342         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50343         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50344         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50345         Simplify sign and nan test too.
50346         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50347         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50348         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50349         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50350         Likewise.
50351         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50352         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50353         Likewise.
50354         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50355         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50356         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50357         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50358         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50361 2013-10-04  Alan Modra  <amodra@gmail.com>
50363         * stdio-common/printf_size.c (__printf_size): Don't use
50364         union ieee854_long_double in fpnum union.
50365         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50366         signbit macro to retrieve sign from long double.
50367         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50368         retrieve sign from long double.
50369         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50370         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50371         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50372         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50373         * math/test-misc.c (main): Don't use union ieee854_long_double.
50375 2013-10-04  Alan Modra  <amodra@gmail.com>
50377         [BZ #15680]
50378         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50379         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50380         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50381         calculation.  Remove unnecessary test for denormal exponent.
50382         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50383         Correct handling of denormals.  Avoid undefined shift behaviour.
50384         Correct normalisation of low mantissa when low double is denormal.
50385         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50386         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50387         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50388         Correct normalisation of low mantissa.  Test for overflow of high
50389         mantissa and normalise.
50390         (ldbl_nearbyint): Use more readable constant for two52.
50391         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50392         (__mpn_construct_long_double): Fix test for overflow of high
50393         mantissa and correct normalisation.  Avoid undefined shift.
50395 2013-10-04  Alan Modra  <amodra@gmail.com>
50397         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50398         (union ibm_extended_long_double): Define as an array of ieee754_double.
50399         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50400         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50401         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50402         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50403         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50404         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50406         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50407         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50408         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50409         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50411 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50413         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50414         page size instead of calling getpagesize.
50416         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50417         (LOCFILE_ALIGN_MASK): Likewise.
50418         (LOCFILE_ALIGN_UP): Likewise.
50419         (LOCFILE_ALIGNED_P): Likewise.
50420         * locale/programs/ld-collate.c (collate_output): Use the new
50421         macros instead of __alignof__ (int32_t).
50422         * locale/weight.h (findidx): Likewise.
50424 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50426         [BZ #431]
50427         * manual/string.texi: Fix strncat and wcsncat.
50429 2013-10-03  Brooks Moses  <bmoses@google.com>
50431         [BZ #15915]
50432         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50433         * Makerules: ...here, and adjust associated comments.
50435 2013-10-02  Will Newton  <will.newton@linaro.org>
50437         * malloc/Makefile: Add tst-pvalloc.
50438         * malloc/tst-pvalloc.c: New file.
50440 2013-10-02  Will Newton  <will.newton@linaro.org>
50442         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50443         improve test coverage.
50445 2013-10-02  Will Newton  <will.newton@linaro.org>
50447         * malloc/Makefile: Add tst-posix_memalign.
50448         * malloc/tst-posix_memalign.c: New file.
50450 2013-10-01  Eric Blake  <eblake@redhat.com>
50452         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50453         Use __THROWNL rather than __THROW on static functions.
50455 2013-09-30  Petr Machata  <pmachata@redhat.com>
50457         * elf/elf.h (R_AARCH64_ABS16): New macro.
50458         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50459         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50460         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50461         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50462         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50463         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50464         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50465         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50466         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50467         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50468         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50469         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50470         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50471         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50472         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50473         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50474         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50475         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50476         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50477         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50478         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50479         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50480         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50481         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50482         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50483         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50484         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50485         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50486         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50487         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50488         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50489         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50490         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50491         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50492         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50493         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50494         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50495         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50496         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50497         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50498         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50499         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50500         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50501         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50502         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50503         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50504         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50505         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50506         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50507         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50508         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50509         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50510         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50511         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50512         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50513         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50514         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50515         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50516         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50517         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50518         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50519         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50520         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50521         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50522         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50523         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50524         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50525         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50526         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50527         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50528         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50529         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50530         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50531         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50532         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50533         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50534         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50535         (R_AARCH64_TLSDESC_LDR): Likewise.
50536         (R_AARCH64_TLSDESC_ADD): Likewise.
50537         (R_AARCH64_TLSDESC_CALL): Likewise.
50539 2013-09-30  Andreas Schwab  <schwab@suse.de>
50541         [BZ #15048]
50542         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50543         the nss database lookup.
50544         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50547 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50549         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50551 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50553         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50554         ${Bash-specific parameter/pattern/string} parameter expansion.
50555         * sysdeps/unix/make-syscalls.sh: Likewise.
50557 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50559         * sysdeps/sh/stackguard-macros.h: New file.
50561 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50565         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50566         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50567         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50568         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50570 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50572         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50573         Fix thread ID register.
50575 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50577         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50578         [POSIX || UNIX98]: Require rather than permitting all symbols from
50579         <time.h>.
50580         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50581         element of struct sched_param.
50582         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50583         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50584         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50585         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50586         constant.
50588 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50590         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50591         argument calculation.
50593 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50595         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50596         Expect macro.
50597         [POSIX] (pthread_attr_t): Do not require type.
50598         [POSIX] (pthread_cond_t): Likewise.
50599         [POSIX] (pthread_condattr_t): Likewise.
50600         [POSIX] (pthread_key_t): Likewise.
50601         [POSIX] (pthread_mutex_t): Likewise.
50602         [POSIX] (pthread_mutexattr_t): Likewise.
50603         [POSIX] (pthread_once_t): Likewise.
50604         [POSIX] (pthread_t): Likewise.
50605         [POSIX-based standards] (pthread_atfork): Expect function.
50607 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50608             Richard Sandiford  <richard@codesourcery.com>
50610         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50611         (swap_endianness_p): New extern variable.
50612         (set_big_endian): New inline function.
50613         (maybe_swap_uint32): Likewise.
50614         (maybe_swap_uint32_array): Likewise.
50615         (maybe_swap_uint32_obstack): Likewise.
50616         * locale/programs/locfile.c: Include <stdbool.h>.
50617         (swap_endianness_p): New variable.
50618         (add_locale_uint32): Call maybe_swap_uint32.
50619         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50620         (write_locale_data): Call maybe_swap_uint32_array.
50621         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50622         maybe_swap_uint32.
50623         (obstack_int32_grow_fast): Likewise.
50624         (output_weightwc): Call maybe_swap_uint32_obstack.
50625         (collate_output): Likewise.
50626         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50627         (OPT_LITTLE_ENDIAN): Likewise.
50628         (options): Add --little-endian and --big-endian options.
50629         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50630         * locale/programs/locarchive.c: Include "locfile.h".
50631         (GET): New macro.
50632         (SET): Likewise.
50633         (INC): Likewise.
50634         (create_archive): Use the new macros to access fields of
50635         structures directly mapped from or written to locale archives.
50636         (oldlocrecentcmp): Likewise.
50637         (enlarge_archive): Likewise.
50638         (insert_name): Likewise.
50639         (add_alias): Likewise.
50640         (add_locale): Likewise.
50641         (delete_locales_from_archive): Likewise.
50642         (show_archive_content): Likewise.
50643         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50644         locale data.
50646 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50648         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50649         http://www.gnu.org/doc/freemanuals.texi.
50650         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50652 2013-09-24  Will Newton  <will.newton@linaro.org>
50654         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50655         macro.
50657 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50659         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50660         unsigned char.
50662 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50664         * manual/threads.texi (POSIX Threads): Fix a typo.
50666 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50668         [BZ #14547]
50669         * string/tst-strcoll-overflow.c: New test case.
50670         * string/Makefile (xtests): Add tst-strcoll-overflow.
50671         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50672         cache if string sizes may cause integer overflow.
50674         [BZ #14547]
50675         * string/strcoll_l.c (coll_seq): New members rule, idx,
50676         save_idx and back_us.
50677         (get_next_seq_nocache): New function.
50678         (do_compare_nocache): New function.
50679         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50680         when malloc fails.
50682 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50684         [BZ #15754]
50685         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50686         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50687         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50689         [BZ #15754]
50690         * elf/Makefile (tests): Add tst-ptrguard1.
50691         (tests-static): Add tst-ptrguard1-static.
50692         (tst-ptrguard1-ARGS): Define.
50693         (tst-ptrguard1-static-ARGS): Define.
50694         * elf/tst-ptrguard1.c: New file.
50695         * elf/tst-ptrguard1-static.c: New file.
50696         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50697         * sysdeps/i386/stackguard-macros.h: Likewise.
50698         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50699         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50700         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50701         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50702         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50703         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50705 2013-09-23  Hector Marco  <hecmargi@upv.es>
50706             Ismael Ripoll  <iripoll@disca.upv.es>
50707             Carlos O'Donell  <carlos@redhat.com>
50709         [BZ #15754]
50710         * sysdeps/generic/stackguard-macros.h: Define
50711         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50712         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50713         Define __pointer_chk_guard_local.
50714         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50715         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50717 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50719         [BZ #15859]
50720         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50722 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50724         * include/string.h (__ffs): Declare as hidden.
50725         * string/ffs.c (__ffs): Define as hidden.
50726         * sysdeps/i386/ffs.c (__ffs): Likewise.
50727         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50728         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50729         * sysdeps/s390/ffs.c (__ffs): Likewise.
50730         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50732 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50734         * NEWS: Mention malloc probes.
50736         * malloc/arena.c (new_heap): New memory_heap_new probe.
50737         (grow_heap): New memory_heap_more probe.
50738         (shrink_heap): New memory_heap_less probe.
50739         (heap_trim): New memory_heap_free probe.
50740         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50741         (systrim): New memory_sbrk_less probe.
50742         * manual/probes.texi: Document them.
50744         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50745         * manual/probes.texi: Document it.
50747         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50748         (__libc_realloc): Add memory_realloc_retry probe.
50749         (__libc_memalign): Add memory_memalign_retry probe.
50750         (__libc_valloc): Add memory_valloc_retry probe.
50751         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50752         (__libc_calloc): Add memory_calloc_retry probe.
50753         * manual/probes.texi: Document them.
50755         * malloc/arena.c (get_free_list): Add probe
50756         memory_arena_reuse_free_list.
50757         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50758         and memory_arena_reuse.
50759         (arena_get2) [!PER_THREAD]: Likewise.
50760         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50761         memory_arena_reuse_realloc.
50762         * manual/probes.texi: Document them.
50764         * malloc/malloc.c (__libc_free): Add
50765         memory_mallopt_free_dyn_thresholds probe.
50766         (__libc_mallopt): Add multiple memory_mallopt probes.
50767         * manual/probes.texi: Document them.
50769         * malloc/malloc.c: Include stap-probe.h.
50770         (__libc_mallopt): Add memory_mallopt probe.
50771         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50772         * manual/probes.texi: New.
50773         * manual/Makefile (chapters): Add probes.
50774         * manual/threads.texi: Set next node.
50776 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50778         [BZ #15963, #13985]
50779         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50780         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50781         Add `Chinese' to `nan' entry name.
50783 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50785         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50786         (POLYNOMIAL): Likewise.
50787         (TAYLOR_SINCOS): Likewise.
50788         (TAYLOR_SLOW): Likewise.
50789         (__sin): Use TAYLOR_SINCOS.
50790         (__cos): Likewise.
50791         (slow): Use TAYLOR_SLOW.
50792         (sloww): Likewise.
50793         (bsloww): Likewise.
50794         (csloww): Likewise.
50796 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50798         * stdlib/strtod_l.c: Fix buffer overrun.
50800 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50802         * benchtests/Makefile (bench): Add sincos.
50803         * benchtests/bench-sincos.c: New file.
50805         * math/libm-test.inc (cos_test_data): New test inputs.
50806         (sin_test_data): Likewise.
50808         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50809         macro.
50810         (__sin): Use it.
50811         (__cos): Likewise.
50812         (slow1): Likewise.
50813         (slow2): Likewise.
50814         (sloww1): Likewise.
50815         (sloww2): Likewise.
50816         (bsloww1): Likewise.
50817         (bsloww2): Likewise.
50818         (cslow2): Likewise.
50819         (csloww1): Likewise.
50820         (csloww2): Likewise.
50822         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50823         function.
50824         (__sin): Use it.
50825         (__cos): Likewise.
50827         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50828         gotos.
50829         (__cos): Likewise.
50831 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50833         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50834         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50835         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50836         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50837         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50838         * elf/cache.c (print_entry): Handle the new cache flags.
50840 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50841             Aldy Hernandez  <aldyh@redhat.com>
50843         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50844         Change condition to [_SOFT_FLOAT].
50845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50848         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50849         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50851         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50857         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50860         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50861         declaration.
50863 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50865         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50866         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50867         (__longjmp): Use LOAD_GP to load saved GPRs.
50868         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50869         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50870         (__sigsetjmp): Use SAVE_GP to save GPRs.
50872         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50873         Do not append -msoft-float.
50874         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50876 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50878         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50880 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50882         [BZ #15966]
50883         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50884         (_FPU_GETCW): Use initial "__" on variable and field names but not
50885         on macro parameter name.
50886         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50887         parentheses around reference to macro parameter.
50889 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50891         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50892         prototype.
50893         (ctype_startup): Use uint32_t in cast and sizeof for
50894         ctype->charnames.
50896 2013-09-11  Jia Liu  <proljc@gmail.com>
50898         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50899         __daddr_t_defined.
50900         [__FreeBSD__]: Likewise.
50902 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50904         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50905         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50906         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50907         (strchr): Remove __strchr_sse42 ifunc selection.
50908         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50909         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50911 2013-09-11  Will Newton  <will.newton@linaro.org>
50913         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50914         parameter to RES. Remove hardcoded 1000 value.
50915         * benchtests/bench-skeleton.c (main): Pass RES parameter
50916         to TIMING_INIT and multiply result by 1000.
50918 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50922 2013-09-11  Andreas Schwab  <schwab@suse.de>
50924         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50925         if not defined.
50926         (O_TMPFILE) [__USE_GNU]: Define.
50927         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50928         Define.
50930 2013-09-11  Will Newton  <will.newton@linaro.org>
50932         [BZ #15857]
50933         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50934         does not overflow.
50936 2013-09-11  Will Newton  <will.newton@linaro.org>
50938         [BZ #15856]
50939         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50940         does not overflow.
50942 2013-09-11  Will Newton  <will.newton@linaro.org>
50944         [BZ #15855]
50945         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50946         does not overflow.
50948 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50950         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50951         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50952         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50953         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50954         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50956 2013-09-10  Allan McRae  <allan@archlinux.org>
50958         [BZ #15748]
50959         * manual/arith.texi (Parsing of Floats): Clarify
50960         cross-reference.
50962         [BZ #15849]
50963         * manual/install.texi (Running make install): Mention
50964         --enable-pt-chown.
50965         * INSTALL: Regenerated.
50967 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50969         * csu/init-first.c (_init): Remove the !SHARED condition around
50970         FPU control word initialization.
50971         * elf/dl-support.c (_dl_fpu_control): New variable.
50972         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50973         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50974         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50975         * math/test-fpucw-static.c: New file.
50976         * math/test-fpucw-ieee.c: New file.
50977         * math/test-fpucw-ieee-static.c: New file.
50978         * math/Makefile (tests): Add `test-fpucw-ieee' and
50979         `$(tests-static)'.
50980         (tests-static): New variable.
50981         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50982         dependency to...
50983         [($(build-shared),yes)]
50984         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50985         ... this.
50986         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50987         New dependency.
50989 2013-09-09  Allan McRae  <allan@archlinux.org>
50991         [BZ #15939]
50992         * manual/string.texi (Collation Functions): Fix typo in
50993         strcoll example.
50994         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50996         [BZ #15893]
50997         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50999         [BZ #15892]
51000         * libio/memstream.c (open_memstream): Fix memory leak.
51001         * libio/wmemstream.c (open_wmemstream): Likewise.
51003         [BZ #15895]
51004         * nscd/netgroupcache.c: Fix nesting of ifdefs.
51006 2013-09-09  Will Newton  <will.newton@linaro.org>
51008         * malloc/Makefile: Add tst-realloc to tests.
51009         * malloc/tst-realloc.c: New file.
51011 2013-09-09  Allan McRae  <allan@archlinux.org>
51013         [BZ #15844]
51014         * COPYING: Update from GNU website to fix FSF address.
51015         * COPYING.LIB: Likewise.
51017 2013-09-06  David S. Miller  <davem@davemloft.net>
51019         * po/zh_TW.po: Update Chinese (traditional) translation from
51020         translation project.
51022 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
51023             Joseph Myers  <joseph@codesourcery.com>
51025         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
51026         "localeinfo.h".
51027         (obstack_chunk_alloc): New macro.
51028         (obstack_chunk_free): Likewise.
51029         (record_offset): New function.
51030         (init_locale_data): Likewise.
51031         (align_locale_data): Likewise.
51032         (add_locale_empty): Likewise.
51033         (add_locale_raw_data): Likewise.
51034         (add_locale_raw_obstack): Likewise.
51035         (add_locale_string): Likewise.
51036         (add_locale_wstring): Likewise.
51037         (add_locale_uint32): Likewise.
51038         (add_locale_uint32_array): Likewise.
51039         (add_locale_char): Likewise.
51040         (start_locale_structure): Likewise.
51041         (end_locale_structure): Likewise.
51042         (start_locale_prelude): Likewise.
51043         (end_locale_prelude): Likewise.
51044         (write_locale_data): Take locale_file structure rather than an
51045         iovec.
51046         * locale/programs/locfile.h: Include "obstack.h".
51047         (struct locale_file): Change to store locale file contents instead
51048         of header.
51049         (init_locale_data): New prototype.
51050         (align_locale_data): Likewise.
51051         (add_locale_empty): Likewise.
51052         (add_locale_raw_data): Likewise.
51053         (add_locale_raw_obstack): Likewise.
51054         (add_locale_string): Likewise.
51055         (add_locale_wstring): Likewise.
51056         (add_locale_uint32): Likewise.
51057         (add_locale_uint32_array): Likewise.
51058         (add_locale_char): Likewise.
51059         (start_locale_structure): Likewise.
51060         (end_locale_structure): Likewise.
51061         (start_locale_prelude): Likewise.
51062         (end_locale_prelude): Likewise.
51063         (write_locale_data): Update prototype.
51064         * locale/programs/3level.h (struct TABLE): Remove result field.
51065         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
51066         Use new locale_file interface.
51067         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
51068         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
51069         * locale/programs/ld-address.c (address_output): Use new
51070         locale_file interface.
51071         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
51072         NO_ADD_LOCALE.
51073         (collate_finish): Don't call collseq_table_finalize.
51074         (collate_output): Use new locale_file interface.
51075         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
51076         in file.
51077         (NO_FINALIZE): Change to NO_ADD_LOCALE.
51078         (TABLE): Move defines earlier in file.
51079         (ELEMENT): Likewise.
51080         (DEFAULT): Likewise.
51081         (wctrans_table_add): Move macro and inline function earlier in
51082         file.
51083         (struct wctype_table): Move type earlier in file.
51084         (add_locale_wctype_table): New static prototype.
51085         (struct locale_ctype_t): Use logical types instead of struct iovec
51086         pointers for members.
51087         (ctype_output): Use new locale_file interface.
51088         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
51089         new locale_file interface.
51090         (allocate_arrays): Update for use of new locale_file interface.
51091         * locale/programs/ld-identification.c (identification_output): Use
51092         new locale_file interface.
51093         * locale/programs/ld-measurement.c (measurement_output): Likewise.
51094         * locale/programs/ld-messages.c (messages_output): Likewise.
51095         * locale/programs/ld-monetary.c (monetary_output): Likewise.
51096         * locale/programs/ld-name.c (name_output): Likewise.
51097         * locale/programs/ld-numeric.c (numeric_output): Likewise.
51098         * locale/programs/ld-paper.c (paper_output): Likewise.
51099         * locale/programs/ld-telephone.c (telephone_output): Likewise.
51100         * locale/programs/ld-time.c (time_output): Likewise.
51102 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51104         * benchtests/Makefile: Add memrchr benchmark.
51105         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
51106         benchmark as memrchr.
51107         * benchtests/bench-memrchr-ifunc.c: New file.
51108         * benchtests/bench-memrchr.c: New file.
51110 2013-09-06   Will Newton  <will.newton@linaro.org>
51112         * benchtests/Makefile (string-bench): Add memcpy.
51114 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
51115             Cong Wang  <amwang@redhat.com>
51117         [BZ #15850]
51118         * sysdeps/unix/sysv/linux/bits/in.h
51119         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
51120         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
51121         before __USE_KERNEL_IPV6_DEFS uses.
51122         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
51123         IPPROTO_BEETPH.
51124         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
51125         sockaddr_in6, or ipv6_mreq.
51127 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51129         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
51130         memory access for final bytes in some large inputs.
51131         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
51133 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51135         * string/test-memrchr.c: New file.
51136         * string/test-memrchr-ifunc.c: New file.
51137         * string/Makefile: Add new memrchr testcase.
51139 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
51141         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
51142         fanotify_init returns EPERM.
51144 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
51146         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
51147         errors.
51148         (top level): Treat second token from macro or constant entries for
51149         allowed headers as allowed.
51150         * include/complex.h: Condition internal declarations on
51151         [!_ISOMAC].
51152         * include/fenv.h: Condition include of <stdbool.h> and internal
51153         declarations on [!_ISOMAC].
51155 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
51157         [BZ #15923]
51158         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
51160 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
51162         * configure.in (--enable-versioning): Remove configure option.
51163         (libc_cv_asm_symver_directive): Remove configure test.
51164         (libc_cv_ld_version_script_option): Likewise.
51165         (VERSIONING): Remove variable and AC_SUBST.
51166         (DO_VERSIONING): Remove AC_DEFINE.
51167         * configure: Regenerated.
51168         * config.h.in (DO_VERSIONING): Remove macro.
51169         * Makerules [$(versioning) = yes]: Change conditionals to
51170         [$(build-shared) = yes].
51171         * config.make.in (versioning): Remove variable.
51172         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
51173         [$(build-shared) = yes].
51174         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
51175         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
51176         * elf/Makefile [$(versioning) = yes]: Change conditionals to
51177         [$(build-shared) = yes].
51178         * extra-lib.mk [$(versioning) = yes]: Likewise.
51179         * hurd/Makefile [$(versioning) = yes]: Likewise.
51180         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
51181         [SHARED].
51182         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
51183         [SHARED].
51184         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51185         [SHARED && !NO_HIDDEN].
51186         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
51187         [SHARED].
51188         [SHARED && DO_VERSIONING]: Likewise..
51189         * libio/Makefile [$(versioning) = yes]: Change conditionals to
51190         [$(build-shared) = yes].
51191         * manual/install.texi (--disable-versioning): Remove
51192         documentation.
51193         * INSTALL: Regenerated.
51194         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
51195         to [SHARED].
51196         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
51197         [$(build-shared) = yes].
51198         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
51199         * sysdeps/i386/i686/multiarch/strstr-c.c
51200         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51201         [SHARED && !NO_HIDDEN].
51202         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
51203         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
51204         * sysdeps/powerpc/powerpc32/dl-machine.c
51205         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
51206         * sysdeps/powerpc/powerpc32/sysdep.h
51207         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
51208         to [SHARED && PIC && !NO_HIDDEN].
51209         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
51210         conditional to [SHARED].
51212 2013-09-04   Will Newton  <will.newton@linaro.org>
51214         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
51215         * benchtests/bench-string.h: Include bench-timing.h instead
51216         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
51217         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
51218         call to HP_TIMING_DIFF_INIT.
51219         * benchtests/bench-memccpy.c: Use bench-timing.h macros
51220         instead of hp-timing.h macros.
51221         * benchtests/bench-memchr.c: Likewise.
51222         * benchtests/bench-memcmp.c: Likewise.
51223         * benchtests/bench-memcpy.c: Likewise.
51224         * benchtests/bench-memmem.c: Likewise.
51225         * benchtests/bench-memmove.c: Likewise.
51226         * benchtests/bench-memset.c: Likewise.
51227         * benchtests/bench-rawmemchr.c: Likewise.
51228         * benchtests/bench-strcasecmp.c: Likewise.
51229         * benchtests/bench-strcasestr.c: Likewise.
51230         * benchtests/bench-strcat.c: Likewise.
51231         * benchtests/bench-strchr.c: Likewise.
51232         * benchtests/bench-strcmp.c: Likewise.
51233         * benchtests/bench-strcpy.c: Likewise.
51234         * benchtests/bench-strcpy_chk.c: Likewise.
51235         * benchtests/bench-strlen.c: Likewise.
51236         * benchtests/bench-strncasecmp.c: Likewise.
51237         * benchtests/bench-strncat.c: Likewise.
51238         * benchtests/bench-strncmp.c: Likewise.
51239         * benchtests/bench-strncpy.c: Likewise.
51240         * benchtests/bench-strnlen.c: Likewise.
51241         * benchtests/bench-strpbrk.c: Likewise.
51242         * benchtests/bench-strrchr.c: Likewise.
51243         * benchtests/bench-strspn.c: Likewise.
51244         * benchtests/bench-strstr.c: Likewise.
51246 2013-09-04  Will Newton  <will.newton@linaro.org>
51248         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
51250 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
51252         [BZ #15427]
51253         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
51254         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
51255         * math/libm-test.inc (lgamma_test_data): Add more tests.
51256         * sysdeps/i386/fpu/libm-test-ulps: Update.
51257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51259 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
51261         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
51262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51263         Add ifunc.
51264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51265         Add strcmp-sse2-unaligned
51266         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
51268 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51270         * Versions.def (libc): Add GLIBC_2.19.
51272 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51274         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
51275         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
51277 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
51279         [BZ #14155]
51280         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
51281         intermediate calculations in recurrence.
51282         (__ieee754_ynf): Likewise.
51283         * math/libm-test.inc (jn_test_data): Do not allow spurious
51284         underflow exception.  Add more tests.
51285         (yn_test_data): Add more tests.
51286         * sysdeps/i386/fpu/libm-test-ulps: Update.
51287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51289 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
51291         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51293 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51295         * csu/init-first.c: Fix then/than typos.
51296         * locale/programs/ld-collate.c: Likewise.
51297         * locale/programs/linereader.h: Likewise.
51298         * manual/charset.texi: Likewise.
51299         * manual/filesys.texi: Likewise.
51300         * manual/stdio.texi: Likewise.
51301         * manual/string.texi: Likewise.
51302         * stdlib/fmtmsg.c: Likewise.
51303         * sysdeps/i386/stpncpy.S: Likewise.
51304         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51305         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51306         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51307         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51309 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51311         * elf/dl-open.c: Fix typos.
51312         * iconvdata/gbbig5.c: Likewise.
51313         * iconvdata/iso-2022-jp.c: Likewise.
51314         * iconv/gconv_int.h: Likewise.
51315         * iconv/loop.c: Likewise.
51316         * nis/rpcsvc/nis.h: Likewise.
51317         * resolv/ns_name.c: Likewise.
51318         * stdio-common/vfscanf.c: Likewise.
51319         * streams/stropts.h: Likewise.
51320         * sunrpc/rpc_thread.c: Likewise.
51321         * sysdeps/i386/strpbrk.S: Likewise.
51322         * sysdeps/ieee754/k_standard.c: Likewise.
51323         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51324         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51325         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51326         * sysdeps/mach/hurd/profil.c: Likewise.
51327         * sysdeps/s390/dl-procinfo.h: Likewise.
51328         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51329         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51330         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51331         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51332         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51334 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51336         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51339 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51341         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51342         aix specific files.
51343         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51344         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51345         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51346         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51347         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51348         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51349         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51350         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51352 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51353             Roland McGrath  <roland@hack.frob.com>
51355         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51356         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51358 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51360         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51361         __executable_start symbol instead of _start.
51363 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51365         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51366         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51367         Move macros to...
51368         * sysdeps/gnu/ldsodefs.h: ... this new file.
51370         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51371         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51372         instead of ELFOSABI_LINUX.
51374         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51375         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51376         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51377         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51378         Likewise.
51379         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51380         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51381         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51382         Likewise.
51383         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51384         (ibm_extended_long_double): Add ieee_nan member.
51385         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51386         (do_test): New function.
51388         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51389         TEST_TRUNC.
51390         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51391         functions, renamed from truncdfsf_test, trunctfsf_test,
51392         trunctfdf_test.
51393         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51394         functions.
51395         (do_test): Run all these.
51397 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51399         * argp/argp-help.c: Fix typos.
51400         * argp/argp-parse.c: Likewise.
51401         * debug/backtracesyms.c: Likewise.
51402         * elf/elf.h: Likewise.
51403         * malloc/malloc.c: Likewise.
51404         * nis/nis_print.c: Likewise.
51405         * resolv/res_comp.c: Likewise.
51406         * stdlib/stdlib.h: Likewise.
51407         * sunrpc/clnt_tcp.c: Likewise.
51408         * sunrpc/clnt_udp.c: Likewise.
51409         * sunrpc/clnt_unix.c: Likewise.
51410         * sysdeps/unix/bsd/ptsname.c: Likewise.
51411         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51412         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51414         Likewise.
51415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51416         Likewise.
51417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51418         Likewise.
51419         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51421 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51423         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51426 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51428         [BZ #15897]
51429         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51430         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51431         ($(objpfx)bug-dl-leaf): New rule.
51432         ($(objpfx)bug-dl-leaf.so): Likewise.
51433         ($(objpfx)bug-dl-leaf.out): Likewise.
51434         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51435         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51436         * dlfcn/bug-dl-leaf.c: New test.
51437         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51438         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51439         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51440         (dlclose): Likewise.
51441         (dlmopen): Likewise.
51443 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51445         * include/netdb.h [!_ISOMAC]:
51446         Don't include <tls.h>.
51447         (h_errno, __libc_h_errno): Move declaration and macros out of
51448         [_LIBC_REENTRANT].
51450         * include/resolv.h [_RESOLV_H_]:
51451         Don't include <tls.h>.
51452         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51453         * resolv/res_libc.c: Don't include <tls.h>.
51454         (_res): Use __attribute__ ((nocommon)) in place of
51455         __attribute__ ((section (".bss"))).
51457         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51458         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51460         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51462         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51463         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51465         * resolv/res_mkquery.c: Include <sys/time.h>.
51467         * inet/ifreq.c: Moved to ...
51468         * sysdeps/unix/ifreq.c: ... here.
51469         * inet/ifreq.c: New file, true stub version.
51471         * socket/sa_len.c: New file.
51472         * socket/Makefile (aux): Add it.
51473         * sysdeps/unix/sysv/linux/Makefile
51474         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51475         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51476         and #include <socket/sa_len.c>.
51477         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51478         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51480         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51481         * bits/socket.h: ... here.
51483         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51484         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51485         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51487 2013-08-27  Andreas Schwab  <schwab@suse.de>
51489         [BZ #15736]
51490         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51491         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51492         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51493         * string/test-strcasecmp.c (test_main): Run tests in several
51494         locales.
51495         * string/test-strncasecmp.c (test_main): Likewise.
51497         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51498         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51499         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51500         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51501         (__strncasecmp_ssse3) [PIC]: Likewise.
51503 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51505         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51507         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51508         instead of explicitly declaring xdecrypt.
51509         * nis/nss_nis/nis-publickey.c: Likewise.
51511 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51513         [BZ #15890]
51514         * nscd/aicache.c: Include res_hconf.h.
51515         (addhstaiX): Initialize res_hconf.
51517 2013-08-26  Andreas Schwab  <schwab@suse.de>
51519         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51520         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51522 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51524         * nscd/aicache.c (addhstaiX): Fix indentation.
51526 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51528         * configure.ac: Quote $build_pt_chown test.
51529         * configure: Regenerated.
51531 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51533         [BZ #15532]
51534         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51535         * math/s_cexpf.c (__cexpf): Likewise.
51536         * math/s_cexpl.c (__cexpl): Likewise.
51537         * math/libm-test.inc (cexp_test_data): Correct expected return
51538         value for NaN + i0.  Add another test.
51540 2013-08-22  David S. Miller  <davem@davemloft.net>
51542         * po/ca.po: Update Catalan translation from translation project.
51543         * po/uk.po: Add Ukrainian translations from translation project.
51545 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51547         [BZ #15797]
51548         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51549         is infinite, not alongside NaN test.
51550         * math/s_fdimf.c (__fdimf): Likewise.
51551         * math/s_fdiml.c (__fdiml): Likewise.
51552         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51553         errno is unchanged.
51555 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51557         * argp/argp-help.c: Fix typos.
51558         * crypt/speeds.c: Likewise.
51559         * csu/check_fds.c: Likewise.
51560         * elf/dl-load.c: Likewise.
51561         * elf/dl-open.c: Likewise.
51562         * elf/reldep3.c: Likewise.
51563         * elf/reldep.c: Likewise.
51564         * elf/sprof.c: Likewise.
51565         * iconv/iconv_charmap.c: Likewise.
51566         * iconv/skeleton.c: Likewise.
51567         * iconv/strtab.c: Likewise.
51568         * io/lockf64.c: Likewise.
51569         * libio/libioP.h: Likewise.
51570         * resolv/gai_notify.c: Likewise.
51571         * resolv/ns_name.c: Likewise.
51572         * resolv/ns_samedomain.c: Likewise.
51573         * resolv/res_send.c: Likewise.
51574         * stdlib/random.c: Likewise.
51575         * sunrpc/rpc/xdr.h: Likewise.
51576         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51577         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51578         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51579         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51580         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51581         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51582         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51583         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51584         * sysdeps/mach/hurd/check_fds.c: Likewise.
51585         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51586         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51587         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51588         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51589         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51590         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51591         * sysdeps/pthread/aio_notify.c: Likewise.
51592         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51593         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51594         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51595         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51596         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51598 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51600         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51601         version if bit_Slow_SSE4_2 is set.
51602         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51603         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51605 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51607         [BZ #15867]
51608         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51609         trampoline stack frame information.
51610         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51611         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51612         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51613         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51614         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51615         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51616         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51617         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51618         sa_flags value.
51619         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51620         interrupting a syscall and set with option SA_SIGINFO.
51622 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51624         [BZ #15531]
51625         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51626         argument is infinite.
51627         * math/s_cprojf.c (__cprojf): Likewise.
51628         * math/s_cprojl.c (__cprojl): Likewise.
51629         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51630         * math/libm-test.inc (cproj_test_data): Add more tests.
51632         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51634         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51635         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51636         size.  Use __ffs to determine corresponding shift.
51638 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51639             Roland McGrath  <roland@hack.frob.com>
51641         * Makefile (INSTALL): Remove trailing blank lines from output of
51642         makeinfo.
51644 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51646         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51647         Align 32 bit compat elf_greg to 8 bytes.
51649 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51651         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51653 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51655         * string/strcoll_l.c (coll_seq): New structure.
51656         (get_next_seq_cached): New function.
51657         (get_next_seq): New function.
51658         (do_compare): New function.
51659         (STRCOLL): Use GNU style definition.  Simplify implementation
51660         by using get_next_seq, get_next_seq_cached and do_compare.
51662 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51664         [BZ #14699]
51665         CVE-2013-4237
51666         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51667         member.
51668         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51669         member.
51670         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51671         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51672         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51673         conditional.
51674         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51675         GETDENTS_64BIT_ALIGNED.
51676         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51677         * manual/filesys.texi (Reading/Closing Directory): Document
51678         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51679         strongly.
51680         * manual/conf.texi (Limits for Files): Add portability note to
51681         NAME_MAX, PATH_MAX.
51682         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51684 2013-08-13  Andreas Schwab  <schwab@suse.de>
51686         [BZ #15749]
51687         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51688         of fabs.
51689         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51690         LDBL_MAX_EXP >= 16384]: Add tests for it.
51692 2013-08-12  David S. Miller  <davem@davemloft.net>
51694         * version.h (RELEASE): Set to "development".
51695         (VERSION): Set to "2.18.90".
51696         * NEWS: Add 2.19 section.
51698 2013-08-03  David S. Miller  <davem@davemloft.net>
51700         * po/ko.po: Update Korean translation from translation project.
51702 2013-08-01  David S. Miller  <davem@davemloft.net>
51704         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51705         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51706         Bilka.
51708 2013-07-30  David S. Miller  <davem@davemloft.net>
51710         * po/fr.po: Update French translation from translation project.
51712 2013-07-28  David S. Miller  <davem@davemloft.net>
51714         * po/cs.po: Update Czech translation from translation project.
51716         * po/sv.po: Update Swedish translation from translation project.
51718 2013-07-27  David S. Miller  <davem@davemloft.net>
51720         * po/eo.po: Update Esperanto translation from translation project.
51722         * po/vi.po: Update Vietnamese translation from translation project.
51724         * po/de.po: Update German translation from translation project.
51726 2013-07-26  David S. Miller  <davem@davemloft.net>
51728         * po/bg.po: Update Bulgarian translation from translation project.
51730         * po/nl.po: Update Dutch translation from translation project.
51731         * po/pl.po: Update Polish translation from translation project.
51732         * po/ru.po: Update Russian translation from translation project.
51734 2013-07-24  David S. Miller  <davem@davemloft.net>
51736         * po/libc.pot: Update.
51738 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51740         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51741         variable page size.
51742         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51743         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51744         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51746 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51748         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51750 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51751             Andreas Schwab  <schwab@suse.de>
51752             Roland McGrath  <roland@hack.frob.com>
51753             Joseph Myers  <joseph@codesourcery.com>
51754             Carlos O'Donell  <carlos@redhat.com>
51756         [BZ #15755]
51757         * config.h.in: Define HAVE_PT_CHOWN.
51758         * config.make.in (build-pt-chown): New variable.
51759         * configure.in (--enable-pt_chown): New configure option.
51760         * configure: Regenerate.
51761         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51762         build-pt-chown is enabled.
51763         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51764         pt_chown to fix pty ownership.
51765         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51766         CLOSE_ALL_FDS.
51767         * manual/install.texi (Configuring and compiling): Mention
51768         --enable-pt_chown. Add @findex for grantpt.
51769         * INSTALL: Regenerate.
51771 2013-07-20  David S. Miller  <davem@davemloft.net>
51773         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51774         difference between 32-bit and 64-bit.
51776 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51778         [BZ #15711]
51779         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51780         Avoid system header dependency with -ffreestanding.
51781         ($(objpfx)bits/syscall%d): Likewise.
51783 2013-07-13  David S. Miller  <davem@davemloft.net>
51785         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51786         underflows from atanl/atan2l due to bug 15319.
51787         (casinh_test_data): Likewise.
51789 2013-07-07  David S. Miller  <davem@davemloft.net>
51791         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51793 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51795         * sysdeps/i386/fpu/libm-test-ulps: Update.
51796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51798 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51800         * configure.in (--enable-lock-elision): Fix message text.
51801         * INSTALL: Regenerate.
51802         * configure: Regenerate.
51804 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51808 2013-07-03  Andreas Jaeger  <aj@suse.de>
51810         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51811         define.
51812         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51813         (ptrace_peeksiginfo_args): Add.
51814         (__ptrace_peeksiginfo_flags): Add.
51815         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51816         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51817         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51819 2013-07-03  Allan McRae  <allan@archlinux.org>
51821         * sysdeps/i386/fpu/libm-test-ulps: Update.
51823 2013-07-02  David S. Miller  <davem@davemloft.net>
51825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51827 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51831 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51833         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51836 2013-07-02  Andi Kleen <ak@linux.intel.com>
51838         * config.h.in (ENABLE_LOCK_ELISION): Add.
51839         * configure.in (--enable-lock-elision): Add option.
51840         * manual/install.texi: Document --enable lock elision.
51841         * configure: Regenerate
51842         * INSTALL: Regenerate.
51844 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51846         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51847         SSE4.2 strcasecmp for libc.a.
51848         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51850 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51852         [BZ #13304]
51853         * soft-fp/op-common.h (_FP_FMA): New macro.
51854         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51855         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51856         (_FP_MUL_MEAT_1_imm): ... here.
51857         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51858         (_FP_MUL_MEAT_1_wide): ... here.
51859         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51860         (_FP_MUL_MEAT_1_hard): ... here.
51861         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51862         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51863         (_FP_MUL_MEAT_2_wide): ... here.
51864         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51865         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51866         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51867         (_FP_MUL_MEAT_2_gmp): ... here.
51868         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51869         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51870         (_FP_MUL_MEAT_4_wide): ... here.
51871         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51872         (_FP_MUL_MEAT_4_gmp): ... here.
51873         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51874         (_FP_WFRACBITS_DW_S): Likewise.
51875         (_FP_WFRACXBITS_DW_S): Likewise.
51876         (_FP_HIGHBIT_DW_S): Likewise.
51877         (FP_FMA_S): Likewise.
51878         (_FP_FRAC_HIGH_DW_S): Likewise.
51879         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51880         (_FP_WFRACBITS_DW_D): Likewise.
51881         (_FP_WFRACXBITS_DW_D): Likewise.
51882         (_FP_HIGHBIT_DW_D): Likewise.
51883         (FP_FMA_D): Likewise.
51884         (_FP_FRAC_HIGH_DW_D): Likewise.
51885         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51886         (_FP_WFRACBITS_DW_E): Likewise.
51887         (_FP_WFRACXBITS_DW_E): Likewise.
51888         (_FP_HIGHBIT_DW_E): Likewise.
51889         (FP_FMA_E): Likewise.
51890         (_FP_FRAC_HIGH_DW_E): Likewise.
51891         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51892         (_FP_WFRACBITS_DW_Q): Likewise.
51893         (_FP_WFRACXBITS_DW_Q): Likewise.
51894         (_FP_HIGHBIT_DW_Q): Likewise.
51895         (FP_FMA_Q): Likewise.
51896         (_FP_FRAC_HIGH_DW_Q): Likewise.
51897         * soft-fp/fmasf4.c: New file.
51898         * soft-fp/fmadf4.c: Likewise.
51899         * soft-fp/fmatf4.c: Likewise.
51901 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51904         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51905         Silvermont.
51906         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51907         macro.
51908         (index_Slow_SSE4_2): Likewise.
51909         (index_Prefer_PMINUB_for_stringop): Likewise.
51910         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51911         bit_Slow_SSE4_2 is set.
51912         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51913         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51915 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51917         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51918         rtld_global._dl_hwcap2.
51919         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51920         POWER8.
51921         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51922         POWER8 feature descriptions defined in _dl_hwcap2.
51923         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51924         string handling for POWER8 feature bits.
51925         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51926         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51927         _dl_powerpc_cap_flags.
51928         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51929         * sysdeps/powerpc/rtld-global-offsets.sym
51930         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51931         _dl_hwcap2 in the rtld_global_ro structure.
51933 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51935         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51936         hardware capabilities in support of AT_HWCAP2.
51937         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51938         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51939         GLRO(dl_hwcap2).
51940         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51941         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51942         explicitly the unknown a_type display mechanism is used.
51943         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51944         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51945         struct member.
51946         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51947         to macro prototype for AT_HWCAP2 support.
51948         * sysdeps/i386/dl-procinfo.h: Likewise.
51949         * sysdeps/s390/dl-procinfo.h: Likewise.
51950         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51951         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51952         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51953         return -1 for unknown a_type display fallback.
51954         * sysdeps/sparc/dl-procinfo.h: Likewise.
51955         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51956         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51958 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51960         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51961         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51963 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51965         [BZ #12492]
51966         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51967         mprotect making __stack_prot writable.
51969 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51970             Joseph Myers  <joseph@codesourcery.com>
51972         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51973         as being properly aligned.
51975 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51977         * dlfcn/modstatic5.c: New file.
51978         * dlfcn/tststatic5.c: New file.
51979         * dlfcn/Makefile (tests): Add tststatic5.
51980         (tests-static): Likewise.
51981         (modules-names): Add modstatic5.
51982         (tststatic5-ENV): New variable.
51983         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51985         [BZ #15022]
51986         * elf/dl-support.c (_dl_main_map): New variable.
51987         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51988         (_dl_nns, _dl_load_adds): Set to 1.
51989         (_dl_initial_searchlist): Refer to _dl_main_map.
51990         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51991         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51992         call to _dl_get_origin.
51993         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51994         around call_map.
51995         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51996         * dlfcn/modstatic3.c: New file.
51997         * dlfcn/tststatic3.c: New file.
51998         * dlfcn/tststatic4.c: New file.
51999         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
52000         (tests-static): Likewise.
52001         (modules-names): Add modstatic3.
52002         (tststatic3-ENV, tststatic4-ENV): New variables.
52003         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
52004         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
52006 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
52008         * configure.in (CC): Require GCC version 4.4 or later.
52009         * configure: Regenerated.
52010         * manual/install.texi (Tools for Compilation): Update GCC version
52011         requirement.
52012         * INSTALL: Regenerated.
52014 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52016         [BZ #15674]
52017         * string/test-memcmp.c (check2): New.
52018         (main): Call check2.
52020         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
52022 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
52024         [BZ #15022]
52025         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
52026         over to...
52027         (dl_open_worker) [!SHARED]: ... here.
52029 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52031         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
52033 2013-06-25  Richard Henderson  <rth@redhat.com>
52035         * locale/programs/locarchive.c: Include <libc-internal.h>
52037 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
52039         * manual/texinfo.tex: Update to version 2013-06-21.17, with
52040         trailing whitespace removed.
52042 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
52044         [BZ #10283]
52045         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
52046         * locale/programs/locarchive.c: Include libc-mmap.h.
52047         (prepare_address_space): Take two new outputs (the mmap base and len).
52048         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
52049         values.
52050         (create_archive): Declare new mmap base and len values for
52051         prepare_address_space, and store the result in ah.
52052         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
52053         (enlarge_archive): If ah->mmap_base is not NULL, use that and
52054         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52055         Declare new mmap base and len values for
52056         prepare_address_space, and store the result in new_ah.
52057         (open_archive): Declare new mmap base and len values for
52058         prepare_address_space, and store the result in ah.
52059         (close_archive): If ah->mmap_base is not NULL, use that and
52060         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52061         * sysdeps/generic/libc-mmap.h: New file.
52063 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
52065         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
52066         (ALIGN_UP): Likewise.
52067         (PTR_ALIGN_DOWN): Likewise.
52068         (PTR_ALIGN_UP): Likewise.
52070 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52072         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
52073         entry mapped to PPC_PLATFORM_POWER8.
52074         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
52075         POWER8.
52076         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
52077         (_dl_string_platform): Add case for exporting platform position for
52078         POWER8.
52079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
52080         search path to sysdeps/powerpc/powerpc32/power8 directory.
52081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
52082         search path to sysdeps/powerpc/powerpc64/power8 directory.
52083         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
52084         power7 directories.
52085         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
52086         power7 directories.
52088 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52090         * INSTALL: Regenerate.
52092         * nscd/connections.c (nscd_init): Fix comment.
52094 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
52096         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
52098         [BZ #15667]
52099         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
52100         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
52102 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
52104         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
52105         DL_DST_REQ_STATIC.
52106         (DL_DST_REQ_STATIC): Remove macro.
52108 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
52110         [BZ #7006]
52111         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
52112         with a shift of 0 bits.
52114 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
52116         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
52117         $(tststatic-ENV).
52119 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52121         [BZ #15655]
52122         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
52124 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52126         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
52127         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
52128         accepts -fno-tree-loop-distribute-patterns.
52129         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
52130         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
52131         recursive call.
52132         * string/memset.c (memset): Likewise.
52133         * string/test-memmove.c (simple_memmove): Disable loop transformation
52134         to library calls.
52135         * string/test-memset.c (simple_memset): Likewise.
52136         * benchtests/bench-memmove.c (simple_memmove): Likewise.
52137         * benchtests/bench-memset.c (simple_memset): Likewise.
52138         * configure: Regenerated.
52140 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
52142         * math/test-misc.c (main): Ignore fesetround failure when failures
52143         of subsequent rounding tests would be ignored.
52145         [BZ #15654]
52146         * math/fedisblxcpt.c (fedisableexcept): Return 0.
52147         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
52148         * math/fegetenv.c (__fegetenv): Return 0.
52149         * math/fegetexcept.c (fegetexcept): Return 0.
52150         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
52151         FE_TONEAREST.
52152         * math/feholdexcpt.c (feholdexcept): Return 0.
52153         * math/fesetenv.c (__fesetenv): Return 0.
52154         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
52155         argument FE_TONEAREST.
52156         * math/feupdateenv.c (__feupdateenv): Return 0.
52157         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
52159 2013-06-18  Roland McGrath  <roland@hack.frob.com>
52161         * elf/rtld-Rules (rtld-compile-command.S): New variable.
52162         (rtld-compile-command.s, rtld-compile-command.c): New variables.
52163         ($(objpfx)rtld-%.os rules): Use them.
52165 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52167         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
52168         fields.
52170 2013-06-17  Roland McGrath  <roland@hack.frob.com>
52172         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
52173         length of target pattern, then descending length of dependency pattern.
52174         * configure.in (AWK): Require gawk 3.1.2 or newer.
52175         * manual/install.texi (Tools for Compilation): Say that we do.
52176         * configure: Regenerated.
52178         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
52179         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
52180         * scripts/sysd-rules.awk: ... this new script.
52181         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
52182         than a glob-style pattern.
52184 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
52186         * math/test-misc.c (main): Do not treat incorrectly rounded
52187         conversions as failure unless ROUNDING_TESTS passes.
52189 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
52191         [BZ #15631]
52192         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
52193         restore exception state around main square root computation, then
52194         check for inexactness explicitly.
52196         * math/libm-test.inc (fma_test_data): Add another test.
52198 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52200         * manual/threads.texi (Non-POSIX Extensions): New document
52201         node.  Document pthread_getattr_default_np and
52202         pthread_setattr_default_np.
52204         * Versions.def (libpthread): Add GLIBC_2.18.
52205         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
52206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52207         Likewise.
52208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52209         Likewise.
52210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52211         Likewise.
52212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52213         Likewise.
52214         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
52215         Likewise.
52216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52217         Likewise.
52218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52219         Likewise.
52220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52221         Likewise.
52222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
52223         Likewise.
52225 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52228         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
52230 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52231             H.J. Lu  <hjl.tools@gmail.com>
52233         [BZ #15627]
52234         * sysdeps/x86_64/rtld-memset.c: Remove file.
52235         * sysdeps/x86_64/rtld-memset.S: New file.
52237 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
52239         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
52240         (test_in_one_mode): Take arguments for whether the rounding mode
52241         is supported for each floating-point type.
52242         (do_test): Pass new arguments to test_in_one_mode using
52243         ROUNDING_TESTS.
52245 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52247         * posix/tst-waitid.c (do_test): Distinguish different instances of
52248         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
52249         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
52250         before entering the kernel for waitpid.
52252 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52254         * NEWS: Fix note on clock function precision.  Text by Roland
52255         McGrath.
52257 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52259         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
52260         it into place only when and if the sanity check passes.
52262 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
52264         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
52265         output for whether conversion result is exact.  Take argument
52266         indicating whether type is IBM long double.
52267         (round_for_all): Change need_exact field to ibm_ld.
52268         * stdlib/tst-strtod-round.c (struct exactness): New type.
52269         (struct test): Change bool ld_ok field to struct exactness exact.
52270         (TEST): Update all definitions for change to field.
52271         (tests): Regenerate array contents.
52272         (test_in_one_mode): Take pointer to new field instead of old ld_ok
52273         field value.  Check for IBM long double here.
52274         (do_test): Update calls to test_in_one_mode.
52276 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52278         [BZ #12515]
52279         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
52280         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
52282 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52284         [BZ #15605]
52285         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
52286         generated by the compiler on loop optimizations.
52287         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
52288         general definitions.
52290 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
52292         * math/bug-nextafter.c: Include <math-tests.h>.
52293         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52294         the relevant type.
52295         * math/bug-nexttoward.c: Include <math-tests.h>.
52296         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52297         the relevant type.
52298         * math/test-misc.c: Include <math-tests.h>.
52299         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52300         the relevant type.
52302 2013-06-12  Andreas Jaeger  <aj@suse.de>
52304         * po/ia.po: Update Interlingua translation from translation
52305         project.
52307 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52309         * include/fenv.h: Include stdbool.h.
52310         (struct rm_ctx): New structure.
52311         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52312         Define macro.
52313         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52314         (SET_RESTORE_ROUNDF): Likewise.
52315         (SET_RESTORE_ROUNDL): Likewise.
52316         (SET_RESTORE_ROUND_NOEX): Likewise.
52317         (SET_RESTORE_ROUND_NOEXF): Likewise.
52318         (SET_RESTORE_ROUND_NOEXL): Likewise.
52319         (SET_RESTORE_ROUND_53BIT): Likewise.
52320         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52321         (libc_feresetround_noexf_ctx): Likewise.
52322         (libc_feresetround_noexl_ctx): Likewise.
52323         (libc_feholdsetround_53bit_ctx): Likewise.
52324         (libc_feresetround_53bit_ctx): Likewise.
52325         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52326         (libc_feholdexcept_setround_sse_ctx): New function.
52327         (libc_fesetenv_sse_ctx): Likewise.
52328         (libc_feupdateenv_sse_ctx): Likewise.
52329         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52330         (libc_feholdexcept_setround_387_ctx): Likewise.
52331         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52332         (libc_feholdsetround_387_prec_ctx): Likewise.
52333         (libc_feholdsetround_387_ctx): Likewise.
52334         (libc_feholdsetround_387_53bit_ctx): Likewise.
52335         (libc_feholdsetround_sse_ctx): Likewise.
52336         (libc_feresetround_sse_ctx): Likewise.
52337         (libc_feresetround_387_ctx): Likewise.
52338         (libc_feupdateenv_387_ctx): Likewise.
52339         (libc_feholdexcept_setroundf_ctx): Define macro.
52340         (libc_fesetenvf_ctx): Likewise.
52341         (libc_feupdateenvf_ctx): Likewise.
52342         (libc_feholdsetroundf_ctx): Likewise.
52343         (libc_feresetroundf_ctx): Likewise.
52344         (libc_feholdexcept_setround_ctx): Likewise.
52345         (libc_fesetenv_ctx): Likewise.
52346         (libc_feupdateenv_ctx): Likewise.
52347         (libc_feholdsetround_ctx): Likewise.
52348         (libc_feresetround_ctx): Likewise.
52349         (libc_feholdexcept_setroundl_ctx): Likewise.
52350         (libc_feupdateenvl_ctx): Likewise.
52351         (libc_feholdsetroundl_ctx): Likewise.
52352         (libc_feresetroundl_ctx): Likewise.
52353         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52354         (libc_feresetround_53bit_ctx): Likewise.
52356 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52358         * locale/iso-639.def: Convert to UTF-8.
52360 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
52362         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52363         (EXCEPTION_TESTS_double): Likewise.
52364         (EXCEPTION_TESTS_long_double): Likewise.
52365         (EXCEPTION_TESTS): Likewise.
52366         * math/libm-test.inc (test_exceptions): Only test exceptions if
52367         EXCEPTION_TESTS (FLOAT).
52369 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52371         * benchtests/Makefile (string-bench): Add strcpy_chk and
52372         stpcpy_chk.
52373         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52374         * benchtests/bench-stpcpy_chk.c: New file.
52375         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52376         * benchtests/bench-strcpy_chk.c: New file.
52377         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52378         code.
52379         (do_test): Likewise.
52381 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52383         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52384         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52385         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52386         with tabs where appropriate.
52387         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52388         dl-procinfo.h.
52389         [PPC_PLATFORM_PPC440]: Likewise.
52390         [PPC_PLATFORM_PPC464]: Likewise.
52391         [PPC_PLATFORM_PPC476]: Likewise.
52392         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52393         ppc464, and ppc476 platform strings merging from ports/
52394         dl-procinfo.h.
52396 2013-06-11  Andreas Schwab  <schwab@suse.de>
52398         [BZ #14991]
52399         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52400         (from_ucs4_idx): Regenerate.
52401         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52402         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52403         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52404         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52405         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52406         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52407         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52408         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52409         from FROM_LOOP and TO_LOOP specific macros.
52410         (BODY): Handle combining characters.
52411         * iconvdata/BIG5HKSCS.irreversible: Update.
52412         * iconvdata/BIG5HKSCS.precomposed: New file.
52413         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52414         characters.
52415         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52417 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52419         * include/sys/time.h: Fix indentation and add copyright header.
52421         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52422         (do_test): Likewise.
52423         * string/test-memchr.c (do_one_test): Likewise.
52424         (do_test): Likewise.
52425         * string/test-memcmp.c (do_one_test): Likewise.
52426         (do_test): Likewise.
52427         * string/test-memcpy.c (do_one_test): Likewise.
52428         (do_test): Likewise.
52429         * string/test-memmem.c (do_one_test): Likewise.
52430         (do_test): Likewise.
52431         (do_random_tests): Likewise.
52432         * string/test-memmove.c (do_one_test): Likewise.
52433         (do_test): Likewise.
52434         * string/test-memset.c (do_one_test): Likewise.
52435         (do_test): Likewise.
52436         * string/test-rawmemchr.c (do_one_test): Likewise.
52437         (do_test): Likewise.
52438         * string/test-strcasecmp.c (do_one_test): Likewise.
52439         (do_test): Likewise.
52440         * string/test-strcasestr.c (do_one_test): Likewise.
52441         (do_test): Likewise.
52442         * string/test-strcat.c (do_one_test): Likewise.
52443         (do_test): Likewise.
52444         * string/test-strchr.c (do_one_test): Likewise.
52445         (do_test): Likewise.
52446         * string/test-strcmp.c (do_one_test): Likewise.
52447         (do_test): Likewise.
52448         * string/test-strcpy.c (do_one_test): Likewise.
52449         (do_test): Likewise.
52450         * string/test-string.h: Likewise.
52451         (test_init): Likewise.
52452         * string/test-strlen.c (do_one_test): Likewise.
52453         (do_test): Likewise.
52454         * string/test-strncasecmp.c (do_one_test): Likewise.
52455         (do_test): Likewise.
52456         * string/test-strncat.c (do_one_test): Likewise.
52457         (do_test): Likewise.
52458         * string/test-strncmp.c (do_one_test): Likewise.
52459         (do_test_limit): Likewise.
52460         (do_test): Likewise.
52461         * string/test-strncpy.c (do_one_test): Likewise.
52462         (do_test): Likewise.
52463         * string/test-strnlen.c (do_one_test): Likewise.
52464         (do_test): Likewise.
52465         * string/test-strpbrk.c (do_one_test): Likewise.
52466         (do_test): Likewise.
52467         * string/test-strrchr.c (do_one_test): Likewise.
52468         (do_test): Likewise.
52469         * string/test-strspn.c (do_one_test): Likewise.
52470         (do_test): Likewise.
52471         * string/test-strstr.c (do_one_test): Likewise.
52472         (do_test): Likewise.
52474         * benchtests/Makefile (string-bench): Add string benchmarks.
52475         * benchtests/bench-bcopy-ifunc.c: New file.
52476         * benchtests/bench-bcopy.c: New file.
52477         * benchtests/bench-bzero-ifunc.c: New file.
52478         * benchtests/bench-bzero.c: New file.
52479         * benchtests/bench-memccpy-ifunc.c: New file.
52480         * benchtests/bench-memccpy.c: New file.
52481         * benchtests/bench-memchr-ifunc.c: New file.
52482         * benchtests/bench-memchr.c: New file.
52483         * benchtests/bench-memcmp-ifunc.c: New file.
52484         * benchtests/bench-memcmp.c: New file.
52485         * benchtests/bench-memmem-ifunc.c: New file.
52486         * benchtests/bench-memmem.c: New file.
52487         * benchtests/bench-memmove-ifunc.c: New file.
52488         * benchtests/bench-memmove.c: New file.
52489         * benchtests/bench-mempcpy-ifunc.c: New file.
52490         * benchtests/bench-mempcpy.c: New file.
52491         * benchtests/bench-memset-ifunc.c: New file.
52492         * benchtests/bench-memset.c: New file.
52493         * benchtests/bench-rawmemchr-ifunc.c: New file.
52494         * benchtests/bench-rawmemchr.c: New file.
52495         * benchtests/bench-stpcpy-ifunc.c: New file.
52496         * benchtests/bench-stpcpy.c: New file.
52497         * benchtests/bench-stpncpy-ifunc.c: New file.
52498         * benchtests/bench-stpncpy.c: New file.
52499         * benchtests/bench-strcasecmp-ifunc.c: New file.
52500         * benchtests/bench-strcasecmp.c: New file.
52501         * benchtests/bench-strcasestr-ifunc.c: New file.
52502         * benchtests/bench-strcasestr.c: New file.
52503         * benchtests/bench-strcat-ifunc.c: New file.
52504         * benchtests/bench-strcat.c: New file.
52505         * benchtests/bench-strchr-ifunc.c: New file.
52506         * benchtests/bench-strchr.c: New file.
52507         * benchtests/bench-strchrnul-ifunc.c: New file.
52508         * benchtests/bench-strchrnul.c: New file.
52509         * benchtests/bench-strcmp-ifunc.c: New file.
52510         * benchtests/bench-strcmp.c: New file.
52511         * benchtests/bench-strcpy-ifunc.c: New file.
52512         * benchtests/bench-strcpy.c: New file.
52513         * benchtests/bench-strcspn-ifunc.c: New file.
52514         * benchtests/bench-strcspn.c: New file.
52515         * benchtests/bench-strlen-ifunc.c: New file.
52516         * benchtests/bench-strlen.c: New file.
52517         * benchtests/bench-strncasecmp-ifunc.c: New file.
52518         * benchtests/bench-strncasecmp.c: New file.
52519         * benchtests/bench-strncat-ifunc.c: New file.
52520         * benchtests/bench-strncat.c: New file.
52521         * benchtests/bench-strncmp-ifunc.c: New file.
52522         * benchtests/bench-strncmp.c: New file.
52523         * benchtests/bench-strncpy-ifunc.c: New file.
52524         * benchtests/bench-strncpy.c: New file.
52525         * benchtests/bench-strnlen-ifunc.c: New file.
52526         * benchtests/bench-strnlen.c: New file.
52527         * benchtests/bench-strpbrk-ifunc.c: New file.
52528         * benchtests/bench-strpbrk.c: New file.
52529         * benchtests/bench-strrchr-ifunc.c: New file.
52530         * benchtests/bench-strrchr.c: New file.
52531         * benchtests/bench-strspn-ifunc.c: New file.
52532         * benchtests/bench-strspn.c: New file.
52533         * benchtests/bench-strstr-ifunc.c: New file.
52534         * benchtests/bench-strstr.c: New file.
52536         * benchtests/Makefile: Disable parallel execution of targets.
52537         (string-bench): Add memcpy.
52538         (benchset): New variable to store a list of benchmark sets.
52539         (bench-func): Renamed from bench.
52540         (bench-set): New target.
52541         (bench): Depend on bench-func and bench-set.
52542         * benchtests/README: Add section on benchmark sets.
52543         * benchtests/bench-memcpy-ifunc.c: New file.
52544         * benchtests/bench-memcpy.c: New file.
52545         * benchtests/bench-string.h: New file.
52547 2013-06-11  Andreas Schwab  <schwab@suse.de>
52549         [BZ #15577]
52550         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52551         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52552         values in the triple.
52553         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52554         terminator in the group key.
52556 2013-06-11  Andreas Jaeger  <aj@suse.de>
52558         * po/zh_TW.po: Update Chinese (traditional) translation from
52559         translation project.
52561 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52563         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52564         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52565         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52566         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52567         (clock_getcpuclockid): Likewise.
52568         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52569         Add weak_alias and libc_hidden_def.
52570         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52571         * rt/clock_gettime.c (clock_gettime): Rename to
52572         __clock_gettime.  Add weak_alias and libc_hidden_def.
52573         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52574         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52575         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52576         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52577         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52578         Likewise.
52579         * rt/clock_settime.c (clock_settime): Rename to
52580         __clock_settime.  Add weak_alias and libc_hidden_def.
52581         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52583 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52585         * mach/err_boot.sub: Remove trailing whitespace.
52586         * mach/err_ipc.sub: Likewise.
52587         * mach/err_mach.sub: Likewise.
52589         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52590         (ROUNDING_TESTS_double): Likewise.
52591         (ROUNDING_TESTS_long_double): Likewise.
52592         (ROUNDING_TESTS): Likewise.
52593         * math/libm-test.inc: Include <math-tests.h>.
52594         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52595         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52596         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52597         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52599 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52601         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52602         of assigning.
52604 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52606         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52607         otherwise empty TRANS lines.
52608         * sysdeps/gnu/errlist.c: Regenerated.
52610         * catgets/gencat.c (error_print): Use (void) in function
52611         definition.
52612         * crypt/crypt_util.c (__init_des): Likewise.
52613         * crypt/speeds.c (Stop): Likewise.
52614         (main): Likewise.
52615         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52616         * inet/ruserpass.c (token): Likewise.
52617         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52618         * intl/localealias.c (extend_alias_table): Likewise.
52619         * intl/plural-exp.c (init_germanic_plural): Likewise.
52620         * libio/fcloseall.c (__fcloseall): Likewise.
52621         * libio/genops.c (_IO_flush_all): Likewise.
52622         (_IO_flush_all_linebuffered): Likewise.
52623         (_IO_cleanup): Likewise.
52624         (_IO_iter_begin): Likewise.
52625         (_IO_iter_end): Likewise.
52626         (_IO_list_lock): Likewise.
52627         (_IO_list_unlock): Likewise.
52628         (_IO_list_resetlock): Likewise.
52629         * libio/getchar.c (getchar): Likewise.
52630         * libio/getchar_u.c (getchar_unlocked): Likewise.
52631         * libio/getwchar.c (getwchar): Likewise.
52632         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52633         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52634         * login/getpt.c (__getpt): Likewise.
52635         * login/tst-utmp.c (main): Likewise.
52636         * malloc/hooks.c (__malloc_check_init): Likewise.
52637         * malloc/malloc.c (__malloc_stats): Likewise.
52638         * malloc/mtrace.c (tr_break): Likewise.
52639         (mtrace): Likewise.
52640         (muntrace): Likewise.
52641         * misc/fstab.c (endfsent): Likewise.
52642         * misc/getclktck.c (__getclktck): Likewise.
52643         * misc/getdtsz.c (__getdtablesize): Likewise.
52644         * misc/gethostid.c (gethostid): Likewise.
52645         * misc/getpagesize.c (__getpagesize): Likewise.
52646         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52647         (__get_nprocs): Likewise.
52648         (__get_phys_pages): Likewise.
52649         (__get_avphys_pages): Likewise.
52650         * misc/getttyent.c (getttyent): Likewise.
52651         (setttyent): Likewise.
52652         (endttyent): Likewise.
52653         * misc/getusershell.c (getusershell): Likewise.
52654         (endusershell): Likewise.
52655         (setusershell): Likewise.
52656         (initshells): Likewise.
52657         * misc/hsearch.c (__hdestroy): Likewise.
52658         * misc/sync.c (sync): Likewise.
52659         * misc/syslog.c (closelog_internal): Likewise.
52660         (closelog): Likewise.
52661         * misc/ttyslot.c (ttyslot): Likewise.
52662         * misc/vhangup.c (vhangup): Likewise.
52663         * posix/fork.c (__fork): Likewise.
52664         * posix/getegid.c (__getegid): Likewise.
52665         * posix/geteuid.c (__geteuid): Likewise.
52666         * posix/getgid.c (__getgid): Likewise.
52667         * posix/getpid.c (__getpid): Likewise.
52668         * posix/getppid.c (__getppid): Likewise.
52669         * posix/getuid.c (__getuid): Likewise.
52670         * posix/pause.c (pause): Likewise.
52671         * posix/setpgrp.c (setpgrp): Likewise.
52672         * posix/setsid.c (__setsid): Likewise.
52673         * posix/test-vfork.c (noop): Likewise.
52674         * resolv/gethnamaddr.c (_endhtent): Likewise.
52675         (_gethtent): Likewise.
52676         (ht_endhostent): Likewise.
52677         (gethostent): Likewise.
52678         (dns_service): Likewise.
52679         * stdlib/drand48.c (drand48): Likewise.
52680         * stdlib/lrand48.c (lrand48): Likewise.
52681         * stdlib/mrand48.c (mrand48): Likewise.
52682         * stdlib/rand.c (rand): Likewise.
52683         * stdlib/random.c (__random): Likewise.
52684         * stdlib/setenv.c (clearenv): Likewise.
52685         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52686         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52687         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52688         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52689         (__get_nprocs): Likewise.
52690         (__get_phys_pages): Likewise.
52691         (__get_avphys_pages): Likewise.
52692         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52693         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52694         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52695         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52696         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52697         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52698         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52699         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52700         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52701         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52702         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52703         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52704         * sysdeps/posix/clock.c (clock): Likewise.
52705         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52706         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52707         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52708         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52709         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52710         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52711         (__get_nprocs_conf): Likewise.
52712         (__get_phys_pages): Likewise.
52713         (__get_avphys_pages): Likewise.
52714         * time/clock.c (clock): Likewise.
52715         * time/tzset.c (__tzname_max): Likewise.
52717 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52719         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52720         (__bswap_32): Do not use "register".
52721         * crypt/crypt.c (_ufc_doit_r): Likewise.
52722         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52723         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52724         * gmon/gmon.c (__monstartup): Likewise.
52725         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52726         * hurd/hurdmalloc.c (more_memory): Likewise.
52727         (malloc): Likewise.
52728         (free): Likewise.
52729         (realloc): Likewise.
52730         (malloc_fork_prepare): Likewise.
52731         (malloc_fork_parent): Likewise.
52732         (malloc_fork_child): Likewise.
52733         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52734         (_svcauth_des): Likewise.
52735         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52736         * inet/inet_net.c (inet_network): Likewise.
52737         * inet/inet_netof.c (inet_netof): Likewise.
52738         * inet/rcmd.c (__validuser2_sa): Likewise.
52739         * io/fts.c (fts_open): Likewise.
52740         (fts_load): Likewise.
52741         (fts_close): Likewise.
52742         (fts_read): Likewise.
52743         (fts_children): Likewise.
52744         (fts_build): Likewise.
52745         (fts_stat): Likewise.
52746         (fts_sort): Likewise.
52747         (fts_alloc): Likewise.
52748         (fts_lfree): Likewise.
52749         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52750         (_IO_file_xsgetn): Likewise.
52751         (_IO_file_xsgetn_mmap): Likewise.
52752         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52753         (_IO_cookie_write): Likewise.
52754         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52755         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52756         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52757         * malloc/obstack.c (_obstack_begin): Likewise.
52758         (_obstack_begin_1): Likewise.
52759         (_obstack_newchunk): Likewise.
52760         (_obstack_allocated_p): Likewise.
52761         (obstack_free): Likewise.
52762         (_obstack_memory_used): Likewise.
52763         * misc/getttyent.c (getttynam): Likewise.
52764         (getttyent): Likewise.
52765         (skip): Likewise.
52766         (value): Likewise.
52767         * misc/getusershell.c (initshells): Likewise.
52768         * misc/syslog.c (__vsyslog_chk): Likewise.
52769         * misc/ttyslot.c (ttyslot): Likewise.
52770         * nis/nis_hash.c (__nis_hash): Likewise.
52771         * posix/fnmatch_loop.c (FCT): Likewise.
52772         * posix/getconf.c (print_all): Likewise.
52773         (main): Likewise.
52774         * posix/getopt.c (exchange): Likewise.
52775         * posix/glob.c (globfree): Likewise.
52776         (prefix_array): Likewise.
52777         (__glob_pattern_type): Likewise.
52778         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52779         (NS_GET32): Likewise.
52780         (NS_PUT16): Likewise.
52781         (NS_PUT32): Likewise.
52782         * resolv/gethnamaddr.c (getanswer): Likewise.
52783         (gethostbyname2): Likewise.
52784         (gethostbyaddr): Likewise.
52785         (_gethtent): Likewise.
52786         (_gethtbyname2): Likewise.
52787         (_gethtbyaddr): Likewise.
52788         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52789         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52790         * resolv/res_init.c (__res_vinit): Likewise.
52791         (net_mask): Likewise.
52792         * resolv/res_mkquery.c (outchar): Likewise.
52793         (PRINT): Likewise.
52794         * stdio-common/printf_fp.c (outchar): Likewise.
52795         (PRINT): Likewise.
52796         * stdio-common/printf_fphex.c (outchar): Likewise.
52797         (PRINT): Likewise.
52798         * stdio-common/printf_size.c (outchar): Likewise.
52799         (PRINT): Likewise.
52800         * stdio-common/test_rdwr.c (main): Likewise.
52801         * stdio-common/tfformat.c (matches): Likewise.
52802         * stdio-common/vfprintf.c (outchar): Likewise.
52803         (printf_unknown): Likewise.
52804         (buffered_vfprintf): Likewise.
52805         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52806         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52807         (ReadFile): Likewise.
52808         * stdlib/qsort.c (SWAP): Likewise.
52809         (_quicksort): Likewise.
52810         * stdlib/setenv.c (__add_to_environ): Likewise.
52811         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52812         * stdlib/strtol_l.c (__strtol_l): Likewise.
52813         * stdlib/tst-strtod.c (main): Likewise.
52814         * stdlib/tst-strtol.c (main): Likewise.
52815         * stdlib/tst-strtoll.c (main): Likewise.
52816         * string/bits/string2.h (__strcmp_cc): Likewise.
52817         (__strcmp_cg): Likewise.
52818         (__strcspn_c1): Likewise.
52819         (__strcspn_c2): Likewise.
52820         (__strcspn_c3): Likewise.
52821         (__strspn_c1): Likewise.
52822         (__strspn_c2): Likewise.
52823         (__strspn_c3): Likewise.
52824         (__strsep_1c): Likewise.
52825         (__strsep_2c): Likewise.
52826         (__strsep_3c): Likewise.
52827         * string/memccpy.c (__memccpy): Likewise.
52828         * string/stpcpy.c (__stpcpy): Likewise.
52829         * string/strcmp.c (strcmp): Likewise.
52830         * string/strrchr.c (strrchr): Likewise.
52831         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52832         Likewise.
52833         * sysdeps/mach/hurd/getcwd.c
52834         (_hurd_canonicalize_directory_name_internal): Likewise.
52835         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52836         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52837         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52838         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52839         Likewise, in both definitions.
52840         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52841         definitions.
52842         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52843         64] (__bswap_64): Likewise.
52844         * time/test_time.c (main): Likewise.
52845         * time/tzfile.c (__tzfile_read): Likewise.
52846         (__tzfile_compute): Likewise.
52847         * time/tzset.c (__tzset_parse_tz): Likewise.
52848         (tzset_internal): Likewise.
52849         (compute_change): Likewise.
52850         * wcsmbs/wcscat.c (__wcscat): Likewise.
52851         * wcsmbs/wcschr.c (wcschr): Likewise.
52852         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52853         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52854         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52855         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52856         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52857         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52858         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52859         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52860         * wcsmbs/wmemset.c (wmemset): Likewise.
52862 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52864         * scripts/config.guess: Update to version 2013-05-16.
52865         * scripts/config.sub: Update to version 2013-04-24.
52866         * scripts/install-sh: Update to version 2011-11-20.07.
52867         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52868         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52870 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52872         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52873         * elf/sln.c: Likewise.
52874         * hurd/hurd/ioctl.h: Likewise.
52875         * hurd/hurdmalloc.c: Likewise.
52876         * hurd/xattr.c: Likewise.
52877         * include/shlib-compat.h: Likewise.
52878         * inet/ruserpass.c: Likewise.
52879         * libio/iofgets_u.c: Likewise.
52880         * libio/iofgetws_u.c: Likewise.
52881         * locale/programs/ld-identification.c: Likewise.
52882         * locale/programs/ld-time.c: Likewise.
52883         * mach/msg-destroy.c: Likewise.
52884         * nss/nss_files/files-netgrp.c: Likewise.
52885         * resolv/res_data.c: Likewise.
52886         * soft-fp/op-1.h: Likewise.
52887         * soft-fp/op-2.h: Likewise.
52888         * soft-fp/op-4.h: Likewise.
52889         * soft-fp/op-common.h: Likewise.
52890         * stdio-common/printf_fphex.c: Likewise.
52891         * stdlib/strtod_l.c: Likewise.
52892         * sunrpc/rpc/clnt.h: Likewise.
52893         * sysdeps/generic/framestate.c: Likewise.
52894         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52895         * sysdeps/i386/bsd-setjmp.S: Likewise.
52896         * sysdeps/i386/__longjmp.S: Likewise.
52897         * sysdeps/i386/setjmp.S: Likewise.
52898         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52899         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52900         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52901         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52902         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52903         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52904         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52905         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52906         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52907         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52908         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52909         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52910         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52911         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52912         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52913         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52914         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52915         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52916         * sysdeps/ieee754/support.c: Likewise.
52917         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52918         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52919         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52920         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52921         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52922         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52923         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52924         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52925         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52926         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52927         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52928         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52929         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52930         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52931         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52932         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52933         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52936 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52938         * posix/transbug.c: Remove executable mode.
52940 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52942         * crypt/speeds.c: Remove trailing whitespace.
52943         * dlfcn/default.c: Likewise.
52944         * elf/ifuncdep2.c: Likewise.
52945         * elf/ifuncmain1.c: Likewise.
52946         * elf/ifuncmain1vis.c: Likewise.
52947         * elf/testobj.h: Likewise.
52948         * elf/tst-stackguard1.c: Likewise.
52949         * gmon/sys/gmon.h: Likewise.
52950         * hurd/hurdmsg.c: Likewise.
52951         * hurd/new-fd.c: Likewise.
52952         * hurd/ports-get.c: Likewise.
52953         * iconvdata/ibm1008_420.c: Likewise.
52954         * inet/tst-getni1.c: Likewise.
52955         * inet/tst-getni2.c: Likewise.
52956         * libio/ioungetc.c: Likewise.
52957         * libio/wfiledoalloc.c: Likewise.
52958         * manual/libm-err-tab.pl: Likewise.
52959         * math/w_dremf.c: Likewise.
52960         * misc/ftruncate.c: Likewise.
52961         * posix/bug-glob2.c: Likewise.
52962         * posix/tst-pcre.c: Likewise.
52963         * posix/wait4.c: Likewise.
52964         * resolv/README: Likewise.
52965         * resolv/res_debug.h: Likewise.
52966         * resolv/tst-inet_ntop.c: Likewise.
52967         * setjmp/bug269-setjmp.c: Likewise.
52968         * soft-fp/extended.h: Likewise.
52969         * soft-fp/op-1.h: Likewise.
52970         * soft-fp/op-2.h: Likewise.
52971         * soft-fp/op-4.h: Likewise.
52972         * soft-fp/op-8.h: Likewise.
52973         * soft-fp/testit.c: Likewise.
52974         * stdio-common/bug16.c: Likewise.
52975         * stdlib/random.c: Likewise.
52976         * sunrpc/rpcsvc/rquota.x: Likewise.
52977         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52978         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52979         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52980         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52981         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52982         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52983         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52984         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52985         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52986         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52987         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52988         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52989         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52990         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52991         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52992         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52993         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52994         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52995         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52996         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52997         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52998         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52999         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
53000         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53001         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53002         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53004         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53005         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53006         * sysdeps/ieee754/s_lib_version.c: Likewise.
53007         * sysdeps/mach/hurd/check_fds.c: Likewise.
53008         * sysdeps/mach/hurd/getsockname.c: Likewise.
53009         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
53010         * sysdeps/mach/hurd/recvfrom.c: Likewise.
53011         * sysdeps/powerpc/bits/link.h: Likewise.
53012         * sysdeps/powerpc/dl-procinfo.c: Likewise.
53013         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
53014         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
53015         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
53016         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53017         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53018         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
53019         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53020         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
53021         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53022         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
53023         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53024         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
53025         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53026         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53027         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53028         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53029         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53030         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53031         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53032         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53033         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
53034         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53035         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53036         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
53037         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53038         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53039         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53040         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53041         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53043         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53044         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53045         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53046         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
53047         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53048         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
53049         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53050         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
53051         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
53052         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
53053         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
53054         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
53055         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
53056         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53057         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
53058         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
53059         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53060         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
53061         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
53062         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53064         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53065         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53066         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
53067         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
53068         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
53069         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53070         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
53071         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
53072         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
53073         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
53074         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
53075         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53076         * sysdeps/powerpc/sysdep.h: Likewise.
53077         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53078         * sysdeps/s390/s390-64/sub_n.S: Likewise.
53079         * sysdeps/sh/dl-trampoline.S: Likewise.
53080         * sysdeps/sh/memset.S: Likewise.
53081         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
53082         * sysdeps/sh/strlen.S: Likewise.
53083         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
53084         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
53085         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
53086         * sysdeps/sparc/sparc32/rem.S: Likewise.
53087         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
53088         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
53089         * sysdeps/sparc/sparc32/strchr.S: Likewise.
53090         * sysdeps/sparc/sparc32/udiv.S: Likewise.
53091         * sysdeps/sparc/sparc32/urem.S: Likewise.
53092         * sysdeps/sparc/sparc64/add_n.S: Likewise.
53093         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53094         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
53095         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
53096         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
53097         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
53098         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
53099         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
53100         * sysdeps/unix/bsd/times.c: Likewise.
53101         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
53102         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
53103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
53104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
53105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
53106         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
53107         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53108         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
53109         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
53110         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
53111         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
53112         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53113         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
53114         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53115         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53116         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
53117         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53118         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
53119         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
53120         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
53121         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
53122         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
53123         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53124         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
53125         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
53126         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
53127         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
53128         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53129         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
53130         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
53131         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
53132         * sysdeps/x86_64/strcspn.S: Likewise.
53134 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53136         * locale/C-translit.h: Revert #include <stdint.h> because this is a
53137         generated file.  Regenerate properly from gen-translit.pl.
53138         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
53139         locale/C-translit.h.
53141 2013-06-05  Andreas Schwab  <schwab@suse.de>
53143         [BZ #15100]
53144         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
53145         week as 6 instead of -1.
53146         * time/tst-strptime.c (day_tests): Add test case.
53148 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53150         * sysdeps/generic/math_private.h
53151         (libc_feholdexcept_setround_53bit): Replace with
53152         libc_feholdsetround_53bit.
53153         (libc_feupdateenv_53bit): Replace with
53154         libc_feresetround_53bit.
53155         (SET_RESTORE_ROUND_53BIT): Adjust.
53157 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53159         * string/test-strchrnul.c: Add copyright header.
53161         * posix/tst-getaddrinfo4.c: Increase test timeout.
53163 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
53165         [BZ #15536]
53166         * math/libm-test.inc (MAX_EXP): Remove
53167         (MIN_EXP): Define.
53168         (ulp): Use MIN_EXP - MANT_DIG.
53169         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
53171 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
53173         * po/be.po: Revert last change.
53174         * po/zh_CN.po: Likewise.
53175         * po/header.pot: Likewise.
53177 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
53179         * Makefile ($(common-objpfx)linkobj/libc.so): Define
53180         link-libc-deps to empty as target-specific variable.
53181         * Makerules (link-libc-args): New variable.
53182         (libc-for-link): Likewise.
53183         (link-libc-deps): Likewise.
53184         (lib%.so): Depend on $(link-libc-deps).  Link with
53185         $(link-libc-args).
53186         (build-module): Link with $(link-libc-args).
53187         (build-module-asneeded): Likewise.
53188         (build-module-helper-objlist): Filter out $(link-libc-deps) from
53189         list of objects.
53190         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
53191         target-specific variable.
53192         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
53193         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
53194         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
53195         libc.
53196         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
53197         libc and ld.so.
53198         ($(objpfx)libpcprofile.so): Likewise.
53199         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
53200         libc_nonshared.a.
53201         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
53202         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
53203         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
53204         $(link-libc-deps).
53205         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
53206         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
53207         * login/Makefile ($(objpfx)libutil.so): Likewise.
53208         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
53209         * math/Makefile ($(objpfx)libm.so): Likewise.
53210         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
53211         $(objpfx)libnsl.so): Define libc-for-link as target-specific
53212         variable instead of depending directly on libc.
53213         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
53214         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
53215         $(link-libc-deps).
53216         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
53217         libc.
53218         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
53219         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
53220         ($(objpfx)libanl.so): Likewise.
53221         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
53222         ld.so.
53223         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
53224         $(link-libc-deps).
53225         * sysdeps/i386/fpu/Makefile: Remove file.
53226         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
53227         ($(objpfx)libm.so): Remove dependency on ld.so.
53229 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
53231         [BZ # 15553]
53232         * nis/yp_xdr.c (XDRMAXNAME): Define.
53233         (XDRMAXRECORD): Define.
53234         (xdr_domainname): Use XDRMAXNAME.
53235         (xdr_mapname): Likewise.
53236         (xdr_peername): Likewise.
53237         (xdr_keydat): Use XDRMAXRECORD.
53238         (xdr_valdat): Likewise.
53240 2013-05-30  Jeff Law  <law@redhat.com>
53242         [BZ #14256]
53243         * manual/errno.texi (ESTALE): Update to account for more than
53244         just NFS file systems.
53245         * sysdeps/gnu/errlist.c: Regenerated.
53247 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53249         [BZ #15465]
53250         * elf/Makefile (tests): Add tst-null-argv.
53251         (modules-names):  Add tst-null-argv-lib.
53252         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
53253         (tst-null-argv-ENV): Set environment for tst-null-argv.
53254         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
53255         (RTLD_PROGNAME): New macro.
53256         * elf/tst-null-argv.c: New test case.
53257         * elf/tst-null-argv-lib.c: Library for test case.
53258         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
53259         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
53260         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
53261         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
53262         * elf/dl-init.c (call_init): Likewise.
53263         (_dl_init): Likewise.
53264         * elf/dl-load.c (print_search_path): Likewise.
53265         (_dl_map_object): Likewise.
53266         * elf/dl-lookup.c (do_lookup_x): Likewise.
53267         (add_dependency): Likewise.
53268         (_dl_lookup_symbol_x): Likewise.
53269         (_dl_debug_bindings): Likewise.
53270         * elf/dl-open.c (_dl_show_scope): Likewise.
53271         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53272         * elf/dl-version.c (match_symbol): Likewise.
53273         (_dl_check_map_versions): Likewise.
53274         * elf/rtld.c (dl_main): Likewise.
53275         (print_unresolved): Use RTLD_PROGNAME.
53276         (print_missing_version): Likewise.
53277         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
53278         (elf_machine_rela): Likewise.
53279         * sysdeps/powerpc/powerpc32/dl-machine.c
53280         (__process_machine_rela): Likewise.
53281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53282         Likewise.
53283         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53284         Likewise.
53285         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
53286         Likewise.
53287         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53288         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
53289         Likewise.
53290         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53291         Likewise.
53292         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53294 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
53296         * po/be.po: Add descriptive title.
53297         * po/zh_CN.po: Likewise.
53298         * po/header.pot: Likewise.
53300 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53302         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53303         error message.
53304         (enlarge_archive): Likewise.
53306 2013-05-28  Ben North  <ben@redfrontdoor.org>
53308         * manual/arith.texi (frexp): It is the magnitude of the return
53309         value which lies in [0.5, 1), not the return value itself.
53311 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53315 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53317         * stdio-common/bug26.c (main): Correct fscanf template.
53319         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53320         declare _dl_skip_args.
53322         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53323         Don't declare.
53325         * manual/platform.texi: Add missing @end deftypefun.
53327 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53329         [BZ #15529]
53330         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53331         bit of mantissa of 2^16382.
53332         * math/libm-test.inc (hypot_test_data): Add more tests.
53334         * math/libm-test.inc: Add drem and pow10 to list of tested
53335         functions.
53336         (pow10_test): New function.
53337         (drem_test): Likewise.
53338         (drem_test_tonearest): Likewise.
53339         (drem_test_towardzero): Likewise.
53340         (drem_test_downward): Likewise.
53341         (drem_test_upward): Likewise.
53342         (main): Call the new functions.
53344         * math/libm-test.inc (finite_test_data): Remove.
53345         (finite_test): Run tests from isfinite_test_data.
53346         (gamma_test_data): Remove.
53347         (gamma_test): Run tests from lgamma_test_data.
53348         * sysdeps/i386/fpu/libm-test-ulps: Update.
53349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53351 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53353         * manual/platform.texi: Add PowerPC PPR function set documentation.
53354         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53355         implementation.
53357 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
53359         * math/libm-test.inc (MAX_EXP): Define.
53360         (ULPDIFF): Define.
53361         (ulp): New function.
53362         (check_float_internal): Use ULPDIFF.
53363         (cpow_test): Disable failing test.
53364         (check_ulp): Test ulp() implemetnation.
53365         (main): Call check_ulp before starting tests.
53367 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53369         * math/gen-libm-test.pl (generate_testfile): Do not handle
53370         START_DATA and END_DATA.
53371         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53372         END_DATA.
53373         (acos_tonearest_test_data): Likewise.
53374         (acos_towardzero_test_data): Likewise.
53375         (acos_downward_test_data): Likewise.
53376         (acos_upward_test_data): Likewise.
53377         (acosh_test_data): Likewise.
53378         (asin_test_data): Likewise.
53379         (asin_tonearest_test_data): Likewise.
53380         (asin_towardzero_test_data): Likewise.
53381         (asin_downward_test_data): Likewise.
53382         (asin_upward_test_data): Likewise.
53383         (asinh_test_data): Likewise.
53384         (atan_test_data): Likewise.
53385         (atanh_test_data): Likewise.
53386         (atan2_test_data): Likewise.
53387         (cabs_test_data): Likewise.
53388         (cacos_test_data): Likewise.
53389         (cacosh_test_data): Likewise.
53390         (carg_test_data): Likewise.
53391         (casin_test_data): Likewise.
53392         (casinh_test_data): Likewise.
53393         (catan_test_data): Likewise.
53394         (catanh_test_data): Likewise.
53395         (cbrt_test_data): Likewise.
53396         (ccos_test_data): Likewise.
53397         (ccosh_test_data): Likewise.
53398         (ceil_test_data): Likewise.
53399         (cexp_test_data): Likewise.
53400         (cimag_test_data): Likewise.
53401         (clog_test_data): Likewise.
53402         (clog10_test_data): Likewise.
53403         (conj_test_data): Likewise.
53404         (copysign_test_data): Likewise.
53405         (cos_test_data): Likewise.
53406         (cos_tonearest_test_data): Likewise.
53407         (cos_towardzero_test_data): Likewise.
53408         (cos_downward_test_data): Likewise.
53409         (cos_upward_test_data): Likewise.
53410         (cosh_test_data): Likewise.
53411         (cosh_tonearest_test_data): Likewise.
53412         (cosh_towardzero_test_data): Likewise.
53413         (cosh_downward_test_data): Likewise.
53414         (cosh_upward_test_data): Likewise.
53415         (cpow_test_data): Likewise.
53416         (cproj_test_data): Likewise.
53417         (creal_test_data): Likewise.
53418         (csin_test_data): Likewise.
53419         (csinh_test_data): Likewise.
53420         (csqrt_test_data): Likewise.
53421         (ctan_test_data): Likewise.
53422         (ctan_tonearest_test_data): Likewise.
53423         (ctan_towardzero_test_data): Likewise.
53424         (ctan_downward_test_data): Likewise.
53425         (ctan_upward_test_data): Likewise.
53426         (ctanh_test_data): Likewise.
53427         (ctanh_tonearest_test_data): Likewise.
53428         (ctanh_towardzero_test_data): Likewise.
53429         (ctanh_downward_test_data): Likewise.
53430         (ctanh_upward_test_data): Likewise.
53431         (erf_test_data): Likewise.
53432         (erfc_test_data): Likewise.
53433         (exp_test_data): Likewise.
53434         (exp_tonearest_test_data): Likewise.
53435         (exp_towardzero_test_data): Likewise.
53436         (exp_downward_test_data): Likewise.
53437         (exp_upward_test_data): Likewise.
53438         (exp10_test_data): Likewise.
53439         (exp2_test_data): Likewise.
53440         (expm1_test_data): Likewise.
53441         (fabs_test_data): Likewise.
53442         (fdim_test_data): Likewise.
53443         (finite_test_data): Likewise.
53444         (floor_test_data): Likewise.
53445         (fma_test_data): Likewise.
53446         (fma_towardzero_test_data): Likewise.
53447         (fma_downward_test_data): Likewise.
53448         (fma_upward_test_data): Likewise.
53449         (fmax_test_data): Likewise.
53450         (fmin_test_data): Likewise.
53451         (fmod_test_data): Likewise.
53452         (fpclassify_test_data): Likewise.
53453         (frexp_test_data): Likewise.
53454         (gamma_test_data): Likewise.
53455         (hypot_test_data): Likewise.
53456         (ilogb_test_data): Likewise.
53457         (isfinite_test_data): Likewise.
53458         (isgreater_test_data): Likewise.
53459         (isgreaterequal_test_data): Likewise.
53460         (isinf_test_data): Likewise.
53461         (isless_test_data): Likewise.
53462         (islessequal_test_data): Likewise.
53463         (islessgreater_test_data): Likewise.
53464         (isnan_test_data): Likewise.
53465         (isnormal_test_data): Likewise.
53466         (issignaling_test_data): Likewise.
53467         (isunordered_test_data): Likewise.
53468         (j0_test_data): Likewise.
53469         (j1_test_data): Likewise.
53470         (jn_test_data): Likewise.
53471         (ldexp_test_data): Likewise.
53472         (lgamma_test_data): Likewise.
53473         (lrint_test_data): Likewise.
53474         (lrint_tonearest_test_data): Likewise.
53475         (lrint_towardzero_test_data): Likewise.
53476         (lrint_downward_test_data): Likewise.
53477         (lrint_upward_test_data): Likewise.
53478         (llrint_test_data): Likewise.
53479         (llrint_tonearest_test_data): Likewise.
53480         (llrint_towardzero_test_data): Likewise.
53481         (llrint_downward_test_data): Likewise.
53482         (llrint_upward_test_data): Likewise.
53483         (log_test_data): Likewise.
53484         (log10_test_data): Likewise.
53485         (log1p_test_data): Likewise.
53486         (log2_test_data): Likewise.
53487         (logb_test_data): Likewise.
53488         (logb_downward_test_data): Likewise.
53489         (lround_test_data): Likewise.
53490         (llround_test_data): Likewise.
53491         (modf_test_data): Likewise.
53492         (nearbyint_test_data): Likewise.
53493         (nextafter_test_data): Likewise.
53494         (nexttoward_test_data): Likewise.
53495         (pow_test_data): Likewise.
53496         (pow_tonearest_test_data): Likewise.
53497         (pow_towardzero_test_data): Likewise.
53498         (pow_downward_test_data): Likewise.
53499         (pow_upward_test_data): Likewise.
53500         (remainder_test_data): Likewise.
53501         (remainder_tonearest_test_data): Likewise.
53502         (remainder_towardzero_test_data): Likewise.
53503         (remainder_downward_test_data): Likewise.
53504         (remainder_upward_test_data): Likewise.
53505         (remquo_test_data): Likewise.
53506         (rint_test_data): Likewise.
53507         (rint_tonearest_test_data): Likewise.
53508         (rint_towardzero_test_data): Likewise.
53509         (rint_downward_test_data): Likewise.
53510         (rint_upward_test_data): Likewise.
53511         (round_test_data): Likewise.
53512         (scalb_test_data): Likewise.
53513         (scalbn_test_data): Likewise.
53514         (scalbln_test_data): Likewise.
53515         (signbit_test_data): Likewise.
53516         (sin_test_data): Likewise.
53517         (sin_tonearest_test_data): Likewise.
53518         (sin_towardzero_test_data): Likewise.
53519         (sin_downward_test_data): Likewise.
53520         (sin_upward_test_data): Likewise.
53521         (sincos_test_data): Likewise.
53522         (sinh_test_data): Likewise.
53523         (sinh_tonearest_test_data): Likewise.
53524         (sinh_towardzero_test_data): Likewise.
53525         (sinh_downward_test_data): Likewise.
53526         (sinh_upward_test_data): Likewise.
53527         (sqrt_test_data): Likewise.
53528         (tan_test_data): Likewise.
53529         (tan_tonearest_test_data): Likewise.
53530         (tan_towardzero_test_data): Likewise.
53531         (tan_downward_test_data): Likewise.
53532         (tan_upward_test_data): Likewise.
53533         (tanh_test_data): Likewise.
53534         (tgamma_test_data): Likewise.
53535         (trunc_test_data): Likewise.
53536         (y0_test_data): Likewise.
53537         (y1_test_data): Likewise.
53538         (yn_test_data): Likewise.
53539         (significand_test_data): Likewise.
53541         * math/gen-libm-test.pl (@functions): Remove variable.
53542         (generate_testfile): Don't handle START and END lines.
53543         * math/libm-test.inc (START): New macro.
53544         (END): Likewise.
53545         (END_COMPLEX): Likewise.
53546         (acos_test): Use END macro without arguments.
53547         (acos_test_tonearest): Likewise.
53548         (acos_test_towardzero): Likewise.
53549         (acos_test_downward): Likewise.
53550         (acos_test_upward): Likewise.
53551         (acosh_test): Likewise.
53552         (asin_test): Likewise.
53553         (asin_test_tonearest): Likewise.
53554         (asin_test_towardzero): Likewise.
53555         (asin_test_downward): Likewise.
53556         (asin_test_upward): Likewise.
53557         (asinh_test): Likewise.
53558         (atan_test): Likewise.
53559         (atanh_test): Likewise.
53560         (atan2_test): Likewise.
53561         (cabs_test): Likewise.
53562         (cacos_test): Use END_COMPLEX macro without arguments.
53563         (cacosh_test): Likewise.
53564         (carg_test): Use END macro without arguments.
53565         (casin_test): Use END_COMPLEX macro without arguments.
53566         (casinh_test): Likewise.
53567         (catan_test): Likewise.
53568         (catanh_test): Likewise.
53569         (cbrt_test): Use END macro without arguments.
53570         (ccos_test): Use END_COMPLEX macro without arguments.
53571         (ccosh_test): Likewise.
53572         (ceil_test): Use END macro without arguments.
53573         (cexp_test): Use END_COMPLEX macro without arguments.
53574         (cimag_test): Use END macro without arguments.
53575         (clog_test): Use END_COMPLEX macro without arguments.
53576         (clog10_test): Likewise.
53577         (conj_test): Likewise.
53578         (copysign_test): Use END macro without arguments.
53579         (cos_test): Likewise.
53580         (cos_test_tonearest): Likewise.
53581         (cos_test_towardzero): Likewise.
53582         (cos_test_downward): Likewise.
53583         (cos_test_upward): Likewise.
53584         (cosh_test): Likewise.
53585         (cosh_test_tonearest): Likewise.
53586         (cosh_test_towardzero): Likewise.
53587         (cosh_test_downward): Likewise.
53588         (cosh_test_upward): Likewise.
53589         (cpow_test): Use END_COMPLEX macro without arguments.
53590         (cproj_test): Likewise.
53591         (creal_test): Use END macro without arguments.
53592         (csin_test): Use END_COMPLEX macro without arguments.
53593         (csinh_test): Likewise.
53594         (csqrt_test): Likewise.
53595         (ctan_test): Likewise.
53596         (ctan_test_tonearest): Likewise.
53597         (ctan_test_towardzero): Likewise.
53598         (ctan_test_downward): Likewise.
53599         (ctan_test_upward): Likewise.
53600         (ctanh_test): Likewise.
53601         (ctanh_test_tonearest): Likewise.
53602         (ctanh_test_towardzero): Likewise.
53603         (ctanh_test_downward): Likewise.
53604         (ctanh_test_upward): Likewise.
53605         (erf_test): Use END macro without arguments.
53606         (erfc_test): Likewise.
53607         (exp_test): Likewise.
53608         (exp_test_tonearest): Likewise.
53609         (exp_test_towardzero): Likewise.
53610         (exp_test_downward): Likewise.
53611         (exp_test_upward): Likewise.
53612         (exp10_test): Likewise.
53613         (exp2_test): Likewise.
53614         (expm1_test): Likewise.
53615         (fabs_test): Likewise.
53616         (fdim_test): Likewise.
53617         (finite_test): Likewise.
53618         (floor_test): Likewise.
53619         (fma_test): Likewise.
53620         (fma_test_towardzero): Likewise.
53621         (fma_test_downward): Likewise.
53622         (fma_test_upward): Likewise.
53623         (fmax_test): Likewise.
53624         (fmin_test): Likewise.
53625         (fmod_test): Likewise.
53626         (fpclassify_test): Likewise.
53627         (frexp_test): Likewise.
53628         (gamma_test): Likewise.
53629         (hypot_test): Likewise.
53630         (ilogb_test): Likewise.
53631         (isfinite_test): Likewise.
53632         (isgreater_test): Likewise.
53633         (isgreaterequal_test): Likewise.
53634         (isinf_test): Likewise.
53635         (isless_test): Likewise.
53636         (islessequal_test): Likewise.
53637         (islessgreater_test): Likewise.
53638         (isnan_test): Likewise.
53639         (isnormal_test): Likewise.
53640         (issignaling_test): Likewise.
53641         (isunordered_test): Likewise.
53642         (j0_test): Likewise.
53643         (j1_test): Likewise.
53644         (jn_test): Likewise.
53645         (ldexp_test): Likewise.
53646         (lgamma_test): Likewise.
53647         (lrint_test): Likewise.
53648         (lrint_test_tonearest): Likewise.
53649         (lrint_test_towardzero): Likewise.
53650         (lrint_test_downward): Likewise.
53651         (lrint_test_upward): Likewise.
53652         (llrint_test): Likewise.
53653         (llrint_test_tonearest): Likewise.
53654         (llrint_test_towardzero): Likewise.
53655         (llrint_test_downward): Likewise.
53656         (llrint_test_upward): Likewise.
53657         (log_test): Likewise.
53658         (log10_test): Likewise.
53659         (log1p_test): Likewise.
53660         (log2_test): Likewise.
53661         (logb_test): Likewise.
53662         (logb_test_downward): Likewise.
53663         (lround_test): Likewise.
53664         (llround_test): Likewise.
53665         (modf_test): Likewise.
53666         (nearbyint_test): Likewise.
53667         (nextafter_test): Likewise.
53668         (nexttoward_test): Likewise.
53669         (pow_test): Likewise.
53670         (pow_test_tonearest): Likewise.
53671         (pow_test_towardzero): Likewise.
53672         (pow_test_downward): Likewise.
53673         (pow_test_upward): Likewise.
53674         (remainder_test): Likewise.
53675         (remainder_test_tonearest): Likewise.
53676         (remainder_test_towardzero): Likewise.
53677         (remainder_test_downward): Likewise.
53678         (remainder_test_upward): Likewise.
53679         (remquo_test): Likewise.
53680         (rint_test): Likewise.
53681         (rint_test_tonearest): Likewise.
53682         (rint_test_towardzero): Likewise.
53683         (rint_test_downward): Likewise.
53684         (rint_test_upward): Likewise.
53685         (round_test): Likewise.
53686         (scalb_test): Likewise.
53687         (scalbn_test): Likewise.
53688         (scalbln_test): Likewise.
53689         (signbit_test): Likewise.
53690         (sin_test): Likewise.
53691         (sin_test_tonearest): Likewise.
53692         (sin_test_towardzero): Likewise.
53693         (sin_test_downward): Likewise.
53694         (sin_test_upward): Likewise.
53695         (sincos_test): Likewise.
53696         (sinh_test): Likewise.
53697         (sinh_test_tonearest): Likewise.
53698         (sinh_test_towardzero): Likewise.
53699         (sinh_test_downward): Likewise.
53700         (sinh_test_upward): Likewise.
53701         (sqrt_test): Likewise.
53702         (tan_test): Likewise.
53703         (tan_test_tonearest): Likewise.
53704         (tan_test_towardzero): Likewise.
53705         (tan_test_downward): Likewise.
53706         (tan_test_upward): Likewise.
53707         (tanh_test): Likewise.
53708         (tgamma_test): Likewise.
53709         (trunc_test): Likewise.
53710         (y0_test): Likewise.
53711         (y1_test): Likewise.
53712         (yn_test): Likewise.
53713         (significand_test): Likewise.
53715 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53717         [BZ #15381]
53718         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53720 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53722         [BZ #14894]
53723         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53724         __ppc_mdoio and __ppc_mdoom.
53725         * manual/platform.texi: Document new functions __ppc_yield,
53726         __ppc_mdoio and __ppc_mdoom.
53728 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53730         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53731         (main): Mention "tls" pseudo-hwcap is legacy.
53732         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53734 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53736         * math/gen-libm-test.pl (parse_args): Output only string of
53737         arguments as text for test name, not full call or descriptions of
53738         tests for extra outputs.
53739         (generate_testfile): Do not pass function name to parse_args.
53740         Generate this_func variable from START.
53741         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53742         field to arg_str.
53743         (struct test_ff_f_data): Likewise.
53744         (test_ff_f_data_nexttoward): Likewise.
53745         (struct test_fi_f_data): Likewise.
53746         (struct test_fl_f_data): Likewise.
53747         (struct test_if_f_data): Likewise.
53748         (struct test_fff_f_data): Likewise.
53749         (struct test_c_f_data): Likewise.
53750         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53751         (struct test_fF_f1_data): Likewise.
53752         (struct test_ffI_f1_data): Likewise.
53753         (struct test_c_c_data): Rename test_name field to arg_str.
53754         (struct test_cc_c_data): Likewise.
53755         (struct test_f_i_data): Likewise.
53756         (struct test_ff_i_data): Likewise.
53757         (struct test_f_l_data): Likewise.
53758         (struct test_f_L_data): Likewise.
53759         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53760         and extra2_name.
53761         (COMMON_TEST_SETUP): New macro.
53762         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53763         (COMMON_TEST_CLEANUP): Likewise.
53764         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53765         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53766         macros.
53767         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53768         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53769         macros.
53770         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53771         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53772         cleanup macros.
53773         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53774         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53775         macros.
53776         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53777         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53778         macros.
53779         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53780         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53781         cleanup macros.
53782         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53783         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53784         cleanup macros.
53785         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53786         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53787         cleanup macros.
53788         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53789         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53790         macros.
53791         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53792         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53793         macros.
53794         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53795         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53796         macros.
53797         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53798         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53799         cleanup macros.
53800         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53801         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53802         cleanup macros.
53803         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53804         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53805         macros.
53806         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53807         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53808         cleanup macros.
53809         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53810         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53811         macros.
53812         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53813         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53814         macros.
53815         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53816         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53817         cleanup macros.
53818         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53820 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53822         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53823         to _sifields.sigfault.
53824         (si_addr_lsb): Define new macro.
53825         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53826         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53827         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53829 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53831         [BZ #15441]
53832         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53833         returns -1.
53834         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53835         null return -1.
53836         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53837         loading the domain.
53839 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53841         * math/gen-libm-test.pl (parse_args): Do not include expected
53842         result in test name.
53843         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53844         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53845         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53846         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53847         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53850 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53852         * benchtests/Makefile: Sort function entries.
53854         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53855         tanh, asinh, acosh, atanh.
53856         * benchtests/acos-inputs: New file.
53857         * benchtests/acosh-inputs: New file.
53858         * benchtests/asin-inputs: New file.
53859         * benchtests/asinh-inputs: New file.
53860         * benchtests/atanh-inputs: New file.
53861         * benchtests/cosh-inputs: New file.
53862         * benchtests/log-inputs: New file.
53863         * benchtests/sinh-inputs: New file.
53864         * benchtests/tanh-inputs: New file.
53866 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53868         [BZ #15339]
53869         * posix/tst-getaddrinfo4.c: New test.
53870         * posix/Makefile (tests): Add it.
53872 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53874         [BZ #15339]
53875         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53876         when no services were used.
53877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53878         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53880 2013-05-21  Andreas Schwab  <schwab@suse.de>
53882         [BZ #15014]
53883         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53884         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53885         successful.
53886         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53887         redundant variable declarations and reallocation of buffer when
53888         parsing as IPv6 address.  Always set NSS status when called from
53889         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53890         buffer too small.  Correct computation of needed size.
53891         * nss/Makefile (tests): Add test-digits-dots.
53892         * nss/test-digits-dots.c: New test.
53894 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53896         * benchtests/Makefile: Remove instructions for adding
53897         benchmark tests.
53898         * benchtests/README: New file to explain how to execute and
53899         enhance the benchmark tests.
53901 2013-05-21  Andreas Schwab  <schwab@suse.de>
53903         [BZ #15493]
53904         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53905         * setjmp/tst-sigsetjmp.c: New test.
53907 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53909         * sysdeps/x86_64/memset.S (memset): New implementation.
53910         (__bzero): Likewise.
53911         (__memset_tail): New function.
53913 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53915         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53916         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53917         __memcpy_sse2_unaligned ifunc selection.
53918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53919         Add memcpy-sse2-unaligned.S.
53920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53921         Add: __memcpy_sse2_unaligned.
53923 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53925         [BZ #15490]
53926         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53927         math_force_eval before restoring floating-point envrionment.
53928         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53929         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53930         Likewise.
53931         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53932         <math_private.h>.
53933         (__nearbyintl): Use math_force_eval before restoring
53934         floating-point environment.
53935         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53937         * math/gen-libm-test.pl (special_functions): Remove.
53938         (parse_args): Don't handle TEST_extra.  Handle functions with no
53939         return value.
53940         * math/libm-test.inc (struct test_sincos_data): Replace with
53941         struct test_fFF_11_data.
53942         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53943         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53944         (sincos_test_data): Change element type to struct
53945         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53946         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53947         RUN_TEST_LOOP_sincos.
53948         * math/README.libm-test: Don't mention special handling of
53949         individual functions.
53950         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53951         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53952         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53953         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53954         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53957         * math/gen-libm-test.pl (get_variable): Remove function.
53958         (parse_args): Don't show pointer parameters to call in test
53959         names.  Use "extra output N" in test names for extra outputs
53960         rather than naming variables.
53962 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53964         [BZ #15488]
53965         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53966         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53967         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53968         double tests.
53969         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53970         disable.
53971         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53972         check_long_double.
53974         * math/gen-libm-test.pl (@tests): Remove variable.
53975         ($count): Likewise.
53976         (new_test): Remove function.
53977         (show_exceptions): New function.
53978         (special_functions): Use show_exceptions instead of new_test.
53979         (parse_args): Likewise.
53980         (generate_testfile): Pass only function name in generated call to
53981         print_max_error or print_complex_max_error.
53982         (get_ulps): Do not handle complex tests specially.
53983         (output_test): Rename to ...
53984         (get_all_ulps_for_test): ... this.  Return a string rather than
53985         printing to a file.  Require ulps to be present.
53986         (output_ulps): Generate arrays rather than #defines.
53987         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53988         (struct ulp_data): New type.
53989         (BUILD_COMPLEX_ULP): Remove macro.
53990         (compare_ulp_data): New function.
53991         (find_ulps): Likewise.
53992         (find_test_ulps): Likewise.
53993         (find_function_ulps): Likewise.
53994         (find_complex_function_ulps): Likewise.
53995         (print_max_error): Determine allowed ulps using
53996         find_function_ulps.
53997         (print_complex_max_error): Determine allowed ulps using
53998         find_complex_function_ulps.
53999         (check_float_internal): Determine max ulps using find_test_ulps.
54000         (check_float): Do not take max_ulp parameter.  Update call to
54001         check_float_internal.
54002         (check_complex): Likewise.
54003         (check_int): Do not take max_ulp parameter.
54004         (check_long): Likewise.
54005         (check_bool): Likewise.
54006         (check_longlong): Likewise.
54007         (struct test_f_f_data): Remove max_ulp field.
54008         (struct test_ff_f_data): Likewise.
54009         (struct test_ff_f_data_nexttoward): Likewise.
54010         (struct test_fi_f_data): Likewise.
54011         (struct test_fl_f_data): Likewise.
54012         (struct test_if_f_data): Likewise.
54013         (struct test_fff_f_data): Likewise.
54014         (struct test_c_f_data): Likewise.
54015         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
54016         (struct test_fF_f1_data): Likewise.
54017         (struct test_ffI_f1_data): Likewise.
54018         (struct test_c_c_data): Remove max_ulp field.
54019         (struct test_cc_c_data): Likewise.
54020         (struct test_f_i_data): Likewise.
54021         (struct test_ff_i_data): Likewise.
54022         (struct test_f_l_data): Likewise.
54023         (struct test_f_L_data): Likewise.
54024         (struct test_sincos_data): Likewise.
54025         (RUN_TEST_f_f): Do not handle ulps.
54026         (RUN_TEST_LOOP_f_f): Likewise.
54027         (RUN_TEST_2_f): Likewise.
54028         (RUN_TEST_LOOP_2_f): Likewise.
54029         (RUN_TEST_fff_f): Likewise.
54030         (RUN_TEST_LOOP_fff_f): Likewise.
54031         (RUN_TEST_c_f): Likewise.
54032         (RUN_TEST_LOOP_c_f): Likewise.
54033         (RUN_TEST_f_f1): Likewise.
54034         (RUN_TEST_LOOP_f_f1): Likewise.
54035         (RUN_TEST_fF_f1): Likewise.
54036         (RUN_TEST_LOOP_fF_f1): Likewise.
54037         (RUN_TEST_fI_f1): Likewise.
54038         (RUN_TEST_LOOP_fI_f1): Likewise.
54039         (RUN_TEST_ffI_f1): Likewise.
54040         (RUN_TEST_LOOP_ffI_f1): Likewise.
54041         (RUN_TEST_c_c): Likewise.
54042         (RUN_TEST_LOOP_c_c): Likewise.
54043         (RUN_TEST_cc_c): Likewise.
54044         (RUN_TEST_LOOP_cc_c): Likewise.
54045         (RUN_TEST_f_i): Likewise.
54046         (RUN_TEST_LOOP_f_i): Likewise.
54047         (RUN_TEST_f_i_tg): Likewise.
54048         (RUN_TEST_LOOP_f_i_tg): Likewise.
54049         (RUN_TEST_ff_i_tg): Likewise.
54050         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54051         (RUN_TEST_f_b): Likewise.
54052         (RUN_TEST_LOOP_f_b): Likewise.
54053         (RUN_TEST_f_b_tg): Likewise.
54054         (RUN_TEST_LOOP_f_b_tg): Likewise.
54055         (RUN_TEST_f_l): Likewise.
54056         (RUN_TEST_LOOP_f_l): Likewise.
54057         (RUN_TEST_f_L): Likewise.
54058         (RUN_TEST_LOOP_f_L): Likewise.
54059         (RUN_TEST_sincos): Likewise.
54060         (RUN_TEST_LOOP_sincos): Likewise.
54062 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
54064         [BZ #15480]
54065         [BZ #15485]
54066         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
54067         main case of finite arguments, set rounding mode to FE_TONEAREST
54068         and discard exceptions.
54069         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
54070         exceptions.
54071         (remainder_tonearest_test_data): New variable.
54072         (remainder_test_tonearest): New function.
54073         (remainder_towardzero_test_data): New variable.
54074         (remainder_test_towardzero): New function.
54075         (remainder_downward_test_data): New variable.
54076         (remainder_test_downward): New function.
54077         (remainder_upward_test_data): New variable.
54078         (remainder_test_upward): New function.
54079         (main): Call the new test functions.
54081         * math/libm-test.inc (struct test_f_f1_data): Remove field
54082         extra_init.
54083         (struct test_fF_f1_data): Likewise.
54084         (struct test_ffI_f1_data): Likewise.
54085         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
54086         based on value of EXTRA_EXPECTED.
54087         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
54088         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
54089         EXTRA_VAR based on value of EXTRA_EXPECTED.
54090         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
54091         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
54092         EXTRA_VAR based on value of EXTRA_EXPECTED.
54093         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
54094         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
54095         EXTRA_VAR based on value of EXTRA_EXPECTED.
54096         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
54097         * math/gen-libm-test.pl (parse_args): Don't output initializers
54098         for extra output values.
54100         * math/libm-test.inc (check_int): Expect result to be exactly
54101         equal to expected value and do not handle ulps.
54102         (check_long): Likewise.
54103         (check_longlong): Likewise.
54105         * math/libm-test.inc (ceil_test_data): Test for "inexact"
54106         exceptions.
54107         (cimag_test_data): Likewise.
54108         (conj_test_data): Likewise.
54109         (copysign_test_data): Likewise.
54110         (cproj_test_data): Likewise.
54111         (creal_test_data): Likewise.
54112         (fabs_test_data): Likewise.
54113         (fdim_test_data): Likewise.
54114         (finite_test_data): Likewise.
54115         (floor_test_data): Likewise.
54116         (fmax_test_data): Likewise.
54117         (fmin_test_data): Likewise.
54118         (fmod_test_data): Likewise.
54119         (fpclassify_test_data): Likewise.
54120         (frexp_test_data): Likewise.
54121         (ilogb_test_data): Likewise.
54122         (isfinite_test_data): Likewise.
54123         (isgreater_test_data): Likewise.
54124         (isgreaterequal_test_data): Likewise.
54125         (isinf_test_data): Likewise.
54126         (isless_test_data): Likewise.
54127         (islessequal_test_data): Likewise.
54128         (islessgreater_test_data): Likewise.
54129         (isnan_test_data): Likewise.
54130         (isnormal_test_data): Likewise.
54131         (issignaling_test_data): Likewise.
54132         (isunordered_test_data): Likewise.
54133         (ldexp_test_data): Likewise.
54134         (lrint_test_data): Likewise.
54135         (lrint_test_data) [TEST_FLOAT]: Disable one test.
54136         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
54137         (lrint_tonearest_test_data): Test for "inexact" exceptions.
54138         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54139         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
54140         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54141         test input.
54142         (lrint_towardzero_test_data): Test for "inexact" exceptions.
54143         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54144         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
54145         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
54146         that test input.
54147         (lrint_downward_test_data): Test for "inexact" exceptions.
54148         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54149         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
54150         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54151         test input.
54152         (lrint_upward_test_data): Test for "inexact" exceptions.
54153         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
54154         test input.
54155         (llrint_test_data): Test for "inexact" exceptions.
54156         (llrint_test_data) [TEST_FLOAT]: Disable one test.
54157         (llrint_tonearest_test_data): Test for "inexact" exceptions.
54158         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54159         (llrint_towardzero_test_data): Test for "inexact" exceptions.
54160         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54161         (llrint_downward_test_data): Test for "inexact" exceptions.
54162         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54163         (llrint_upward_test_data): Test for "inexact" exceptions.
54164         (logb_test_data): Likewise.
54165         (logb_downward_test_data): Likewise.
54166         (nextafter_test_data): Likewise.
54167         (nexttoward_test_data): Likewise.
54168         (remainder_test_data): Likewise.
54169         (remquo_test_data): Likewise.
54170         (scalbn_test_data): Likewise.
54171         (scalbln_test_data): Likewise.
54172         (signbit_test_data): Likewise.
54173         (sqrt_test_data): Likewise.
54174         (significand_test_data): Likewise.
54176 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54178         [BZ #15424]
54179         * benchtests/bench-modf.c (struct args): Mark arg0 as
54180         volatile.
54181         * scripts/bench.pl: Mark members of struct args as volatile.
54183 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54185         [BZ # 15497]
54186         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
54187         negative infinity on POWER6 or lower.
54188         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
54190 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
54192         [BZ #15442]
54193         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
54194         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
54195         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
54196         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
54197         (_FP_SETQNAN): New macro.
54198         (_FP_SETQNAN_SEMIRAW): Likewise.
54199         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
54200         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
54201         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
54202         (FP_EXTEND): Use _FP_FRAC_SNANP.
54203         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
54204         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
54205         into account.
54206         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54207         New macro.
54208         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54209         Likewise.
54211 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54213         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
54214         with DIVIDE_BY_ZERO_EXCEPTION.
54215         (gamma_test_data): Likewise.
54216         (lgamma_test_data): Likewise.
54217         (log_test_data): Likewise.
54218         (log10_test_data): Likewise.
54219         (log2_test_data): Likewise.
54220         (tgamma_test_data): Likewise.
54222         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
54223         (acos_test_tonearest): Likewise.
54224         (acos_test_towardzero): Likewise.
54225         (acos_test_downward): Likewise.
54226         (acos_test_upward): Likewise.
54227         (acosh_test): Likewise.
54228         (asin_test): Likewise.
54229         (asin_test_tonearest): Likewise.
54230         (asin_test_towardzero): Likewise.
54231         (asin_test_downward): Likewise.
54232         (asin_test_upward): Likewise.
54233         (asinh_test): Likewise.
54234         (atan_test): Likewise.
54235         (atanh_test): Likewise.
54236         (atan2_test): Likewise.
54237         (cabs_test): Likewise.
54238         (cacos_test): Likewise.
54239         (cacosh_test): Likewise.
54240         (casin_test): Likewise.
54241         (casinh_test): Likewise.
54242         (catan_test): Likewise.
54243         (catanh_test): Likewise.
54244         (cbrt_test): Likewise.
54245         (ccos_test): Likewise.
54246         (ccosh_test): Likewise.
54247         (cexp_test): Likewise.
54248         (clog_test): Likewise.
54249         (clog10_test): Likewise.
54250         (cos_test): Likewise.
54251         (cos_test_tonearest): Likewise.
54252         (cos_test_towardzero): Likewise.
54253         (cos_test_downward): Likewise.
54254         (cos_test_upward): Likewise.
54255         (cosh_test): Likewise.
54256         (cosh_test_tonearest): Likewise.
54257         (cosh_test_towardzero): Likewise.
54258         (cosh_test_downward): Likewise.
54259         (cosh_test_upward): Likewise.
54260         (cpow_test): Likewise.
54261         (csin_test): Likewise.
54262         (csinh_test): Likewise.
54263         (csqrt_test): Likewise.
54264         (ctan_test): Likewise.
54265         (ctan_test_tonearest): Likewise.
54266         (ctan_test_towardzero): Likewise.
54267         (ctan_test_downward): Likewise.
54268         (ctan_test_upward): Likewise.
54269         (ctanh_test): Likewise.
54270         (ctanh_test_tonearest): Likewise.
54271         (ctanh_test_towardzero): Likewise.
54272         (ctanh_test_downward): Likewise.
54273         (ctanh_test_upward): Likewise.
54274         (erf_test): Likewise.
54275         (erfc_test): Likewise.
54276         (exp_test): Likewise.
54277         (exp_test_tonearest): Likewise.
54278         (exp_test_towardzero): Likewise.
54279         (exp_test_downward): Likewise.
54280         (exp_test_upward): Likewise.
54281         (exp10_test): Likewise.
54282         (exp2_test): Likewise.
54283         (expm1_test): Likewise.
54284         (fmod_test): Likewise.
54285         (gamma_test): Likewise.
54286         (hypot_test): Likewise.
54287         (j0_test): Likewise.
54288         (j1_test): Likewise.
54289         (jn_test): Likewise.
54290         (lgamma_test): Likewise.
54291         (log_test): Likewise.
54292         (log10_test): Likewise.
54293         (log1p_test): Likewise.
54294         (log2_test): Likewise.
54295         (logb_test_downward): Likewise.
54296         (pow_test): Likewise.
54297         (pow_test_tonearest): Likewise.
54298         (pow_test_towardzero): Likewise.
54299         (pow_test_downward): Likewise.
54300         (pow_test_upward): Likewise.
54301         (remainder_test): Likewise.
54302         (remquo_test): Likewise.
54303         (sin_test): Likewise.
54304         (sin_test_tonearest): Likewise.
54305         (sin_test_towardzero): Likewise.
54306         (sin_test_downward): Likewise.
54307         (sin_test_upward): Likewise.
54308         (sincos_test): Likewise.
54309         (sinh_test): Likewise.
54310         (sinh_test_tonearest): Likewise.
54311         (sinh_test_towardzero): Likewise.
54312         (sinh_test_downward): Likewise.
54313         (sinh_test_upward): Likewise.
54314         (sqrt_test): Likewise.
54315         (tan_test): Likewise.
54316         (tan_test_tonearest): Likewise.
54317         (tan_test_towardzero): Likewise.
54318         (tan_test_downward): Likewise.
54319         (tan_test_upward): Likewise.
54320         (tanh_test): Likewise.
54321         (tgamma_test): Likewise.
54322         (y0_test): Likewise.
54323         (y1_test): Likewise.
54324         (yn_test): Likewise.
54326         * math/gen-libm-test.pl (adjust_arg): Remove function.
54327         (special_function): Remove argument $in_func.  Only handle
54328         generating output for tables of tests, not inside functions.
54329         (parse_args): Likewise.
54330         (generate_testfile): Remove variable $in_func.  Update call to
54331         parse_args.
54332         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54333         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54334         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54335         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54336         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54337         (MAX_VALUE_INIT): Rename macro to max_value.
54338         (MIN_VALUE_INIT): Rename macro to min_value.
54339         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54340         (plus_zero): Remove variable.
54341         (minus_zero): Likewise.
54342         (plus_infty): Likewise.
54343         (minus_infty): Likewise.
54344         (qnan_value): Likewise.
54345         (max_value): Likewise.
54346         (min_value): Likewise.
54347         (min_subnorm_value): Likewise.
54349 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54351         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54352         uint64_t or uint32_t usage.
54353         * crypt/sha256-block.c: Likewise.
54354         * crypt/sha256-crypt.c: Likewise.
54355         * crypt/sha256.c: Likewise.
54356         * crypt/sha512-block.c: Likewise.
54357         * crypt/sha512-crypt.c: Likewise.
54358         * crypt/sha512.c: Likewise.
54359         * debug/backtrace-tst.c: Likewise.
54360         * debug/pcprofiledump.c: Likewise.
54361         * elf/cache.c: Likewise.
54362         * elf/dl-cache.c: Likewise.
54363         * elf/dl-misc.c: Likewise.
54364         * elf/dl-profile.c: Likewise.
54365         * elf/dl-support.c: Likewise.
54366         * elf/ldconfig.c: Likewise.
54367         * elf/sprof.c: Likewise.
54368         * iconv/dummy-repertoire.c: Likewise.
54369         * iconv/iconv_charmap.c: Likewise.
54370         * iconv/skeleton.c: Likewise.
54371         * iconvdata/8bit-generic.c: Likewise.
54372         * iconvdata/cp737.h: Likewise.
54373         * iconvdata/cp775.h: Likewise.
54374         * iconvdata/ibm1008.h: Likewise.
54375         * iconvdata/ibm1025.h: Likewise.
54376         * iconvdata/ibm1046.h: Likewise.
54377         * iconvdata/ibm1097.h: Likewise.
54378         * iconvdata/ibm1112.h: Likewise.
54379         * iconvdata/ibm1122.h: Likewise.
54380         * iconvdata/ibm1123.h: Likewise.
54381         * iconvdata/ibm1124.h: Likewise.
54382         * iconvdata/ibm1129.h: Likewise.
54383         * iconvdata/ibm1130.h: Likewise.
54384         * iconvdata/ibm1132.h: Likewise.
54385         * iconvdata/ibm1133.h: Likewise.
54386         * iconvdata/ibm1137.h: Likewise.
54387         * iconvdata/ibm1140.h: Likewise.
54388         * iconvdata/ibm1141.h: Likewise.
54389         * iconvdata/ibm1142.h: Likewise.
54390         * iconvdata/ibm1143.h: Likewise.
54391         * iconvdata/ibm1144.h: Likewise.
54392         * iconvdata/ibm1145.h: Likewise.
54393         * iconvdata/ibm1146.h: Likewise.
54394         * iconvdata/ibm1147.h: Likewise.
54395         * iconvdata/ibm1148.h: Likewise.
54396         * iconvdata/ibm1149.h: Likewise.
54397         * iconvdata/ibm1153.h: Likewise.
54398         * iconvdata/ibm1154.h: Likewise.
54399         * iconvdata/ibm1155.h: Likewise.
54400         * iconvdata/ibm1156.h: Likewise.
54401         * iconvdata/ibm1157.h: Likewise.
54402         * iconvdata/ibm1158.h: Likewise.
54403         * iconvdata/ibm1160.h: Likewise.
54404         * iconvdata/ibm1161.h: Likewise.
54405         * iconvdata/ibm1162.h: Likewise.
54406         * iconvdata/ibm1163.h: Likewise.
54407         * iconvdata/ibm1164.h: Likewise.
54408         * iconvdata/ibm1166.h: Likewise.
54409         * iconvdata/ibm1167.h: Likewise.
54410         * iconvdata/ibm12712.h: Likewise.
54411         * iconvdata/ibm1390.h: Likewise.
54412         * iconvdata/ibm1399.h: Likewise.
54413         * iconvdata/ibm16804.h: Likewise.
54414         * iconvdata/ibm4517.h: Likewise.
54415         * iconvdata/ibm4899.h: Likewise.
54416         * iconvdata/ibm4909.h: Likewise.
54417         * iconvdata/ibm4971.h: Likewise.
54418         * iconvdata/ibm5347.h: Likewise.
54419         * iconvdata/ibm803.h: Likewise.
54420         * iconvdata/ibm856.h: Likewise.
54421         * iconvdata/ibm901.h: Likewise.
54422         * iconvdata/ibm902.h: Likewise.
54423         * iconvdata/ibm9030.h: Likewise.
54424         * iconvdata/ibm9066.h: Likewise.
54425         * iconvdata/ibm921.h: Likewise.
54426         * iconvdata/ibm922.h: Likewise.
54427         * iconvdata/ibm9448.h: Likewise.
54428         * iconvdata/isiri-3342.h: Likewise.
54429         * iconvdata/jis0201.h: Likewise.
54430         * include/link.h: Likewise.
54431         * include/netdb.h: Likewise.
54432         * inet/check_native.c: Likewise.
54433         * inet/check_pf.c: Likewise.
54434         * inet/getipv4sourcefilter.c: Likewise.
54435         * inet/getnameinfo.c: Likewise.
54436         * inet/getsourcefilter.c: Likewise.
54437         * inet/htonl.c: Likewise.
54438         * inet/setipv4sourcefilter.c: Likewise.
54439         * inet/setsourcefilter.c: Likewise.
54440         * inet/test-inet6_opt.c: Likewise.
54441         * inet/tst-network.c: Likewise.
54442         * locale/C-collate.c: Likewise.
54443         * locale/C-ctype.c: Likewise.
54444         * locale/C-time.c: Likewise.
54445         * locale/C-translit.h: Likewise.
54446         * locale/loadarchive.c: Likewise.
54447         * locale/programs/3level.h: Likewise.
54448         * locale/programs/charmap.c: Likewise.
54449         * locale/programs/charmap.h: Likewise.
54450         * locale/programs/ld-address.c: Likewise.
54451         * locale/programs/ld-collate.c: Likewise.
54452         * locale/programs/ld-ctype.c: Likewise.
54453         * locale/programs/ld-identification.c: Likewise.
54454         * locale/programs/ld-measurement.c: Likewise.
54455         * locale/programs/ld-messages.c: Likewise.
54456         * locale/programs/ld-monetary.c: Likewise.
54457         * locale/programs/ld-name.c: Likewise.
54458         * locale/programs/ld-numeric.c: Likewise.
54459         * locale/programs/ld-paper.c: Likewise.
54460         * locale/programs/ld-telephone.c: Likewise.
54461         * locale/programs/ld-time.c: Likewise.
54462         * locale/programs/linereader.c: Likewise.
54463         * locale/programs/locale.c: Likewise.
54464         * locale/programs/locarchive.c: Likewise.
54465         * locale/programs/locfile.h: Likewise.
54466         * locale/programs/repertoire.c: Likewise.
54467         * locale/programs/simple-hash.c: Likewise.
54468         * locale/programs/simple-hash.h: Likewise.
54469         * malloc/memusage.c: Likewise.
54470         * malloc/memusagestat.c: Likewise.
54471         * nis/nis_defaults.c: Likewise.
54472         * nis/nis_hash.c: Likewise.
54473         * nis/nis_print.c: Likewise.
54474         * nis/nis_xdr.c: Likewise.
54475         * nscd/connections.c: Likewise.
54476         * nscd/hstcache.c: Likewise.
54477         * nscd/nscd_gethst_r.c: Likewise.
54478         * nscd/nscd_getserv_r.c: Likewise.
54479         * nscd/nscd_helper.c: Likewise.
54480         * nscd/servicescache.c: Likewise.
54481         * nss/makedb.c: Likewise.
54482         * nss/nss_db/db-XXX.c: Likewise.
54483         * nss/nss_db/db-initgroups.c: Likewise.
54484         * nss/nss_db/db-netgrp.c: Likewise.
54485         * nss/nss_files/files-network.c: Likewise.
54486         * nss/nss_files/files-parse.c: Likewise.
54487         * posix/bug-regex5.c: Likewise.
54488         * posix/fnmatch_loop.c: Likewise.
54489         * posix/regcomp.c: Likewise.
54490         * posix/regexec.c: Likewise.
54491         * posix/tst-rfc3484-2.c: Likewise.
54492         * posix/tst-rfc3484-3.c: Likewise.
54493         * posix/tst-rfc3484.c: Likewise.
54494         * resolv/nss_dns/dns-canon.c: Likewise.
54495         * resolv/nss_dns/dns-network.c: Likewise.
54496         * resolv/res_init.c: Likewise.
54497         * resolv/res_mkquery.c: Likewise.
54498         * resolv/tst-aton.c: Likewise.
54499         * stdlib/cxa_atexit.c: Likewise.
54500         * stdlib/cxa_finalize.c: Likewise.
54501         * stdlib/gen-fpioconst.c: Likewise.
54502         * stdlib/strtol_l.c: Likewise.
54503         * string/tst-endian.c: Likewise.
54504         * sunrpc/auth_des.c: Likewise.
54505         * sunrpc/clnt_udp.c: Likewise.
54506         * sunrpc/rtime.c: Likewise.
54507         * sunrpc/svcauth_des.c: Likewise.
54508         * sunrpc/xdr.c: Likewise.
54509         * sunrpc/xdr_intXX_t.c: Likewise.
54510         * sunrpc/xdr_rec.c: Likewise.
54511         * sysdeps/generic/ldconfig.h: Likewise.
54512         * sysdeps/generic/ldsodefs.h: Likewise.
54513         * sysdeps/generic/memusage.h: Likewise.
54514         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54515         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54516         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54517         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54518         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54520         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54521         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54522         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54523         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54524         * sysdeps/posix/getaddrinfo.c: Likewise.
54525         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54526         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54527         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54528         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54529         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54530         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54531         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54532         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54533         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54534         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54535         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54536         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54537         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54538         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54539         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54540         * sysdeps/x86_64/dl-tls.h: Likewise.
54541         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54542         * time/alt_digit.c: Likewise.
54543         * time/era.c: Likewise.
54544         * wcsmbs/tst-c16c32-1.c: Likewise.
54546 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54548         * math/libm-test.inc (struct test_sincos_data): New type.
54549         (RUN_TEST_LOOP_sincos): New macro.
54550         (sincos_test_data): New variable.
54551         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54553 2013-05-16  Richard Henderson  <rth@redhat.com>
54555         * math/atest-exp2.c (LIMB64): New macro.
54556         (CONSTSZ): New macro.
54557         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54558         (hexdig): Move ...
54559         (print_mpn_fp): ... to function scope.
54560         (read_mpn_hex): Remove.
54561         (get_log2): Remove.
54562         (exp2_mpn): Use mp_log2.
54563         (main): Use mp_exp1.
54565 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54567         * math/libm-test.inc: Remove comment about not testing "inexact"
54568         exceptions.
54569         (INEXACT_EXCEPTION): New macro.
54570         (NO_INEXACT_EXCEPTION): Likewise.
54571         (INVALID_EXCEPTION_OK): Update value.
54572         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54573         (OVERFLOW_EXCEPTION_OK): Likewise.
54574         (UNDERFLOW_EXCEPTION_OK): Likewise.
54575         (IGNORE_ZERO_INF_SIGN): Likewise.
54576         (ERRNO_UNCHANGED): Likewise.
54577         (ERRNO_EDOM): Likewise.
54578         (ERRNO_ERANGE): Likewise.
54579         (test_exceptions): Handle testing "inexact" exceptions.
54580         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54581         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54582         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54583         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54584         INEXACT_EXCEPTION.
54585         (rint_towardzero_test_data): Likewise.
54586         (rint_downward_test_data): Likewise.
54587         (rint_upward_test_data): Likewise.
54589         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54590         with OVERFLOW_EXCEPTION.
54591         (exp10_test_data): Likewise.
54592         (exp2_test_data): Likewise.
54593         (expm1_test_data): Likewise.
54594         (lgamma_test_data): Likewise.
54595         (pow_test_data): Likewise.
54596         (tgamma_test_data): Likewise.
54597         (yn_test_data): Remove duplicate test of overflow.
54599         * math/libm-test.inc (struct test_cc_c_data): New type.
54600         (RUN_TEST_LOOP_cc_c): New macro.
54601         (cpow_test_data): New variable.
54602         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54604         * math/libm-test.inc (struct test_f_L_data): New type.
54605         (RUN_TEST_LOOP_f_L): New macro.
54606         (llrint_test_data): New variable.
54607         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54608         (llrint_tonearest_test_data): New variable.
54609         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54610         (llrint_towardzero_test_data): New variable.
54611         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54612         (llrint_downward_test_data): New variable.
54613         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54614         (llrint_upward_test_data): New variable.
54615         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54616         (llround_test_data): New variable.
54617         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54619 2013-05-13  Peter Collingbourne  <pcc@google.com>
54621         * math/atest-exp2.c (get_log2): Remove const attribute.
54623 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54625         * math/libm-test.inc (struct test_f_l_data): New type.
54626         (RUN_TEST_LOOP_f_l): New macro.
54627         (lrint_test_data): New variable.
54628         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54629         (lrint_tonearest_test_data): New variable.
54630         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54631         (lrint_towardzero_test_data): New variable.
54632         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54633         (lrint_downward_test_data): New variable.
54634         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54635         (lrint_upward_test_data): New variable.
54636         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54637         (lround_test_data): New variable.
54638         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54640 2013-05-15  Peter Collingbourne  <pcc@google.com>
54642         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54643         (EXTRACT_WORDS64) Use where appropriate.
54644         (INSERT_WORDS64) Likewise.
54646         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54647         constraints with x constraints.
54648         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54650         * malloc/obstack.c (_obstack_compat): Add initializer.
54652 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54654         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54655         si_trapno and add si_addr_lsb to _sifields.sigfault.
54656         (si_trapno): Remove macro.
54657         (si_addr_lsb): Define new macro.
54658         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54660 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54662         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54663         instead of TEST_f_l.
54664         (llrint_test_tonearest): Likewise.
54665         (llrint_test_towardzero): Likewise.
54666         (llrint_test_downward): Likewise.
54667         (llrint_test_upward): Likewise.
54668         (llround_test): Likewise.
54670         * math/libm-test.inc (struct test_f_i_data): Add comment.
54671         (RUN_TEST_LOOP_f_b): New macro.
54672         (RUN_TEST_LOOP_f_b_tg): Likewise.
54673         (finite_test_data): New variable.
54674         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54675         (isfinite_test_data): New variable.
54676         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54677         (isinf_test_data): New variable.
54678         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54679         (isnan_test_data): New variable.
54680         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54681         (isnormal_test_data): New variable.
54682         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54683         (issignaling_test_data): New variable.
54684         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54685         (signbit_test_data): New variable.
54686         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54688         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54689         with INVALID_EXCEPTION.
54690         (acosh_test_data): Likewise.
54691         (asin_test_data): Likewise.
54692         (atanh_test_data): Likewise.
54693         (fmod_test_data): Likewise.
54694         (log_test_data): Likewise.
54695         (log10_test_data): Likewise.
54696         (log2_test_data): Likewise.
54697         (pow_test_data): Likewise.
54698         (sqrt_test_data): Likewise.
54699         (y0_test_data): Likewise.
54700         (y1_test_data): Likewise.
54701         (yn_test_data): Likewise.
54703         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54704         function contents.
54706         * math/libm-test.inc (struct test_ff_i_data): New type.
54707         (RUN_TEST_LOOP_ff_i_tg): New macro.
54708         (isgreater_test_data): New variable.
54709         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54710         (isgreaterequal_test_data): New variable.
54711         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54712         (isless_test_data): New variable.
54713         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54714         (islessequal_test_data): New variable.
54715         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54716         (islessgreater_test_data): New variable.
54717         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54718         (isunordered_test_data): New variable.
54719         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54721 2013-05-14  David S. Miller  <davem@davemloft.net>
54723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54725 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54727         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54729         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54730         extra_test to int.
54731         (struct test_f_i_data): Change type of max_ulp to int.
54733         * math/libm-test.inc (test_ffI_f1_data): New type.
54734         (RUN_TEST_LOOP_ffI_f1): New macro.
54735         (remquo_test_data): New variable.
54736         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54738         * setjmp/tst-setjmp-fp.c: New file.
54739         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54740         (link-libm): New variable.
54741         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54743         * math/libm-test.inc (struct test_f_i_data): New type.
54744         (RUN_TEST_LOOP_f_i): New macro.
54745         (RUN_TEST_LOOP_f_i_tg): Likewise.
54746         (fpclassify_test_data): New variable.
54747         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54748         (ilogb_test_data): New variable.
54749         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54751         * math/libm-test.inc (scalbln_test): Correct function name in END
54752         call.
54754         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54755         (RUN_TEST_LOOP_fI_f1): New macro.
54756         (frexp_test_data): New variable.
54757         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54759         * math/libm-test.inc (struct test_fF_f1_data): New type.
54760         (RUN_TEST_LOOP_fF_f1): New macro.
54761         (modf_test_data): New variable.
54762         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54764         * math/libm-test.inc (struct test_f_f1_data): New type.
54765         (RUN_TEST_LOOP_f_f1): New macro.
54766         (gamma_test_data): New variable.
54767         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54768         (lgamma_test_data): New variable.
54769         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54771 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54773         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54774         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54775         (main): Comment "tls" pseudo-hwcap.
54777 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54779         * math/libm-test.inc (struct test_fl_f_data): New type.
54780         (RUN_TEST_LOOP_fl_f): New variable.
54781         (scalbln_test_data): New variable.
54782         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54784         * math/libm-test.inc (struct test_fi_f_data): New type.
54785         (RUN_TEST_LOOP_fi_f): New macro.
54786         (ldexp_test_data): New variable.
54787         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54788         (scalbn_test_data): New variable.
54789         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54791         * math/libm-test.inc (struct test_c_f_data): New type.
54792         (RUN_TEST_LOOP_c_f): New macro.
54793         (cabs_test_data): New variable.
54794         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54795         (carg_test_data): New variable.
54796         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54797         (cimag_test_data): New variable.
54798         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54799         (creal_test_data): New variable.
54800         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54802         * math/libm-test.inc (struct test_if_f_data): New type.
54803         (RUN_TEST_LOOP_if_f): New macro.
54804         (jn_test_data): New variable.
54805         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54806         (yn_test_data): New variable.
54807         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54809         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54811 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54813         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54814         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54816 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54818         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54819         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54820         (bench-deps): Add bench-timing.h.
54821         * benchtests-bench-skeleton.c: Include bench-timing.h.
54822         (main): Use TIMING_* macros instead of clock_gettime.
54823         * benchtests/bench-timing.h: New file.
54825         [BZ #14582]
54826         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54827         Renamed from _LIB_VERSION.
54828         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54830 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54832         * math/libm-test.inc (struct test_fff_f_data): New type.
54833         (RUN_TEST_LOOP_fff_f): New macro.
54834         (fma_test_data): New variable.
54835         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54836         (fma_towardzero_test_data): New variable.
54837         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54838         (fma_downward_test_data): New variable.
54839         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54840         (fma_upward_test_data): New variable.
54841         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54843         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54844         (struct test_c_c_data): New type.
54845         (RUN_TEST_LOOP_c_c): New macro.
54846         (cacos_test_data): New variable.
54847         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54848         (cacosh_test_data): New variable.
54849         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54850         (casin_test_data): New variable.
54851         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54852         (casinh_test_data): New variable.
54853         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54854         (catan_test_data): New variable.
54855         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54856         (catanh_test_data): New variable.
54857         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54858         (ccos_test_data): New variable.
54859         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54860         (ccosh_test_data): New variable.
54861         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54862         (cexp_test_data): New variable.
54863         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54864         (clog_test_data): New variable.
54865         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54866         (clog10_test_data): New variable.
54867         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54868         (conj_test_data): New variable.
54869         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54870         (cproj_test_data): New variable.
54871         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54872         (csin_test_data): New variable.
54873         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54874         (csinh_test_data): New variable.
54875         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54876         (csqrt_test_data): New variable.
54877         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54878         (ctan_test_data): New variable.
54879         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54880         (ctan_tonearest_test_data): New variable.
54881         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54882         (ctan_towardzero_test_data): New variable.
54883         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54884         (ctan_downward_test_data): New variable.
54885         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54886         (ctan_upward_test_data): New variable.
54887         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54888         (ctanh_test_data): New variable.
54889         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54890         (ctanh_tonearest_test_data): New variable.
54891         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54892         (ctanh_towardzero_test_data): New variable.
54893         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54894         (ctanh_downward_test_data): New variable.
54895         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54896         (ctanh_upward_test_data): New variable.
54897         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54898         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54899         of BUILD_COMPLEX.
54901         * math/libm-test.inc (struct test_ff_f_data): New type.
54902         (struct test_ff_f_data_nexttoward): Likewise.
54903         (RUN_TEST_LOOP_2_f): New macro.
54904         (RUN_TEST_LOOP_ff_f): Likewise.
54905         (atan2_test_data): New variable.
54906         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54907         (copysign_test_data): New variable.
54908         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54909         (fdim_test_data): New variable.
54910         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54911         (fmax_test_data): New variable.
54912         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54913         (fmin_test_data): New variable.
54914         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54915         (fmod_test_data): New variable.
54916         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54917         (hypot_test_data): New variable.
54918         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54919         (nextafter_test_data): New variable.
54920         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54921         (nexttoward_test_data): New variable.
54922         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54923         (pow_test_data): New variable.
54924         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54925         (pow_tonearest_test_data): New variable.
54926         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54927         (pow_towardzero_test_data): New variable.
54928         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54929         (pow_downward_test_data): New variable.
54930         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54931         (pow_upward_test_data): New variable.
54932         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54933         (remainder_test_data): New variable.
54934         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54935         (scalb_test_data): New variable.
54936         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54937         * sysdeps/i386/fpu/libm-test-ulps: Update.
54939 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54941         * math/libm-test.inc (fma_test): Use max_value instead of local
54942         variable fltmax.
54943         (nextafter_test): Likewise.
54945         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54946         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54947         (acos_downward_test_data): New variable.
54948         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54949         (acos_upward_test_data): New variable.
54950         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54951         (acosh_test_data): New variable.
54952         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54953         (asin_test_data): New variable.
54954         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54955         (asin_tonearest_test_data): New variable.
54956         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54957         (asin_towardzero_test_data): New variable.
54958         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54959         (asin_downward_test_data): New variable.
54960         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54961         (asin_upward_test_data): New variable.
54962         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54963         (asinh_test_data): New variable.
54964         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54965         (atan_test_data): New variable.
54966         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54967         (atanh_test_data): New variable.
54968         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54969         (cbrt_test_data): New variable.
54970         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54971         (ceil_test_data): New variable.
54972         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54973         (cos_test_data): New variable.
54974         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54975         (cos_tonearest_test_data): New variable.
54976         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54977         (cos_towardzero_test_data): New variable.
54978         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54979         (cos_downward_test_data): New variable.
54980         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54981         (cos_upward_test_data): New variable.
54982         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54983         (cosh_test_data): New variable.
54984         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54985         (cosh_tonearest_test_data): New variable.
54986         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54987         (cosh_towardzero_test_data): New variable.
54988         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54989         (cosh_downward_test_data): New variable.
54990         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54991         (cosh_upward_test_data): New variable.
54992         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54993         (erf_test_data): New variable.
54994         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54995         (erfc_test_data): New variable.
54996         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54997         (exp_test_data): New variable.
54998         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54999         (exp_tonearest_test_data): New variable.
55000         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55001         (exp_towardzero_test_data): New variable.
55002         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55003         (exp_downward_test_data): New variable.
55004         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55005         (exp_upward_test_data): New variable.
55006         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55007         (exp10_test_data): New variable.
55008         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
55009         (exp2_test_data): New variable.
55010         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
55011         (expm1_test_data): New variable.
55012         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
55013         (fabs_test_data): New variable.
55014         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
55015         (floor_test_data): New variable.
55016         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
55017         (j0_test_data): New variable.
55018         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
55019         (j1_test_data): New variable.
55020         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
55021         (log_test_data): New variable.
55022         (log_test): Run tests with RUN_TEST_LOOP_f_f.
55023         (log10_test_data): New variable.
55024         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
55025         (log1p_test_data): New variable.
55026         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
55027         (log2_test_data): New variable.
55028         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
55029         (logb_test_data): New variable.
55030         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
55031         (logb_downward_test_data): New variable.
55032         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55033         (nearbyint_test_data): New variable.
55034         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
55035         (rint_test_data): New variable.
55036         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
55037         (rint_tonearest_test_data): New variable.
55038         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55039         (rint_towardzero_test_data): New variable.
55040         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55041         (rint_downward_test_data): New variable.
55042         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55043         (rint_upward_test_data): New variable.
55044         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55045         (round_test_data): New variable.
55046         (round_test): Run tests with RUN_TEST_LOOP_f_f.
55047         (sin_test_data): New variable.
55048         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
55049         (sin_tonearest_test_data): New variable.
55050         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55051         (sin_towardzero_test_data): New variable.
55052         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55053         (sin_downward_test_data): New variable.
55054         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55055         (sin_upward_test_data): New variable.
55056         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55057         (sinh_test_data): New variable.
55058         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
55059         (sinh_tonearest_test_data): New variable.
55060         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55061         (sinh_towardzero_test_data): New variable.
55062         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55063         (sinh_downward_test_data): New variable.
55064         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55065         (sinh_upward_test_data): New variable.
55066         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55067         (sqrt_test_data): New variable.
55068         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
55069         (tan_test_data): New variable.
55070         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
55071         (tan_tonearest_test_data): New variable.
55072         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55073         (tan_towardzero_test_data): New variable.
55074         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55075         (tan_downward_test_data): New variable.
55076         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55077         (tan_upward_test_data): New variable.
55078         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55079         (tanh_test_data): New variable.
55080         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
55081         (tgamma_test_data): New variable.
55082         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
55083         (trunc_test_data): New variable.
55084         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
55085         (y0_test_data): New variable.
55086         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
55087         (y1_test_data): New variable.
55088         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
55089         (significand_test_data): New variable.
55090         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
55092 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
55094         [BZ #12387]
55095         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
55097 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55099         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
55101 2013-05-10  Andreas Jaeger  <aj@suse.de>
55103         [BZ #15448]
55104         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
55105         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
55107 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
55109         * math/gen-libm-test.pl (adjust_arg): New function.
55110         (special_functions): Handle generating output in both functions
55111         and arrays.
55112         (parse_args): Likewise.
55113         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
55114         $in_func argument to parse_args.
55115         * math/libm-test.inc (struct test_f_f_data): New type.
55116         (IF_ROUND_INIT_): New macro.
55117         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
55118         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55119         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55120         (IF_ROUND_INIT_FE_UPWARD): Likewise.
55121         (ROUND_RESTORE_): Likewise.
55122         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
55123         (ROUND_RESTORE_FE_TONEAREST): Likewise.
55124         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
55125         (ROUND_RESTORE_FE_UPWARD): Likewise.
55126         (RUN_TEST_LOOP_f_f): New macro.
55127         (acos_test_data): New variable.
55128         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
55129         (acos_tonearest_test_data): New variable.
55130         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55132 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55134         * benchtests/bench-skeleton.c (startup): Fix coding style.
55136 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
55138         [BZ #6809]
55139         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
55140         negative infinity argument.
55141         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
55142         negative infinity argument.
55143         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
55144         negative infinity argument.
55145         * math/libm-test.inc (tgamma_test): Expect errno to be set for
55146         domain errors.
55148 2013-05-10  Florian Weimer  <fweimer@redhat.com>
55150         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
55151         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
55152         * iconv/iconv_prog.c (main): Likewise.
55153         * locale/programs/charmap-dir.c (charmap_readdir)
55154         (fopen_uncompressed): Likewise.
55155         * locale/programs/locfile.c (siblings_uncached)
55156         (write_locale_data): Use lstat64 instead of lstat.
55157         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
55158         stat.
55160 2013-05-10  Andreas Jaeger  <aj@suse.de>
55162         [BZ #15395]
55163         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
55164         localization.
55165         Include <locale.h>.
55167 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
55169         * elf/dl-close.c (_dl_close_worker): Add comments.
55171 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
55173         [BZ #15359]
55174         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
55175         high part of pi/2.
55176         (__ieee754_rem_pio2l): Update comments.
55178         [BZ #15429]
55179         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
55180         high part of pi/2.
55181         (__ieee754_rem_pio2l): Update comments.
55183         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
55184         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
55186         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
55187         M_PI_4l.
55189         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
55190         (M_PI_34_LOG10El): Likewise.
55191         (M_PI2_LOG10El): Likewise.
55192         (M_PI4_LOG10El): Likewise.
55193         (M_PI_LOG10El): Likewise.
55195 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55199 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
55201         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
55202         (MINUS_ZERO_INIT): Likewise.
55203         (PLUS_INFTY_INIT): Likewise.
55204         (MINUS_INFTY_INIT): Likewise.
55205         (QNAN_VALUE_INIT): Likewise.
55206         (MAX_VALUE_INIT): Likewise.
55207         (MIN_VALUE_INIT): Likewise.
55208         (MIN_SUBNORM_VALUE_INIT): Likewise.
55209         (plus_zero): Initialize with PLUS_ZERO_INIT.
55210         (minus_zero): Initialize with MINUS_ZERO_INIT.
55211         (plus_infty): Initialize with PLUS_INFTY_INIT.
55212         (minus_infty): Initialize with MINUS_INFTY_INIT.
55213         (qnan_value): Initialize with QNAN_VALUE_INIT.
55214         (max_value): Initialize with MAX_VALUE_INIT.
55215         (min_value): Initialize with MIN_VALUE_INIT.
55216         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
55218         * math/libm-test.inc (RUN_TEST_if_f): New macro.
55219         (jn_test): Use TEST_if_f instead of TEST_ff_f.
55220         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
55221         (yn_test): Use TEST_if_f instead of TEST_ff_f.
55223         * math/libm-test.inc (RUN_TEST_f_f): New macro.
55224         (RUN_TEST_2_f): Likewise.
55225         (RUN_TEST_ff_f): Likewise.
55226         (RUN_TEST_fi_f): Likewise.
55227         (RUN_TEST_fl_f): Likewise.
55228         (RUN_TEST_fff_f): Likewise.
55229         (RUN_TEST_c_f): Likewise.
55230         (RUN_TEST_f_f1): Likewise.
55231         (RUN_TEST_fF_f1): Likewise.
55232         (RUN_TEST_fI_f1): Likewise.
55233         (RUN_TEST_ffI_f1): Likewise.
55234         (RUN_TEST_c_c): Likewise.
55235         (RUN_TEST_cc_c): Likewise.
55236         (RUN_TEST_f_i): Likewise.
55237         (RUN_TEST_f_i_tg): Likewise.
55238         (RUN_TEST_ff_i_tg): Likewise.
55239         (RUN_TEST_f_b): Likewise.
55240         (RUN_TEST_f_b_tg): Likewise.
55241         (RUN_TEST_f_l): Likewise.
55242         (RUN_TEST_f_L): Likewise.
55243         (RUN_TEST_sincos): Likewise.
55244         * math/gen-libm-test.pl (new_test): Take new argument to indicate
55245         whether to show exceptions.  Do not include ");\n" in return
55246         value.
55247         (special_functions): Output call to RUN_TEST_sincos instead of
55248         check_float calls.  Update calls to new_test.
55249         (parse_args): Output call to single RUN_TEST_* macro instead of
55250         check_* calls and other assignments.  Update calls to new_test.
55252         [BZ #2546]
55253         [BZ #2560]
55254         [BZ #5159]
55255         [BZ #15426]
55256         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
55257         input to result for tgamma overflow.
55258         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
55259         (gamma_coeff): New variable.
55260         (NCOEFF): New macro.
55261         (gamma_positive): New function.
55262         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
55263         underflow here.  Use gamma_positive instead of exp (lgamma) for
55264         other arguments.
55265         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
55266         (gamma_coeff): New variable.
55267         (NCOEFF): New macro.
55268         (gammaf_positive): New function.
55269         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
55270         underflow here.  Use gamma_positive instead of exp (lgamma) for
55271         other arguments.
55272         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
55273         (gamma_coeff): New variable.
55274         (NCOEFF): New macro.
55275         (gammal_positive): New function.
55276         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
55277         underflow here.  Use gamma_positive instead of exp (lgamma) for
55278         other arguments.
55279         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
55280         (gamma_coeff): New variable.
55281         (NCOEFF): New macro.
55282         (gammal_positive): New function.
55283         (__ieee754_gammal_r): Handle positive infinity, overflow and
55284         underflow here.  Handle NaN the same as positive infinity.  Remove
55285         check x < 0xffffffff for negative integers.  Use gamma_positive
55286         instead of exp (lgamma) for other arguments.
55287         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
55288         (gamma_coeff): New variable.
55289         (NCOEFF): New macro.
55290         (gammal_positive): New function.
55291         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55292         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55293         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55294         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55295         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55296         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55297         * sysdeps/generic/math_private.h (__gamma_productf): New
55298         prototype.
55299         (__gamma_product): Likewise.
55300         (__gamma_productl): Likewise.
55301         * math/Makefile (libm-calls): Add gamma_product.
55302         * math/libm-test.inc (tgamma_test): Add more tests.
55303         * sysdeps/i386/fpu/libm-test-ulps: Update.
55304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55306 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55308         * benchtests/bench-skeleton.c (main): Preheat CPU.
55310 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55312         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55314 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55316         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55317         and _dl_skip_args_internal.
55319 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55321         * manual/message.texi (Message Translation): Talk about users.
55322         Message to key mapping impacts design.
55324 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55326         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55328         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55330         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55331         * sysdeps/wordsize-64/glob64.c: ... here.
55333         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55334         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55335         New macros.
55337         * debug/getlogin_r_chk.c: Moved to ...
55338         * login/getlogin_r_chk.c: ... here.
55339         * debug/Makefile (routines): Move getlogin_r_chk to ...
55340         * login/Makefile (routines): ... here.
55341         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55342         * login/Versions (libc: GLIBC_2.4): ... here.
55344         * io/poll.c (__poll): Renamed from poll.
55345         Add libc_hidden_def.
55346         (poll): Define as weak alias.
55348         * debug/ptsname_r_chk.c: Moved to ...
55349         * login/ptsname_r_chk.c: ... here.
55350         * debug/Makefile (routines): Move ptsname_r_chk to ...
55351         * login/Makefile (routines): ... here.
55352         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55353         * login/Versions (libc: GLIBC_2.4): ... here.
55355         * posix/getlogin.c: Moved to ...
55356         * login/getlogin.c: ... here.
55357         * posix/getlogin_r.c: Moved to ...
55358         * login/getlogin_r.c: ... here.
55359         * posix/getlogin_r.c: Moved to ...
55360         * login/getlogin_r.c: ... here.
55361         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55362         * login/Makefile (routines): ... here.
55363         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55364         * login/Versions (libc: GLIBC_2.0): ... here.
55366         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55367         (setrlimit): Define as weak alias.
55369         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55370         Call __ names for open, ftruncate, and close.
55371         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55372         (truncate): Define as weak alias.
55374 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55376         * math/gen-libm-test.pl (parse_args): Initialize x before each
55377         test of frexp, modf and remquo.
55379         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55380         test signgam value.
55382 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55384         [BZ #15418]
55385         [BZ #15419]
55386         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55387         internal tests.
55388         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55390 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55392         * elf/dl-writev.h: New file.
55393         * elf/dl-misc.c: Include it.
55394         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55395         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55397 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55399         * math/libm-test.inc (noXFails): Remove variable.
55400         (noXPasses): Likewise.
55401         (BUILD_COMPLEX_INT): Remove macro.
55402         (print_screen): Remove xfail argument.
55403         (print_screen_max_error): Likewise.
55404         (update_stats): Likewise.
55405         (print_max_error): Likewise.  Update calls to other affected
55406         functions.
55407         (print_complex_max_error): Likewise.
55408         (test_single_exception): Update calls to print_screen.
55409         (test_single_errno): Likewise.
55410         (check_float_internal): Remove xfail argument.  Update calls to
55411         other affected functions.
55412         (check_float): Likewise.
55413         (check_complex): Likewise.
55414         (check_int): Likewise.
55415         (check_long): Likewise.
55416         (check_bool): Likewise.
55417         (check_longlong): Likewise.
55418         (main): Don't print noXFails and noXPasses.
55419         * math/gen-libm-test.pl (top level): Don't mention expected
55420         failure handling in comment.
55421         (new_test): Don't handle expected failures.
55422         (parse_args): Don't mention expected failure handling in comment.
55423         (generate_testfile): Don't handle expected failures.
55424         (parse_ulps): Likewise.
55425         (print_ulps_file): Likewise.
55426         (get_failure): Remove function.
55427         (output_test): Don't handle expected failures.
55428         * make/README.libm-test: Don't mention expected failure handling.
55430         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55431         (minus_zero): Likewise.
55432         (plus_infty): Likewise.
55433         (minus_infty): Likewise.
55434         (qnan_value): Likewise.
55435         (max_value): Likewise.
55436         (min_value): Likewise.
55437         (min_subnorm_value): Likewise.
55438         (initialize): Do not initialize those variables dynamically.
55440 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55442         * io/open.c (__open_2): Moved to ...
55443         * io/open_2.c: ... this new file.
55444         * io/open64.c (__open64_2): Moved to ...
55445         * io/open64_2.c: ... this new file.
55446         * io/openat.c (__openat_2): Moved to ...
55447         * io/openat_2.c: ... this new file.
55448         * io/openat64.c (__openat64_2): Moved to ...
55449         * io/openat64_2.c: ... this new file.
55450         * io/Makefile (routines): Add them.
55451         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55452         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55453         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55454         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55455         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55456         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55457         (__openat64): Add hidden_ver.
55458         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55459         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55461         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55462         Separately conditionalize setting of GLRO(dl_sysinfo) so
55463         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55464         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55466 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55468         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55469         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55470         definition.
55471         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55472         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55473         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55474         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55475         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55477 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55479         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55480         test signgam value.
55482         * math/libm-test.inc (hypot_test): Do not use
55483         IGNORE_ZERO_INF_SIGN.
55485 2013-05-03  Andreas Jaeger  <aj@suse.de>
55487         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55488         Linux 3.9.
55489         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55490         (PF_MAX): Adjust for VSOCK change.
55492 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55496 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55498         [BZ #15264]
55499         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55500         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55501         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55503 2013-05-02  David S. Miller  <davem@davemloft.net>
55505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55507 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55509         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55511 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55513         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55515 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55517         [BZ #14952]
55518         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55519         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55520         Use __attribute__ ((__gnu_inline__)).
55521         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55522         Don't use __attribute__ ((__gnu_inline__)).
55524 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55526         [BZ #15423]
55527         * math/s_catan.c (__catan): Handle small real or imaginary part of
55528         input specially to avoid spurious underflow.
55529         * math/s_catanf.c (__catanf): Likewise.
55530         * math/s_catanh.c (__catanh): Likewise.
55531         * math/s_catanhf.c (__catanhf): Likewise.
55532         * math/s_catanhl.c (__catanhl): Likewise.
55533         * math/s_catanl.c (__catanl): Likewise.
55534         * math/libm-test.inc (catan_test): Add more tests.
55535         (catanh_test): Likewise.
55536         * sysdeps/i386/fpu/libm-test-ulps: Update.
55537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55539 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55543 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55545         [BZ #15416]
55546         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55547         accurately for denominator in atan2.
55548         * math/s_catanf.c (__catanf): Likewise.
55549         * math/s_catanh.c (__catanh): Likewise.
55550         * math/s_catanhf.c (__catanhf): Likewise.
55551         * math/s_catanhl.c (__catanhl): Likewise.
55552         * math/s_catanl.c (__catanl): Likewise.
55553         * math/libm-test.inc (catan_test): Add more tests.
55554         (catanh_test): Likewise.
55555         * sysdeps/i386/fpu/libm-test-ulps: Update.
55556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55558 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55560         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55562         * benchtests/Makefile (bench): Remove slow benchmarks.
55563         * benchtests/atan-inputs: Add slow benchmark inputs.
55564         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55565         (BENCH_FUNC): Accept variant offset.
55566         (VARIANT): Define.
55567         * benchtests/bench-skeleton.c (main): Run benchmark for each
55568         variant.
55569         * benchtests/cos-inputs: Add slow benchmark inputs.
55570         * benchtests/exp-inputs: Likewise.
55571         * benchtests/pow-inputs: Likewise.
55572         * benchtests/sin-inputs: Likewise.
55573         * benchtests/slowatan-inputs: Remove.
55574         * benchtests/slowatan.c: Remove.
55575         * benchtests/slowcos-inputs: Remove.
55576         * benchtests/slowcos.c: Remove.
55577         * benchtests/slowexp-inputs: Remove.
55578         * benchtests/slowexp.c: Remove.
55579         * benchtests/slowpow-inputs: Remove.
55580         * benchtests/slowpow.c: Remove.
55581         * benchtests/slowsin-inputs: Remove.
55582         * benchtests/slowsin.c: Remove.
55583         * benchtests/slowtan-inputs: Remove.
55584         * benchtests/slowtan.c: Remove.
55585         * benchtests/tan-inputs: Add slow benchmark inputs.
55586         * scripts/bench.pl: Parse comments and directives.
55588         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55589         in CPPFLAGS.
55590         ($(objpfx)bench-%.c): Remove *-ITER.
55591         * benchtests/bench-modf.c: Remove definition of ITER.
55592         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55593         (main): Loop for DURATION seconds instead of fixed number of
55594         iterations.
55595         * scripts/bench.pl: Don't expect iterations in parameters.
55597 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55599         * io/fchdir.c (__fchdir): Renamed from fchdir.
55600         (fchdir): Define as weak alias.
55602 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55604         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55605         (ERRNO_EDOM): Likewise.
55606         (ERRNO_ERANGE): Likewise.
55607         (noErrnoTests): New variable.
55608         (init_max_error): Set errno to 0.
55609         (test_single_errno): New function.
55610         (test_errno): Likewise.
55611         (check_float_internal): Call test_errno.  Set errno to 0.
55612         (check_complex): Refer to errno tests in comment.
55613         (check_int): Call test_errno.  Set errno to 0.
55614         (check_long): Likewise.
55615         (check_bool): Likewise.
55616         (check_longlong): Likewise.
55617         (cos_test): Use ERRNO_* flags for errno tests instead of
55618         check_int.
55619         (expm1_test): Likewise.
55620         (fmod_test): Likewise.
55621         (ilogb_test): Likewise.
55622         (lgamma_test): Likewise.
55623         (pow_test): Likewise.
55624         (remainder_test): Likewise.
55625         (sin_test): Likewise.
55626         (tan_test): Likewise.
55627         (yn_test): Likewise.
55628         (initialize): Set errno to 0.
55629         (main): Print number of errno tests.
55630         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55632 2013-04-29  Andreas Jaeger  <aj@suse.de>
55634         [BZ #15084]
55635         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55636         and RES_USEVC.
55638         [BZ #15085]
55639         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55640         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55641         unimplemented.
55643         [BZ #15380]
55644         * stdlib/random.c (__initstate): Return NULL if
55645         __initstate fails.
55647         [BZ #15086]
55648         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55649         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55650         RES_SNGLKUPREOP.
55652 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55656 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55658         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55659         of individual tests.
55660         (casin_test): Likewise.
55661         (casinh_test): Likewise.
55663 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55665         [BZ #15409]
55666         * math/s_catan.c (__catan): Handle arguments with large real or
55667         imaginary part separately without squaring.
55668         * math/s_catanf.c (__catanf): Likewise.
55669         * math/s_catanh.c (__catanh): Likewise.
55670         * math/s_catanhf.c (__catanhf): Likewise.
55671         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55672         and redefine.
55673         (__catanhl): Handle arguments with large real or imaginary part
55674         separately without squaring.
55675         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55676         and redefine.
55677         (__catanl): Handle arguments with large real or imaginary part
55678         separately without squaring.
55679         * math/libm-test.inc (catan_test): Add more tests.
55680         (catanh_test): Likewise.
55681         * sysdeps/i386/fpu/libm-test-ulps: Update.
55682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55684 2013-04-27  Andreas Jaeger  <aj@suse.de>
55686         [BZ #15007]
55687         * stdlib/stdlib.h: Update guards for qecvt.
55688         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55689         <stdlib.h>.
55691 2013-04-27  Allan McRae  <allan@archlinux.org>
55693         * sysdeps/i386/fpu/libm-test-ulps: Update.
55695 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55697         [BZ #15406]
55698         * math/s_catan.c: Include <float.h>.
55699         (__catan): Ensure underflow exception occurs for underflowed
55700         result.
55701         * math/s_catanf.c: Include <float.h>.
55702         (__catanf): Ensure underflow exception occurs for underflowed
55703         result.
55704         * math/s_catanh.c: Include <float.h>.
55705         (__catanh): Ensure underflow exception occurs for underflowed
55706         result.
55707         * math/s_catanhf.c: Include <float.h>.
55708         (__catanhf): Ensure underflow exception occurs for underflowed
55709         result.
55710         * math/s_catanhl.c: Include <float.h>.
55711         (__catanhl): Ensure underflow exception occurs for underflowed
55712         result.
55713         * math/s_catanl.c: Include <float.h>.
55714         (__catanl): Ensure underflow exception occurs for underflowed
55715         result.
55716         * math/libm-test.inc (catan_test): Add more tests.
55717         (catanh_test): Likewise.
55719         [BZ #15405]
55720         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55721         underflowed result.
55722         * math/s_ccoshf.c (__ccoshf): Likewise.
55723         * math/s_ccoshl.c (__ccoshl): Likewise.
55724         * math/s_csin.c (__csin): Likewise.
55725         * math/s_csinf.c (__csinf): Likewise.
55726         * math/s_csinh.c (__csinh): Likewise.
55727         * math/s_csinhf.c (__csinhf): Likewise.
55728         * math/s_csinhl.c (__csinhl): Likewise.
55729         * math/s_csinl.c (__csinl): Likewise.
55730         * math/libm-test.inc (ccos_test): Add more tests.
55731         (ccosh_test): Likewise.
55732         (csin_test): Likewise.
55733         (csinh_test): Likewise.
55735 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55737         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55738         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55739         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55740         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55741         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55742         powerpc/power5+/fpu folders.
55743         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55746 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55750 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55752         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55753         additions to variable.
55754         [$(config-machine) = x86_64] (modules-names): Likewise.
55755         ($(objpfx)tst-audit3): Remove dependency.
55756         ($(objpfx)tst-audit3.out): Likewise.
55757         ($(objpfx)tst-audit4): Likewise.
55758         ($(objpfx)tst-audit4.out): Likewise.
55759         ($(objpfx)tst-audit5): Likewise.
55760         ($(objpfx)tst-audit5.out): Likewise.
55761         ($(objpfx)tst-audit6): Likewise.
55762         ($(objpfx)tst-audit6.out): Likewise.
55763         ($(objpfx)tst-audit7): Likewise.
55764         ($(objpfx)tst-audit7.out): Likewise.
55765         (tst-audit3-ENV): Remove variable.
55766         (tst-audit4-ENV): Likewise.
55767         (tst-audit5-ENV): Likewise.
55768         (tst-audit6-ENV): Likewise.
55769         (tst-audit7-ENV): Likewise.
55770         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55771         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55772         addition to variable.
55773         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55774         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55775         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55776         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55777         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55778         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55779         tst-audit3, tst-audit4 and tst-audit5.
55780         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55781         tst-audit6 and tst-audit7.
55782         [$(subdir) = elf] (modules-names): Add audit modules for those
55783         tests.
55784         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55785         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55786         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55787         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55788         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55789         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55790         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55791         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55792         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55793         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55794         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55795         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55796         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55797         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55798         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55799         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55800         Likewise.
55801         [$(subdir) = elf && $(config-cflags-avx) = yes]
55802         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55803         [$(subdir) = elf && $(config-cflags-avx) = yes]
55804         (CFLAGS-tst-auditmod4a.c): Likewise.
55805         [$(subdir) = elf && $(config-cflags-avx) = yes]
55806         (CFLAGS-tst-auditmod4b.c): Likewise.
55807         [$(subdir) = elf && $(config-cflags-avx) = yes]
55808         (CFLAGS-tst-auditmod6b.c): Likewise.
55809         [$(subdir) = elf && $(config-cflags-avx) = yes]
55810         (CFLAGS-tst-auditmod6c.c): Likewise.
55811         [$(subdir) = elf && $(config-cflags-avx) = yes]
55812         (CFLAGS-tst-auditmod7b.c): Likewise.
55813         * elf/tst-audit3.c: Move to ...
55814         * sysdeps/x86_64/tst-audit3.c: ... here.
55815         * elf/tst-audit4.c: Move to ...
55816         * sysdeps/x86_64/tst-audit4.c: ... here.
55817         * elf/tst-audit5.c: Move to ...
55818         * sysdeps/x86_64/tst-audit5.c: ... here.
55819         * elf/tst-audit6.c: Move to ...
55820         * sysdeps/x86_64/tst-audit6.c: ... here.
55821         * elf/tst-audit7.c: Move to ...
55822         * sysdeps/x86_64/tst-audit7.c: ... here.
55823         * elf/tst-auditmod3a.c: Move to ...
55824         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55825         * elf/tst-auditmod3b.c: Move to ...
55826         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55827         * elf/tst-auditmod4a.c: Move to ...
55828         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55829         * elf/tst-auditmod4b.c: Move to ...
55830         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55831         * elf/tst-auditmod5a.c: Move to ...
55832         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55833         * elf/tst-auditmod5b.c: Move to ...
55834         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55835         * elf/tst-auditmod6a.c: Move to ...
55836         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55837         * elf/tst-auditmod6b.c: Move to ...
55838         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55839         * elf/tst-auditmod6c.c: Move to ...
55840         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55841         * elf/tst-auditmod7a.c: Move to ...
55842         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55843         * elf/tst-auditmod7b.c: Move to ...
55844         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55846 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55848         [BZ #15366]
55849         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55850         define unconditionally.
55851         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55852         define unconditionally.
55853         (INT8_C, INT16_C, etc.): Likewise.
55855 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55857         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55858         __ehdr_start with hidden visibility.
55860         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55862 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55864         * math/libm-test.inc (cos_test): Use accurate hex constants.
55865         (sincost_test): Likewise.
55867 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55869         * math/libm-test.inc (catan_test): Add more tests.
55870         (catanh_test): Likewise.
55872         * math/s_catanf.c (__catanf): Use suffixed floating-point
55873         constants.
55874         * math/s_catanhf.c (__catanhf): Likewise.
55875         * math/s_catanhl.c (__catanhl): Likewise.
55876         * math/s_catanl.c (__catanl): Likewise.
55878         [BZ #15394]
55879         * math/s_catan.c (__catan): Calculate imaginary part of result
55880         with log1p not log unless computing log of number close to 0.
55881         * math/s_catanf.c (__catanf): Likewise.
55882         * math/s_catanl.c (__catanl): Likewise.
55883         * math/s_catanh.c (__catanh): Calculate real part of result with
55884         log1p not log unless computing log of number close to 0.
55885         * math/s_catanhf.c (__catanhf): Likewise.
55886         * math/s_catanhl.c (__catanhl): Likewise.
55887         * math/libm-test.inc (catan_test): Add more tests.
55888         (catanh_test): Likewise.
55889         * sysdeps/i386/fpu/libm-test-ulps: Update.
55890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55892 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55894         * benchtests/Makefile: Mention files in which fast and slow
55895         paths of math functions are implemented.
55897 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55899         * sysdeps/posix/timespec_get.c: New file.
55901 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55903         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55904         POWER.
55905         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55906         for POWER.
55907         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55908         powerpc/power5/fpu folders.
55909         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55910         * benchtests/Makefile: Add modf testcase.
55911         * benchtests/bench-modf.c: New file: Benchmark test for mo
55913 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55915         [BZ #14888]
55916         * time/Makefile (tests): Add tst-strptime-whitespace.
55917         * time/strptime_l.c (get_number): Use ISSPACE.
55918         (__strptime_internal): Likewise.
55919         * time/tst-strptime-whitespace.c: New test case.
55921 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55923         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55924         member.
55925         (_nss_files_init): Set it here.
55927 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55929         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55930         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55931         unsigned.
55933 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55935         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55937 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55939         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55940         size just once.
55942 2013-04-21  David S. Miller  <davem@davemloft.net>
55944         * po/ru.po: Update Russion translation from translation project.
55946 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55948         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55949         and setfsgid.
55951 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55953         * configure.in: Remove i386 configure warning. Remove i386 case.
55954         * configure: Regenerate.
55955         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55956         Add example to error message.
55957         * sysdeps/i386/configure: Regenerate.
55959 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55961         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55962         slowtan.
55963         * benchtests/cos-inputs: New file.
55964         * benchtests/slowcos-inputs: New file.
55965         * benchtests/slowcos.c: New file.
55966         * benchtests/slowtan-inputs: New file.
55967         * benchtests/slowtan.c: New file.
55968         * benchtests/tan-inputs: New file.
55970 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55972         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55973         considered kosher.
55975 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55977         * benchtests/Makefile: Include cppflags-iterator.mk to add
55978         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55980         * Makefile.in (bench-clean): New target.
55981         * benchtests/Makefile (bench-clean): Likewise.
55983 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55985         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55987 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55989         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55991 2013-04-15  Andreas Schwab  <schwab@suse.de>
55993         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55994         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55995         * nscd/pwdcache.c (cache_addpw): Likewise.
55996         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55997         more than recsize.
55999 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56001         * benchtests/Makefile (bench): Write all output to
56002         bench-out.tmp together.
56004 2013-04-15  Andreas Schwab  <schwab@suse.de>
56006         * nscd/nscd.c (main): Don't fork again after closing files.
56008 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56010         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
56012         * benchtests/Rules (bench-deps): Collect dependencies into a
56013         single variable.  Add Makefile to dependencies.
56014         ($(objpfx)bench-%.c): Depend on bench-deps.
56016 2013-04-12  Roland McGrath  <roland@hack.frob.com>
56017             Xavier Roche  <roche+kml2@exalead.com>
56019         [BZ #15361]
56020         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
56021         just that it's a file descriptor.
56022         * manual/llio.texi (Synchronizing AIO Operations): Update description
56023         for EBADF error from aio_fsync.
56025 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56027         * Rules (bench): Move target definition...
56028         * benchtests/Makefile: ... here.
56030 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
56032         * math/libm-test.inc (cos_test): Fix PI/2 test.
56033         (sincos_test): Likewise.
56034         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56035         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
56037 2013-04-11  Andreas Schwab  <schwab@suse.de>
56039         [BZ #13988]
56040         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
56041         accept exponent character only when digits were seen.
56042         * stdio-common/Makefile (tests): Add bug26.
56043         * stdio-common/bug26.c: New file.
56045         [BZ #14293]
56046         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
56047         non-freeable.
56049 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56051         * Makeconfig (rtld-prefix): Define built linker prefix.
56052         * Rules (run-bench): Use it.
56053         * math/Makefile (run-regen-ulps): Likewise.
56055         * Rules (bench): Remove eval.
56057 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56058             Roland McGrath  <roland@hack.frob.com>
56059             Ondrej Bilka  <neleai@seznam.cz>
56061         [BZ #15346]
56062         * time/getdate.c: Include ctype.h and alloca.h.
56063         (__getdate_r): Trim leading and trailing spaces of input.
56064         * time/tst-getdate.c (tests): Add tests with leading and
56065         trailing spaces.
56067 2013-04-08  Roland McGrath  <roland@hack.frob.com>
56069         [BZ #14280]
56070         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
56071         when computing value.
56073 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56075         * math/README.libm-test (How can I generate "libm-test-ulps"?):
56076         Use testrun.sh to run libm tests.
56078         [BZ #15309]
56079         * elf/dl-open.c (dl_open_worker): memset all of seen array.
56081 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
56083         [BZ #15264]
56084         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
56086 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56088         * Makefile.in (regen-ulps): New target.
56089         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
56090         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
56091         [ifneq (no,$(PERL)] (regen-ulps): New target.
56092         [ifeq (no,$(PERL)] (regen-ulps): New target.
56093         * math/libm-test.inc (ulps_file_name): Define.
56094         (output_dir): New variable.
56095         (options): Add "output-dir" option.
56096         (parse_opt): Handle 'o' case.
56097         (main): If output_dir is non-NULL use it as a prefix
56098         otherwise use "".
56099         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
56101 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56103         [BZ #10060, #10062]
56104         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
56105         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
56106         fail configure if __sync_val_compare_and_swap is not inlined.
56107         * sysdeps/i386/configure: Regenerate.
56108         * configure.in: Build for i686 when configured for i386.
56109         * configure: Regenerate.
56110         * README: Remove i386 reference.
56112 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56114         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
56115         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56117 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
56119         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
56120         (lmsnanval): New variables.
56121         (F): Add conversion tests.
56122         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
56123         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
56125         * stdio-common/tstdiomisc.c (F): Properly collect individual
56126         tests' results.
56128         [BZ #14686, #15336]
56129         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
56130         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
56131         Instead, use input NaN values or generate a qNaN by arithmetic
56132         operation.  Also fix bugs to comply with the standard.
56133         * math/libm-test.inc (remainder_test): Add more tests.
56135         [BZ #15335, #15342]
56136         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
56137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
56138         input NaN values or generate a qNaN by arithmetic operation.
56140         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
56141         unreachable code.
56143         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
56144         definitions.
56146 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
56148         [BZ #14478]
56149         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
56150         underflowed result.
56151         * math/s_cexpf.c (__cexpf): Likewise.
56152         * math/s_cexpl.c (__cexpl): Likewise.
56153         * math/libm-test.inc (cexp_test): Add more tests.
56155 2013-04-03  Andreas Schwab  <schwab@suse.de>
56157         [BZ #15330]
56158         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
56159         order arrays from heap if bigger than alloca cutoff.
56161 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
56163         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
56164         (SNAN_TESTS_double): Refer to GCC PR56831.
56165         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
56166         GCC PR56828.
56168 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56170         * Rules (bench): Move bench.out after the run is complete.
56172         * Rules (bench): Echo currently running benchmark.
56174         * benchtests/Makefile (bench): Add atan and slowatan.
56175         * benchtests/atan-inputs: New file.
56176         * benchtests/slowatan-inputs: New file.
56177         * benchtests/slowatan.c: New file.
56179         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
56180         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
56181         its value.
56183         [BZ #15305]
56184         * sysdeps/unix/sysv/linux/kernel-features.h
56185         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
56186         __ASSUME_XFS_RESTRICTED_CHOWN.
56187         * sysdeps/unix/sysv/linux/pathconf.c
56188         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
56189         Save and restore errno.
56191 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
56193         [BZ #15327]
56194         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
56195         arguments using __kernel_casinh.
56196         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
56197         arguments using __kernel_casinhf.
56198         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
56199         arguments using __kernel_casinhl.
56200         * math/libm-test.inc (cacosh_test): Add more tests.
56201         * sysdeps/i386/fpu/libm-test-ulps: Update.
56202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56204 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56206         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
56207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
56209         * bench/Makefile (bench): Add sin and slowsin.
56210         * benchtests/sin-inputs: New file.
56211         * benchtests/slowsin-inputs: New file.
56212         * benchtests/slowsin.c: New file.
56214         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
56215         (bench): Add slowexp and slowpow.
56216         (exp-ITER): Increase iterations.
56217         (pow-ITER): Likewise.
56218         * benchtests/exp-inputs: Change input.
56219         * benchtests/pow-inputs: Likewise.
56220         * benchtests/slowexp-inputs: New file.
56221         * benchtests/slowexp.c: New file.
56222         * benchtests/slowpow-inputs: New file.
56223         * benchtests/slowpow.c: New file.
56225 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56227         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
56228         instructions.
56229         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56230         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
56231         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56232         * benchtests/Makefile: Add rint benchtest.
56233         * benchtests/rint-inputs: Input for rint benchtest.
56235 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
56237         * Versions.def (libm): Add GLIBC_2.18.
56238         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
56239         hidden libm prototypes.
56240         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
56241         * math/Makefile (libm-calls): Add s_issignaling.
56242         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
56243         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
56244         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
56245         declaration.
56246         * math/math.h [__USE_GNU] (issignaling): New macro.
56247         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
56248         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
56249         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
56250         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
56251         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
56252         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
56253         * manual/arith.texi (issignaling): New section.
56254         * manual/libm-err-tab.pl (@all_functions): Update comment.
56255         * math/gen-libm-test.pl (parse_args): Apply special handling for
56256         issignaling.
56257         * math/libm-test.inc (print_float, issignaling_test): New
56258         functions.
56259         (check_float_internal): Add issignaling checks.
56260         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
56261         default definition.
56262         * sysdeps/powerpc/math-tests.h: New file.
56263         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
56264         tests.
56265         * math/test-snan.c (TEST_FUNC): Likewise.
56267 2013-03-30  David S. Miller  <davem@davemloft.net>
56269         * po/de.po: Update from translation team.
56271 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
56273         [BZ #10357]
56274         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56275         imaginary part less than 1.0 and real part less than 0.5
56276         specially.
56277         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56278         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56279         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
56280         (cacos_test): Add more tests.
56281         (casin_test): Likewise.
56282         (casinh_test): Likewise.
56283         * sysdeps/i386/fpu/libm-test-ulps: Update.
56284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56286 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56288         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
56289         ONE with its value.
56291         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56292         (__pow_mp): Replace ONE and MONE with their values.
56293         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56294         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56295         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56296         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56297         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56298         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56300         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56302         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56303         (__pow_mp): Replace ZERO and MZERO with their values.
56304         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56305         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56306         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56307         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56308         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56309         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56310         (__sqr): Likewise.
56312         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56314         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56316 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56318         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56319         Declare with __attribute__ ((weak)).
56320         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56321         Call __call_tls_dtors only if it's not NULL.
56323 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56325         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56326         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56327         magic __ehdr_start linker symbol if it's defined.
56328         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56329         them up here if it was already done.
56331         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56332         (_dl_aux_init): Use const in cast when setting it.
56333         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56334         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56335         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56337         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56338         Declare them here.
56339         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56340         * csu/libc-tls.c: Nor here.
56341         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56343         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56344         (__libc_message): Never call vsyslog.
56346 2013-03-28  Alan Modra  <amodra@gmail.com>
56348         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56349         Define as empty.
56350         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56351         Likewise.
56353 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56355         [BZ #15214]
56356         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56357         underflow.
56358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56360 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56362         [BZ #15304]
56363         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56364         Don't add gid passed as argument.
56366         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56368 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56370         [BZ #15307]
56371         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56372         imaginary part between 1.0 and 1.5 and real part less than 0.5
56373         specially.
56374         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56375         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56376         * math/libm-test.inc (cacos_test): Add more tests.
56377         (casin_test): Likewise.
56378         (casinh_test): Likewise.
56379         * sysdeps/i386/fpu/libm-test-ulps: Update.
56380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56382 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56384         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56385         constants.
56386         (norm): Likewise.
56387         (denorm): Likewise.
56388         (__dbl_mp): Likewise.
56389         (add_magnitudes): Likewise.
56390         (sub_magnitudes): Likewise.
56391         (__add): Likewise.
56392         (__sub): Likewise.
56393         (__mul): Likewise.
56394         (__sqr): Likewise.
56395         (__inv): Likewise.
56396         (__dvd): Likewise.
56398         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56399         commented code.
56400         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56401         (__dubcos): Likewise.
56402         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56403         (__ieee754_acos): Likewise.
56404         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56405         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56406         (__exp1): Likewise.
56407         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56408         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56409         (log1): Likewise.
56410         (my_log2): Likewise.
56411         (checkint): Likewise.
56412         * sysdeps/ieee754/dbl-64/e_remainder.c
56413         (__ieee754_remainder): Likewise.
56414         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56415         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56416         (bsloww): Likewise.
56417         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56419         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56420         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56421         MANTISSA_STORE_T to store computations on mantissa.  Use
56422         macros for rounding and division.
56423         (denorm): Likewise.
56424         (__dbl_mp): Likewise.
56425         (add_magnitudes): Likewise.
56426         (sub_magnitudes): Likewise.
56427         (__mul): Likewise.
56428         (__sqr): Likewise.
56429         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56430         powers of two in terms of TWOPOW macro.
56431         (mp_no): Make type of mantissa as MANTISSA_T.
56432         [!RADIXI]: Define RADIXI.
56433         [!TWO52]: Define TWO52.
56434         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56436 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56438         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56439         llroundl symbol when building for PPC32.
56441 2013-03-24  Mark H Weaver  <mhw@netris.org>
56443         * manual/arith.texi (Normalization Functions): Fix prototypes for
56444         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56446 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56448         [BZ #13889]
56449         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56450         high value to check if expl overflow.
56451         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56452         to check for underflow and overflow.
56453         * math/libm-test.inc: Add exp test.
56455 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56457         [BZ #11120]
56458         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56459         with NOT_IN_libc.
56461 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56463         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56464         symbol.
56466 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56468         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56469         wrap blocks consisting of several statements.
56471         * sysdeps/generic/math-tests.h: New file.
56472         * sysdeps/i386/fpu/math-tests.h: Likewise.
56473         * math/test-snan.c: Include it.
56474         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56476 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56478         [BZ #15285]
56479         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56480         (__ieee754_j0l): Do not improve calculations using cos of twice
56481         input for inputs above LDBL_MAX / 2.0L.
56482         (__ieee754_y0l): Likewise.
56483         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56484         (__ieee754_j1l): Do not improve calculations using cos of twice
56485         input for inputs above LDBL_MAX / 2.0L.
56486         (__ieee754_y1l): Likewise.
56487         * math/libm-test.inc (j0_test): Add another test.
56488         (j1_test): Likewise.
56489         (y0_test): Likewise.
56490         (y1_test): Likewise.
56491         * sysdeps/i386/fpu/libm-test-ulps: Update.
56493 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56495         * Rules ($(objpfx)bench-%.c): Include code from a C source
56496         file.
56498 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56500         [BZ #15287]
56501         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56502         imaginary part 1.0 and real part less than 0.5 specially.
56503         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56504         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56505         * math/libm-test.inc (cacos_test): Add more tests.
56506         (casin_test): Likewise.
56507         (casinh_test): Likewise.
56508         * sysdeps/i386/fpu/libm-test-ulps: Update.
56509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56511 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56513         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56514         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56516 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56518         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56519         * config.make.in (config-cflags-sse4): Remove variable.
56520         (config-cflags-avx): Likewise.
56521         (config-cflags-sse2avx): Likewise.
56522         (config-cflags-novzeroupper): Likewise.
56523         (config-asflags-i686): Likewise.
56524         (have-mfma4): Likewise.
56525         (have-as-vis3): Likewise.
56526         (MIG): Likewise.
56527         * configure.in (MIG): Do not AC_SUBST.
56528         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56529         (libc_cv_cc_sse4): Do not AC_SUBST.
56530         (libc_cv_cc_avx): Likewise.
56531         (libc_cv_cc_sse2avx): Likewise.
56532         (libc_cv_cc_novzeroupper): Likewise.
56533         (libc_cv_cc_fma4): Likewise.
56534         (libc_cv_as_i686): Likewise.
56535         (libc_cv_sparc_as_vis3): Likewise.
56536         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56537         LIBC_CONFIG_VAR.
56538         (config-asflags-i686): Likewise.
56539         (config-cflags-avx): Likewise.
56540         (config-cflags-sse2avx): Likewise.
56541         (have-mfma4): Likewise.
56542         (config-cflags-novzeroupper): Likewise.
56543         * sysdeps/mach/configure.in (MIG): Likewise.
56544         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56545         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56546         LIBC_CONFIG_VAR.
56547         (config-cflags-avx): Likewise.
56548         (config-cflags-sse2avx): Likewise.
56549         (have-mfma4): Likewise.
56550         (config-cflags-novzeroupper): Likewise.
56551         * configure: Regenerated.
56552         * sysdeps/i386/configure: Likewise.
56553         * sysdeps/mach/configure: Likewise.
56554         * sysdeps/sparc/configure: Likewise.
56555         * sysdeps/x86_64/configure: Likewise.
56557 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56559         [BZ #14812]
56560         * locale/programs/localedef.c (options): Put N_ translation marker
56561         on argument names, not just descriptions.
56563 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56565         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56567 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56569         [BZ #14176]
56570         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56572 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56574         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56575         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56576         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56577         [!BEFORE_ABORT] (before_abort): New function.
56578         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56579         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56580         (writev_for_fatal): New function.
56581         (WRITEV_FOR_FATAL): New macro; call that.
56582         (backtrace_and_maps): New function.
56583         (BEFORE_ABORT): New macro; call that.
56584         (struct str_list): Type removed.
56585         (__libc_message, __libc_fatal): Functions removed.
56586         Include <sysdeps/posix/libc_fatal.c> instead.
56588 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56590         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56591         constants.
56592         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56593         double constants.
56595 2013-03-19  Andreas Schwab  <schwab@suse.de>
56597         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56598         * sysdeps/gnu/configure: Regenerate.
56600         * configure.in: Substitute libc_cv_rtlddir.
56601         * configure: Regenerate.
56602         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56603         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56604         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56605         * elf/Makefile (install-others, CFLAGS-interp.c)
56606         (ldso_install, common-ldd-rewrite): Likewise.
56607         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56608         $(inst_slibdir)/$(rtld-installed-name).
56609         * scripts/rellns-sh: Add -p option.
56610         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56611         for source.
56613 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56615         * manual/nptl.texi: Renamed to ...
56616         * manual/threads.texi: ... this.
56617         * manual/Makefile (chapters): Update.
56619 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56621         [BZ #14812]
56622         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56623         on argument names, not just descriptions.
56624         * malloc/memusagestat.c (options): Likewise.
56625         * nss/getent.c (options): Likewise.
56627 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56629         [BZ #14812]
56630         * iconv/iconv_prog.c (options): Put N_ translation marker
56631         on argument names, not just descriptions.
56632         * iconv/iconvconfig.c (options): Likewise.
56634 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56636         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56637         implementation which is faster on all x86_64 architectures.
56638         Tested on AMD, Intel Nehalem, SNB, IVB.
56639         * sysdeps/x86_64/strnlen.S: Likewise.
56641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56642         Remove all multiarch strlen and strnlen versions.
56643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56644         Remove strlen and strnlen related parts.
56646         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56647         Inline strlen part.
56648         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56650         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56651         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56652         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56653         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56654         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56655         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56657 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56659         * manual/memory.texi (Malloc Tunable Parameters):
56660         Sort parameters alphabetically. Add comments for missing entries.
56662 2013-03-17  David S. Miller  <davem@davemloft.net>
56664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56666 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56668         [BZ #15283]
56669         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56670         for arguments at most half maximum finite value.
56671         * math/libm-test.inc (j0_test): Add more tests.
56672         (j1_test): Likewise.
56673         (y0_test): Likewise.
56674         (y1_test): Likewise.
56675         * sysdeps/i386/fpu/libm-test-ulps: Update.
56676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56678         [BZ #14155]
56679         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56680         1 / x and functions P and Q for arguments above 0x1p256L.
56681         (__ieee754_y0l): Likewise.
56682         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56683         (__ieee754_y1l): Likewise.
56684         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56685         (j1_test): Likewise.
56686         (y0_test): Likewise.
56687         (y1_test): Likewise.
56689 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56691         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56692         variable.
56694 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56696         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56697         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56698         zero since it's initialized to EXEC_PAGESIZE.
56700         * sysdeps/unix/sysv/linux/ldsodefs.h
56701         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56702         * sysdeps/generic/ldsodefs.h: ... here.
56704 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56706         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56708         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56709         math/test-snan.c.
56710         * math/test-snan.c: Renamed from
56711         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56712         * math/Makefile (tests): Add test-snan.
56713         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56714         test-powerpc-snan.
56716         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56717         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56718         functions.
56719         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56720         __builtin_nan family of functions.
56721         * math/libm-test.inc (initialize): Initialize qnan_value with
56722         __builtin_nan family of functions.
56723         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56724         Remove variables.
56725         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56726         Remove functions.
56727         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56728         storage class.  Initialize qNaN_var and sNaN_var with
56729         __builtin_nan and __builtin_nans families of functions,
56730         respectively.
56732         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56733         (sqrt_test): Remove duplicate test with qNaN input.
56734         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56735         (round_test, signbit_test, significand_test): Note missing +/-Inf
56736         as well as qNaN tests.
56738         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56739         qNaN_var.  Fix a few strings, too.
56740         * math/libm-test.inc (nan_value): Rename to qnan_value.
56741         * math/gen-libm-test.pl (%beautify): Adjust to that.
56742         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56743         * math/test-misc.c (main): Likewise.
56744         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56745         to __qnan_bytes, and __qnan_union, respectively.
56746         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56747         Likewise.
56748         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56749         and lqnanval, respectively.
56750         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56751         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56752         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56753         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56755         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56756         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56757         doubles.
56759         * math/test-misc.c (main): Fix copy'n'pastos.
56760         * misc/tst-efgcvt.c (special): Likewise.
56762         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56763         Remove declarations.
56765 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56767         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56768         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56769         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56770         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56772 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56774         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56775         macro to return vdso values correctly in IFUNC implementations.
56776         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56777         Optimization by using IFUNC.
56779 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56780             Richard Henderson  <rth@redhat.com>
56781             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56783         * Makefile.in (bench): New target.
56784         * NEWS: Mention the benchmark framework.
56785         * Rules (bench): Likewise.
56786         (binaries-bench): Generate binaries for functions to
56787         benchmark.
56788         * benchtests/Makefile: New makefile for benchmark tests.
56789         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56790         programs.
56791         * benchtests/exp-inputs: New input file for EXP function.
56792         * benchtests/pow-inputs: New input file for POW function.
56793         * scripts/bench.pl: New script to generate source files for
56794         benchmark programs.
56796 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56798         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56799         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56800         computations on mantissa.  Use macros for rounding and
56801         division.
56802         (denorm): Likewise.
56803         (__dbl_mp): Likewise.
56804         (add_magnitudes): Likewise.
56805         (sub_magnitudes): Likewise.
56806         (__mul): Likewise.
56807         (__sqr): Likewise.
56808         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56809         powers of two in terms of TWOPOW macro.
56810         (mp_no): Make type of mantissa as MANTISSA_T.
56811         [!RADIXI]: Define RADIXI.
56812         [!TWO52]: Define TWO52.
56813         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56815         * manual/nptl.texi (cindex): Modify threads to pthreads.
56817 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56819         * sysdeps/x86_64/preconfigure: Regenerated.
56821 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56823         [BZ #14155]
56824         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56825         0x1p28 and above.
56826         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56827         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56828         0x1p28 and above.
56829         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56830         * math/libm-test.inc (j0_test): Do not allow one spurious
56831         underflow exception.
56832         (y1_test): Likewise.
56834 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56836         * manual/Makefile (chapters): Add nptl.
56837         * manual/debug.texi (Debugging Support): Add link to Threads
56838         chapter.
56839         * manual/nptl.texi: New file.
56841         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56843 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56845         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56846         for non-NULL pointer before the memory validity test. Pointed
56847         out by Holger Brunck <holger.brunck@keymile.com>.
56849 2013-03-13  Andreas Schwab  <schwab@suse.de>
56851         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56852         instead of .os.
56854 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56856         * timezone/zic.c: Update from tzcode 2013b.
56858 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56860         * manual/install.texi (Configuring and compiling):
56861         Mention i686 and i586.
56862         * INSTALL: Regenerate.
56864 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56866         * sysdeps/init_array/elf-init.c: New file.
56867         * csu/elf-init.c
56868         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56869         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56871         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56872         __gmon_start__ as global, but as static with a .preinit_array pointer.
56873         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56874         * sysdeps/init_array/crti.S: New file, empty except for comments.
56875         * sysdeps/init_array/crtn.S: Likewise.
56877 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56879         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56880         definining bcopy.
56881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56882         Remove Prefer_SSE_for_memop.
56883         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56884         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56885         HAS_PREFER_SSE_FOR_MEMOP.
56886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56887         memset-x86-64.
56888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56889         Remove bzero, memset ifunc support.
56890         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56891         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56892         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56893         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56895 2013-03-11  Andreas Schwab  <schwab@suse.de>
56897         [BZ #15234]
56898         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56899         by SHLIB_COMPAT.
56900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56901         (GLIBC_2.16): Remove pthread_atfork.
56903 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56905         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56906         (ptestcases.h): Likewise.
56908 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56910         * Makeconfig ($(common-objpfx)config.status): Depend on
56911         sysdeps/*/preconfigure{,.in} too.
56913 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56915         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56916         (__free_hook): Use void * instead of __malloc_ptr_t.
56917         (__malloc_hook): Likewise.
56918         (__realloc_hook): Likewise.
56919         (__memalign_hook): Likewise.
56920         (__after_morecore_hook): Likewise.
56921         * malloc/arena.c (save_malloc_hook): Likewise.
56922         (save_free_hook): Likewise.
56923         * malloc/hooks.c (malloc_hook_ini): Likewise.
56924         (realloc_hook_ini): Likewise.
56925         (memalign_hook_ini): Likewise.
56926         * malloc/malloc.c (malloc_hook_ini): Likewise.
56927         (realloc_hook_ini): Likewise.
56928         (memalign_hook_ini): Likewise.
56929         (__free_hook): Likewise.
56930         (__malloc_hook): Likewise.
56931         (__realloc_hook): Likewise.
56932         (__memalign_hook): Likewise.
56933         (__libc_malloc): Likewise.
56934         (__libc_free): Likewise.
56935         (__libc_realloc): Likewise.
56936         (__libc_memalign): Likewise.
56937         (__libc_valloc): Likewise.
56938         (__libc_pvalloc): Likewise.
56939         (__libc_calloc): Likewise.
56940         (__posix_memalign): Likewise.
56941         * malloc/morecore.c (__sbrk): Likewise.
56942         (__default_morecore): Likewise.
56944         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56946         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56947         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56948         __malloc_ptrdiff_t.
56950         * malloc/malloc.h (__malloc_size_t): Remove macro.
56951         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56952         __malloc_size_t.
56953         (old_memalign_hook): Likewise.
56954         (old_realloc_hook): Likewise.
56955         (struct hdr): Likewise.
56956         (flood): Likewise.
56957         (mallochook): Likewise.
56958         (memalignhook): Likewise.
56959         (reallochook): Likewise.
56960         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56961         (tr_old_realloc_hook): Likewise.
56962         (tr_old_memalign_hook): Likewise.
56963         (tr_mallochook): Likewise.
56964         (tr_reallochook): Likewise.
56965         (tr_memalignhook): Likewise.
56967 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56969         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56970         default_ldbl_pack and using as default implementation.
56971         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56972         implementation.
56973         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56974         redundant definition.
56975         (ldbl_insert_mantissa): Likewise.
56976         (ldbl_canonicalize): Likewise.
56977         (ldbl_nearbyint): Likewise.
56978         (ldbl_pack): Rename to ldbl_pack_ppc.
56979         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56980         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56981         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56983 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56986         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56987         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56988         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56990         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56991         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56992         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56994 2013-03-07  Andreas Jaeger  <aj@suse.de>
56996         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56997         bits/mman-linux.h.
56999 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57001         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
57002         Include mpa.h and declare __MPEXP.
57003         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
57004         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57005         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57006         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
57007         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57008         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57009         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
57011         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
57012         (__slowpow): Use long double EXPL and LOGL functions to
57013         compute POW.
57014         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57015         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57016         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
57017         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57018         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57019         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
57021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
57022         intermediate variable to calculate exponent.
57023         (__sqr): Likewise.
57024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57025         Likewise.
57026         (__sqr): Likewise.
57028         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
57029         [!NO__SQR]: Define __sqr.
57030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
57031         and NO__SQR.  Remove all code except __mul and __sqr.  Include
57032         sysdeps/ieee754/dbl-64/mpa.c.
57033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57035         [BZ #12723]
57036         * posix/Makefile (tests): Add tst-pathconf.
57037         * posix/tst-pathconf.c: New test case.
57038         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
57039         _PC_PIPE_BUF.
57040         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
57042 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
57044         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
57046 2013-03-06  Andreas Jaeger  <aj@suse.de>
57048         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
57049         definition via __MAP_ANONYMOUS.
57051         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
57052         it's not part of Linux headers.
57054         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
57055         (MAP_HUGE_MASK): Define.
57057         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57058         Define.
57059         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57060         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57061         Define.
57062         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57063         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57064         Define.
57065         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57066         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
57067         Define.
57068         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57070         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
57071         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
57072         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
57073         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
57074         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
57075         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
57077         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57078         Handle f2fs.
57080         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57081         Handle f2fs and efivarfs.
57083         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
57084         f2fs.
57086         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
57087         (EFIVARFS_MAGIC): Add.
57088         (F2FS_LINK_MAX): Add.
57090 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57092         * stdio-common/vfprintf.c: Replace __builtin_expect with
57093         __glibc_unlikely.
57095 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
57097         [BZ #13550]
57098         * sysdeps/generic/bp-sym.h: Remove file.
57099         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
57100         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
57101         <bp-sym.h> and <bp-asm.h>.
57102         (__longjmp): Don't use BP_SYM.
57103         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
57104         and <bp-asm.h>.
57105         (memcpy): Don't use BP_SYM.
57106         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
57107         <bp-sym.h> and <bp-asm.h>.
57108         (memcpy): Don't use BP_SYM.
57109         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
57110         <bp-asm.h>.
57111         (memcpy): Don't use BP_SYM.
57112         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
57113         <bp-asm.h>.
57114         (memset): Don't use BP_SYM.
57115         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57116         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57117         (__bzero): Don't use BP_SYM.
57118         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57119         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57120         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
57121         <bp-sym.h> and <bp-asm.h>.
57122         (memcmp): Don't use BP_SYM.  Remove comment about bounded
57123         pointers.
57124         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
57125         <bp-sym.h> and <bp-asm.h>.
57126         (memcpy): Don't use BP_SYM.
57127         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
57128         <bp-sym.h> and <bp-asm.h>.
57129         (memset): Don't use BP_SYM.
57130         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57131         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57132         (__bzero): Don't use BP_SYM.
57133         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57134         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57135         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
57136         <bp-sym.h> and <bp-asm.h>.
57137         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57138         pointers.
57139         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
57140         <bp-sym.h> and <bp-asm.h>.
57141         (memcpy): Don't use BP_SYM.
57142         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
57143         <bp-sym.h> and <bp-asm.h>.
57144         (memset): Don't use BP_SYM.
57145         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57146         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57147         (__bzero): Don't use BP_SYM.
57148         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57149         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57150         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
57151         <bp-sym.h> and <bp-asm.h>.
57152         (__memchr): Don't use BP_SYM.
57153         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
57154         <bp-sym.h> and <bp-asm.h>.
57155         (memcmp): Don't use BP_SYM.  Remove comment about bounded
57156         pointers.
57157         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
57158         <bp-sym.h> and <bp-asm.h>.
57159         (memcpy): Don't use BP_SYM.
57160         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
57161         <bp-sym.h> and <bp-asm.h>.
57162         (__mempcpy): Don't use BP_SYM.
57163         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
57164         <bp-sym.h> and <bp-asm.h>.
57165         (__memrchr): Don't use BP_SYM.
57166         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
57167         <bp-sym.h> and <bp-asm.h>.
57168         (memset): Don't use BP_SYM.
57169         (__bzero): Likewise.
57170         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
57171         <bp-sym.h> and <bp-asm.h>.
57172         (__rawmemchr): Don't use BP_SYM.
57173         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
57174         <bp-sym.h> and <bp-asm.h>.
57175         (__STRCMP): Don't use BP_SYM.
57176         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
57177         <bp-sym.h> and <bp-asm.h>.
57178         (strchr): Don't use BP_SYM.
57179         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
57180         <bp-sym.h> and <bp-asm.h>.
57181         (__strchrnul): Don't use BP_SYM.
57182         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
57183         <bp-sym.h> and <bp-asm.h>.
57184         (strlen): Don't use BP_SYM.
57185         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
57186         <bp-sym.h> and <bp-asm.h>.
57187         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57188         pointers.
57189         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
57190         <bp-sym.h> and <bp-asm.h>.
57191         (__strnlen): Don't use BP_SYM.
57192         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
57193         <bp-sym.h> and <bp-asm.h>.
57194         (__GI__setjmp): Don't use BP_SYM.
57195         (_setjmp): Likewise.
57196         (__sigsetjmp): Likewise.
57197         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
57198         (L(start_addresses)): Don't use BP_SYM.
57199         (_start): Likewise.
57200         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
57201         <bp-asm.h>.
57202         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
57203         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
57204         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57205         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57206         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
57207         <bp-asm.h>.
57208         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
57209         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
57210         about bounded pointers.
57211         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57212         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57213         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
57214         <bp-asm.h>.
57215         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57216         about bounded pointers.  Remove GKM FIXME comments.
57217         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57218         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
57219         <bp-asm.h>.
57220         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
57221         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
57222         Remove GKM FIXME comments.
57223         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57224         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57225         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
57226         <bp-asm.h>.
57227         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57228         about bounded pointers.  Remove GKM FIXME comment.
57229         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
57230         and <bp-asm.h>.
57231         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57232         pointers.
57233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
57234         <bp-sym.h> and <bp-asm.h>.
57235         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
57237         <bp-sym.h> and <bp-asm.h>.
57238         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57239         comment.
57241 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57243         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
57244         call free(NULL).
57246 2013-03-05  David S. Miller  <davem@davemloft.net>
57248         * po/es.po: Update from translation team.
57250 2013-03-05  Andreas Jaeger  <aj@suse.de>
57252         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
57253         <bits/mman-linux.h>.
57254         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57255         is fine.
57256         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
57257         <bits/mman-linux.h> to end of file.
57258         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57259         is fine.
57260         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
57261         <bits/mman-linux.h> to end of file.
57262         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57263         is fine.
57264         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
57265         <bits/mman-linux.h> to end of file.
57267         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
57268         (MCL_CURRENT, MCL_FUTURE): Define here.
57270 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57272         [BZ #15232]
57273         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
57274         attribute_hidden.
57275         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57277 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
57280         fourth parameter needed for rt_sigprocmask syscall.
57281         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
57282         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57283         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
57284         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57285         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57286         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
57288 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
57290         [BZ #13550]
57291         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57292         comment about bounded pointers.
57293         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57294         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57296 2013-03-04  Andreas Jaeger  <aj@suse.de>
57298         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57299         common definitions.
57301         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57302         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57303         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57304         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57305         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57306         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57308 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57310         [BZ #15055]
57311         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57312         __ieee754_sqrl instead of __sqrl.
57314 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57316         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57317         * sysdeps/powerpc/fpu_control.h: ... here.
57318         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57319         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57320         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57321         * sysdeps/powerpc/bits/mathinline.h: ... here.
57323 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57325         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57326         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57327         to just [NEED_DL_SYSINFO_DSO].
57328         * elf/dl-support.c: Likewise.
57329         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57330         * elf/rtld.c (dl_main): Likewise.
57331         * elf/setup-vdso.h (setup_vdso): Likewise.
57332         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57333         * sysdeps/unix/sysv/linux/dl-sysdep.c
57334         (_dl_discover_osversion): Likewise.
57336 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57338         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57339         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57341 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57343         * NEWS: Mention libm performance improvements and non-x86 PI
57344         futex support.
57346         * csu/libc-start.c (__pthread_initialize_minimal): Change
57347         function arguments.
57348         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57350 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
57352         [BZ #13550]
57353         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57354         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57355         <bp-sym.h> and <bp-asm.h>.
57356         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57357         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57358         and <bp-asm.h>.
57359         (memcpy): Don't use BP_SYM.
57360         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57361         <bp-asm.h>.
57362         (__mpn_add_n): Don't use BP_SYM.
57363         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57364         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57365         and <bp-asm.h>.
57366         (__mpn_addmul_1): Don't use BP_SYM.
57367         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57368         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57369         <bp-sym.h>.
57370         (_setjmp): Don't use BP_SYM.
57371         (__novmx_setjmp): Likewise.
57372         (__GI__setjmp): Likewise.
57373         (__vmx_setjmp): Likewise.
57374         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57375         <bp-sym.h>.
57376         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57377         (__bzero): Don't use BP_SYM.
57378         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57379         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57380         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57381         <bp-sym.h> and <bp-asm.h>.
57382         (memcpy): Don't use BP_SYM.
57383         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57384         <bp-sym.h> and <bp-asm.h>.
57385         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57386         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57387         <bp-sym.h> and <bp-asm.h>.
57388         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57389         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57390         <bp-asm.h>.
57391         (__mpn_lshift): Don't use BP_SYM.
57392         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57393         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57394         <bp-asm.h>.
57395         (memset): Don't use BP_SYM.
57396         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57397         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57398         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57399         <bp-asm.h>.
57400         (__mpn_mul_1): Don't use BP_SYM.
57401         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57402         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57403         <bp-sym.h> and <bp-asm.h>.
57404         (memcmp): Don't use BP_SYM.
57405         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57406         <bp-sym.h> and <bp-asm.h>.
57407         (memcpy): Don't use BP_SYM.
57408         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57409         <bp-sym.h> and <bp-asm.h>.
57410         (memset): Don't use BP_SYM.
57411         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57412         <bp-sym.h> and <bp-asm.h>.
57413         (strncmp): Don't use BP_SYM.
57414         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57415         <bp-sym.h> and <bp-asm.h>.
57416         (memcpy): Don't use BP_SYM.
57417         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57418         <bp-sym.h> and <bp-asm.h>.
57419         (memset): Don't use BP_SYM.
57420         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57421         <bp-sym.h> and <bp-asm.h>.
57422         (__memchr): Don't use BP_SYM.
57423         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57424         <bp-sym.h> and <bp-asm.h>.
57425         (memcmp): Don't use BP_SYM.
57426         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57427         <bp-sym.h> and <bp-asm.h>.
57428         (memcpy): Don't use BP_SYM.
57429         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57430         <bp-sym.h> and <bp-asm.h>.
57431         (__mempcpy): Don't use BP_SYM.
57432         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57433         <bp-sym.h> and <bp-asm.h>.
57434         (__memrchr): Don't use BP_SYM.
57435         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57436         <bp-sym.h> and <bp-asm.h>.
57437         (memset): Don't use BP_SYM.
57438         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57439         <bp-sym.h> and <bp-asm.h>.
57440         (__rawmemchr): Don't use BP_SYM.
57441         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57442         <bp-sym.h> and <bp-asm.h>.
57443         (__STRCMP): Don't use BP_SYM.
57444         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57445         <bp-sym.h> and <bp-asm.h>.
57446         (strchr): Don't use BP_SYM.
57447         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57448         <bp-sym.h> and <bp-asm.h>.
57449         (__strchrnul): Don't use BP_SYM.
57450         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57451         <bp-sym.h> and <bp-asm.h>.
57452         (strlen): Don't use BP_SYM.
57453         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57454         <bp-sym.h> and <bp-asm.h>.
57455         (strncmp): Don't use BP_SYM.
57456         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57457         <bp-sym.h> and <bp-asm.h>.
57458         (__strnlen): Don't use BP_SYM.
57459         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57460         <bp-asm.h>.
57461         (__mpn_rshift): Don't use BP_SYM.
57462         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57463         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57464         <bp-sym.h> and <bp-asm.h>.
57465         (__sigsetjmp): Don't use BP_SYM.
57466         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57467         (L(start_addresses)): Don't use BP_SYM.
57468         (_start): Likewise.
57469         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57470         <bp-asm.h>.
57471         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57472         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57473         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57474         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57475         <bp-asm.h>.
57476         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57477         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57478         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57479         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57480         <bp-asm.h>.
57481         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57482         comments.
57483         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57484         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57485         <bp-asm.h>.
57486         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57487         FIXME comments.
57488         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57489         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57490         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57491         <bp-asm.h>.
57492         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57493         comment.
57494         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57495         and <bp-asm.h>.
57496         (strncmp): Don't use BP_SYM,
57497         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57498         <bp-asm.h>.
57499         (__mpn_sub_n): Don't use BP_SYM.
57500         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57501         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57502         and <bp-asm.h>.
57503         (__mpn_submul_1): Don't use BP_SYM.
57504         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57506         <bp-sym.h> and <bp-asm.h>.
57507         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57509         <bp-sym.h> and <bp-asm.h>.
57510         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57511         comment.
57513 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57516         Use ZK to minimize writes to Z.
57517         (sub_magnitudes): Simplify code a bit.
57518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57519         Use ZK to minimize writes to Z.
57520         (sub_magnitudes): Simplify code a bit.
57522 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57524         * csu/gmon-start.c: Add special exception to license text.
57526 2013-02-27  Richard Henderson  <rth@redhat.com>
57528         * scripts/config.guess: Update from config.git.
57529         * scripts/config.sub: Likewise.
57531 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57533         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57535         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57537         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57539         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57541         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57543 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57545         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57546         [$(build-shared = yes].
57548 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57550         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57551         (__mul): Reduce iterations for calculating mantissa.
57553         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57554         MPTWO.
57555         (__mpranred): Likewise.
57557         [BZ #15160]
57558         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57559         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57561 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57563         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57564         Define __attribute__.
57566 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57568         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57569         unused.
57570         * posix/regex_internal.h (__attribute): Remove.
57571         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57572         (re_string_context_at): Likewise.
57573         (bitset_not): Use __attribute__ and mark function as possibly
57574         unused.
57575         (bitset_merge): Likewise.
57576         (bitset_mask): Likewise.
57577         (re_string_char_size_at): Likewise.
57578         (re_string_wchar_at): Likewise.
57579         (re_string_elem_size_at): Likewise.
57581 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57583         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57584         code.
57585         (cc32): Likewise.
57587         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57588         (__acr): Likewise.
57589         (__cpy): Likewise.
57590         (norm): Likewise.
57591         (denorm): Likewise.
57592         (__dbl_mp): Likewise.
57593         (add_magnitudes): Likewise.
57594         (sub_magnitudes): Likewise.
57595         (__mul): Likewise.
57596         (__inv): Likewise.
57598         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57599         style.
57601         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57602         style.
57604         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57605         code.
57607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57608         up changes with default code.
57609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57610         Likewise.
57612 2013-02-24  Allan McRae  <allan@archlinux.org>
57614         * manual/socket.texi (The Internet Namespace): Order menu items
57615         to match that in the file.
57617         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57618         node listing of the info page menu.
57620 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57622         [BZ #13550]
57623         * sysdeps/i386/bp-asm.h: Remove file.
57624         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57625         (PARMS): Do not use macros from bp-asm.h.
57626         (S1): Likewise.
57627         (S2): Likewise.
57628         (SIZE): Likewise.
57629         (__mpn_add_n): Do not use BP_SYM
57630         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57631         "bp-asm.h".
57632         (PARMS): Do not use macros from bp-asm.h.
57633         (S1): Likewise.
57634         (SIZE): Likewise.
57635         (__mpn_addmul_1): Do not use BP_SYM
57636         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57637         "bp-asm.h".
57638         (PARMS): Do not use macros from bp-asm.h.
57639         (SIGMSK): Likewise.
57640         (_setjmp): Likewise.  Do not use BP_SYM.
57641         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57642         "bp-asm.h".
57643         (PARMS): Do not use macros from bp-asm.h.
57644         (SIGMSK): Likewise.
57645         (setjmp): Likewise.  Do not use BP_SYM.
57646         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57647         "bp-asm.h".
57648         (PARMS): Do not use macros from bp-asm.h.
57649         (__frexp): Do not use BP_SYM.
57650         (frexp): Likewise.
57651         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57652         "bp-asm.h".
57653         (PARMS): Do not use macros from bp-asm.h.
57654         (__frexpf): Do not use BP_SYM.
57655         (frexpf): Likewise.
57656         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57657         "bp-asm.h".
57658         (PARMS): Do not use macros from bp-asm.h.
57659         (__frexpl): Do not use BP_SYM.
57660         (frexpl): Likewise.
57661         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57662         "bp-asm.h".
57663         (PARMS): Do not use macros from bp-asm.h.
57664         (__remquo): Do not use BP_SYM.
57665         (remquo): Likewise.
57666         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57667         "bp-asm.h".
57668         (PARMS): Do not use macros from bp-asm.h.
57669         (__remquof): Do not use BP_SYM.
57670         (remquof): Likewise.
57671         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57672         "bp-asm.h".
57673         (PARMS): Do not use macros from bp-asm.h.
57674         (__remquol): Do not use BP_SYM.
57675         (remquol): Likewise.
57676         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57677         "bp-asm.h".
57678         (PARMS): Do not use macros from bp-asm.h.
57679         (DEST): Likewise.
57680         (SRC): Likewise.
57681         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57682         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57683         "bp-asm.h".
57684         (PARMS): Do not use macros from bp-asm.h.
57685         (strlen): Do not use BP_SYM.
57686         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57687         "bp-asm.h".
57688         (PARMS): Do not use macros from bp-asm.h.
57689         (S1): Likewise.
57690         (S2): Likewise.
57691         (SIZE): Likewise.
57692         (__mpn_add_n): Do not use BP_SYM.
57693         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57694         "bp-asm.h".
57695         (PARMS): Do not use macros from bp-asm.h.
57696         (S1): Likewise.
57697         (SIZE): Likewise.
57698         (__mpn_addmul_1): Do not use BP_SYM.
57699         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57700         weak_alias.
57701         (bzero): Likewise.
57702         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57703         "bp-asm.h".
57704         (PARMS): Do not use macros from bp-asm.h.
57705         (S): Likewise.
57706         (SIZE): Likewise.
57707         (__mpn_lshift): Do not use BP_SYM.
57708         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57709         "bp-asm.h".
57710         (PARMS): Do not use macros from bp-asm.h.
57711         (DEST): Likewise.
57712         (SRC): Likewise.
57713         (LEN): Likewise.
57714         (memcpy): Likewise.  Do not use BP_SYM.
57715         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57716         libc_hidden_def and weak_alias.
57717         (mempcpy): Do not use BP_SYM in weak_alias.
57718         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57719         "bp-asm.h".
57720         (PARMS): Do not use macros from bp-asm.h.
57721         (DEST): Likewise.
57722         (LEN): Likewise.
57723         [!BZERO_P] (CHR): Likewise.
57724         (memset): Likewise.  Do not use BP_SYM.
57725         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57726         "bp-asm.h".
57727         (PARMS): Do not use macros from bp-asm.h.
57728         (S1): Likewise.
57729         (SIZE): Likewise.
57730         (__mpn_mul_1): Do not use BP_SYM.
57731         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57732         "bp-asm.h".
57733         (PARMS): Do not use macros from bp-asm.h.
57734         (S): Likewise.
57735         (SIZE): Likewise.
57736         (__mpn_rshift): Do not use BP_SYM.
57737         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57738         "bp-asm.h".
57739         (PARMS): Do not use macros from bp-asm.h.
57740         (STR): Likewise.
57741         (CHR): Likewise.
57742         (strchr): Likewise.  Do not use BP_SYM.
57743         (index): Do not use BP_SYM in weak_alias.
57744         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57745         "bp-asm.h".
57746         (PARMS): Do not use macros from bp-asm.h.
57747         (DEST): Likewise.
57748         (SRC): Likewise.
57749         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57750         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57751         "bp-asm.h".
57752         (PARMS): Do not use macros from bp-asm.h.
57753         (strlen): Do not use BP_SYM.
57754         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57755         "bp-asm.h".
57756         (PARMS): Do not use macros from bp-asm.h.
57757         (S1): Likewise.
57758         (S2): Likewise.
57759         (SIZE): Likewise.
57760         (__mpn_sub_n): Do not use BP_SYM.
57761         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57762         "bp-asm.h".
57763         (PARMS): Do not use macros from bp-asm.h.
57764         (S1): Likewise.
57765         (SIZE): Likewise.
57766         (__mpn_submul_1): Do not use BP_SYM.
57767         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57768         "bp-asm.h".
57769         (PARMS): Do not use macros from bp-asm.h.
57770         (S1): Likewise.
57771         (S2): Likewise.
57772         (SIZE): Likewise.
57773         (__mpn_add_n): Do not use BP_SYM.
57774         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57775         weak_alias.
57776         (bzero): Likewise.
57777         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57778         "bp-asm.h".
57779         (PARMS): Do not use macros from bp-asm.h.
57780         (BLK2): Likewise.
57781         (LEN): Likewise.
57782         (memcmp): Do not use BP_SYM.
57783         (bcmp): Do not use BP_SYM in weak_alias.
57784         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57785         "bp-asm.h".
57786         (PARMS): Do not use macros from bp-asm.h.
57787         (DEST): Likewise.
57788         (SRC): Likewise.
57789         (LEN): Likewise.
57790         (memcpy): Likewise.  Do not use BP_SYM.
57791         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57792         "bp-asm.h".
57793         (PARMS): Do not use macros from bp-asm.h.
57794         (DEST): Likewise.
57795         (SRC): Likewise.
57796         (LEN): Likewise.
57797         (memmove): Likewise.  Do not use BP_SYM.
57798         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57799         "bp-asm.h".
57800         (PARMS): Do not use macros from bp-asm.h.
57801         (DEST): Likewise.
57802         (SRC): Likewise.
57803         (LEN): Likewise.
57804         (__mempcpy): Likewise.  Do not use BP_SYM.
57805         (mempcpy): Do not use BP_SYM in weak_alias.
57806         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57807         "bp-asm.h".
57808         (PARMS): Do not use macros from bp-asm.h.
57809         (DEST): Likewise.
57810         (LEN): Likewise.
57811         [!BZERO_P] (CHR): Likewise.
57812         (memset): Likewise.  Do not use BP_SYM.
57813         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57814         "bp-asm.h".
57815         (PARMS): Do not use macros from bp-asm.h.
57816         (STR2): Likewise.
57817         (strcmp): Do not use BP_SYM.
57818         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57819         "bp-asm.h".
57820         (PARMS): Do not use macros from bp-asm.h.
57821         (STR): Likewise.
57822         (DELIM): Likewise.
57823         [USE_AS_STRTOK_R] (SAVE): Likewise.
57824         (FUNCTION): Likewise.  Do not use BP_SYM.
57825         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57826         aliases.
57827         (strtok_r): Likewise.
57828         (__GI___strtok_r): Likewise.
57829         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57830         (PARMS): Do not use macros from bp-asm.h.
57831         (S): Likewise.
57832         (SIZE): Likewise.
57833         (__mpn_lshift): Do not use BP_SYM.
57834         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57835         (PARMS): Do not use macros from bp-asm.h.
57836         (STR): Likewise.
57837         (CHR): Likewise.
57838         (__memchr): Do not use BP_SYM.
57839         (memchr): Do not use BP_SYM in weak_alias.
57840         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57841         (PARMS): Do not use macros from bp-asm.h.
57842         (BLK2): Likewise.
57843         (LEN): Likewise.
57844         (memcmp): Do not use BP_SYM.
57845         (bcmp): Do not use BP_SYM in weak_alias.
57846         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57847         (PARMS): Do not use macros from bp-asm.h.
57848         (S1): Likewise.
57849         (SIZE): Likewise.
57850         (__mpn_mul_1): Do not use BP_SYM.
57851         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57852         "bp-asm.h".
57853         (PARMS): Do not use macros from bp-asm.h.
57854         (STR): Likewise.
57855         (CHR): Likewise.
57856         (__rawmemchr): Do not use BP_SYM.
57857         (rawmemchr): Do not use BP_SYM in weak_alias.
57858         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57859         (PARMS): Do not use macros from bp-asm.h.
57860         (S): Likewise.
57861         (SIZE): Likewise.
57862         (__mpn_rshift): Do not use BP_SYM.
57863         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57864         (PARMS): Do not use macros from bp-asm.h.
57865         (SIGMSK): Likewise.
57866         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57867         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57868         (_start): Do not use BP_SYM.
57869         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57870         (PARMS): Do not use macros from bp-asm.h.
57871         (DEST): Likewise.
57872         (SRC): Likewise.
57873         (__stpcpy): Likewise.  Do not use BP_SYM.
57874         (stpcpy): Do not use BP_SYM in weak_alias.
57875         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57876         "bp-asm.h".
57877         (PARMS): Do not use macros from bp-asm.h.
57878         (DEST): Likewise.
57879         (SRC): Likewise.
57880         (LEN): Likewise.
57881         (__stpncpy): Likewise.  Do not use BP_SYM.
57882         (stpncpy): Do not use BP_SYM in weak_alias.
57883         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57884         (PARMS): Do not use macros from bp-asm.h.
57885         (STR): Likewise.
57886         (CHR): Likewise.
57887         (strchr): Likewise.  Do not use BP_SYM.
57888         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57889         "bp-asm.h".
57890         (PARMS): Do not use macros from bp-asm.h.
57891         (STR): Likewise.
57892         (CHR): Likewise.
57893         (__strchrnul): Likewise.  Do not use BP_SYM.
57894         (strchrnul): Do not use BP_SYM in weak_alias.
57895         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57896         "bp-asm.h".
57897         (PARMS): Do not use macros from bp-asm.h.
57898         (STOP): Likewise.
57899         (strcspn): Do not use BP_SYM.
57900         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57901         "bp-asm.h".
57902         (PARMS): Do not use macros from bp-asm.h.
57903         (STR): Likewise.
57904         (STOP): Likewise.
57905         (strpbrk): Likewise.  Do not use BP_SYM.
57906         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57907         "bp-asm.h".
57908         (PARMS): Do not use macros from bp-asm.h.
57909         (STR): Likewise.
57910         (CHR): Likewise.
57911         (strrchr): Likewise.  Do not use BP_SYM.
57912         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57913         (PARMS): Do not use macros from bp-asm.h.
57914         (SKIP): Likewise.
57915         (strspn): Do not use BP_SYM.
57916         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57917         (PARMS): Do not use macros from bp-asm.h.
57918         (STR): Likewise.
57919         (DELIM): Likewise.
57920         (SAVE): Likewise.
57921         (FUNCTION): Likewise.  Do not use BP_SYM.
57922         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57923         aliases.
57924         (strtok_r): Likewise.
57925         (__GI___strtok_r): Likewise.
57926         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57927         (PARMS): Do not use macros from bp-asm.h.
57928         (S1): Likewise.
57929         (S2): Likewise.
57930         (SIZE): Likewise.
57931         (__mpn_sub_n): Do not use BP_SYM.
57932         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57933         "bp-asm.h".
57934         (PARMS): Do not use macros from bp-asm.h.
57935         (S1): Likewise.
57936         (SIZE): Likewise.
57937         (__mpn_submul_1): Do not use BP_SYM.
57938         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57939         <bp-sym.h>.
57940         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57941         and <bp-asm.h>.
57942         (PARMS): Do not use macros from bp-asm.h.
57943         (FLAGS): Likewise.
57944         (PTID): Likewise.
57945         (TLS): Likewise.
57946         (CTID): Likewise.
57947         (__clone): Do not use BP_SYM.
57948         (clone): Do not use BP_SYM in weak_alias.
57949         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57950         and <bp-asm.h>.
57951         (PARMS): Do not use macros from bp-asm.h.
57952         (LEN): Likewise.
57953         (__mmap64): Do not use BP_SYM.
57954         (mmap64): Do not use BP_SYM in weak_alias.
57955         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57956         <bp-sym.h> and <bp-asm.h>.
57957         (PARMS): Do not use macros from bp-asm.h.
57958         (__posix_fadvise64_l64): Do not use BP_SYM.
57959         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57960         (PARMS): Do not use macros from bp-asm.h.
57961         (NSOPS): Likewise.
57962         (semtimedop): Do not use BP_SYM.
57963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57964         and <bp-asm.h>.
57966 2013-02-21  Allan McRae  <allan@archlinux.org>
57968         * manual/message.texi (Charset conversion in gettext):
57969         Move @end statement to beginning of line.
57971 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57974         static.
57975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57976         Likewise.
57978         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57979         (denorm): Likewise.
57980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57983 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57985         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57986         tail-call to the resolved function if pltexit isn't needed.
57988 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57991         or Y being zero as being unlikely.
57992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57993         Likewise.
57995 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57997         * manual/nss.texi (System Databases and Name Service Switch):
57998         Remove frobnicate @pxref.
58000 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
58002         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58003         __attribute__ ((unused)) to __attribute__ ((__unused__)).
58005 2013-02-20  Petr Machata  <pmachata@redhat.com>
58007         * elf/elf.h (R_ARM_TARGET1): New macro.
58008         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
58009         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
58010         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
58011         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
58012         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
58013         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
58014         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
58015         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
58016         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
58017         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
58018         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
58019         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
58020         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
58021         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
58022         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
58023         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
58024         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
58025         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
58026         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
58027         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
58028         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
58029         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
58030         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
58031         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
58032         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
58033         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
58034         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
58035         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
58036         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
58037         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
58038         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
58039         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
58040         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
58041         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
58042         (R_ARM_THM_GOT_BREL12): Likewise.
58043         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
58044         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
58045         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
58046         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
58047         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
58048         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
58049         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
58050         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
58051         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
58053 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
58055         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58056         __attribute_used__ to __attribute__ ((unused)).
58058 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58060         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
58061         powerpc mpa.c.
58062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
58063         comment formatting.
58064         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
58066 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
58068         [BZ #13550]
58069         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
58070         Remove macro.
58071         (ENTER): Remove both macro definitions.
58072         (LEAVE): Likewise.
58073         (CHECK_BOUNDS_LOW): Likewise.
58074         (CHECK_BOUNDS_HIGH): Likewise.
58075         (CHECK_BOUNDS_BOTH): Likewise.
58076         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
58077         (RETURN_BOUNDED_POINTER): Likewise.
58078         (RETURN_NULL_BOUNDED_POINTER): Likewise.
58079         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
58080         (POP_ERRNO_LOCATION_RETURN): Likewise.
58081         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
58082         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58083         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
58084         macros.
58085         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58086         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
58087         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
58088         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
58089         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
58090         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
58091         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
58092         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
58093         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
58094         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
58095         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
58096         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
58097         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58098         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
58099         removed macros.
58100         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58101         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
58102         macros.
58103         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58104         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
58105         * sysdeps/i386/i586/memset.S (memset): Likewise.
58106         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
58107         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58108         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
58109         macros.
58110         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58111         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
58112         Change uses of L(2) to L(out).
58113         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
58114         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
58115         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
58116         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58117         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
58118         removed macros.
58119         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58120         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
58121         macros.
58122         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58123         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
58124         (RETURN): Do not use macro LEAVE.
58125         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
58126         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
58127         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
58128         * sysdeps/i386/i686/memset.S (memset): Likewise.
58129         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
58130         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
58131         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58132         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
58133         Likewise.
58134         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58135         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
58136         L(1_2) and L(1_3) into L(1).
58137         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58138         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
58139         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58140         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
58141         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58142         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
58143         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
58144         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58145         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
58146         macros.
58147         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
58148         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58149         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
58150         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
58151         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
58152         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58153         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
58154         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
58155         * sysdeps/i386/strcspn.S (strcspn): Likewise.
58156         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
58157         * sysdeps/i386/strrchr.S (strrchr): Likewise.
58158         * sysdeps/i386/strspn.S (strspn): Likewise.
58159         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
58160         conditional code.
58161         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58162         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
58163         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58164         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
58165         L(1_3) into L(1_1).
58166         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
58167         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58168         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
58169         macros.
58170         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58172 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
58174         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
58175         macro.
58177 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58179         * math/atest-exp.c (exp_mpn): Remove ROUND.
58180         * math/atest-exp2.c (exp_mpn): Likewise.
58181         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
58183         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
58184         * stdlib/tst-tls-atexit-lib.c: Likewise.
58185         * stdlib/tst-tls-atexit.c: Likewise.
58187 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58189         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
58190         and __attribute_alloc_size__.
58192 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58194         * include/programs/xmalloc.h: Change __attribute_alloc_size to
58195         __attribute_alloc_size__.
58196         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
58197         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
58199 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58201         * include/programs/xmalloc.h: New file.
58202         * catgets/gencat.c: Include it.
58203         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
58204         * elf/pldd.c: Likewise.
58205         * iconv/iconv_charmap.c: Likewise.
58206         * iconv/iconvconfig.c: Likewise.
58207         * iconv/strtab.c: Likewise.
58208         * locale/programs/locale.c: Likewise.
58209         * locale/programs/localedef.h: Likewise.
58210         * locale/programs/simple-hash.c: Likewise.
58211         * nscd/nscd.h: Likewise.
58212         * nss/makedb.c: Likewise.
58213         * sysdeps/generic/ldconfig.h: Likewise.
58215 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58217         * Versions.def: Add GLIBC_2.18.
58218         * include/link.h (struct link_map): New member l_tls_dtor_count.
58219         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
58220         (__call_tls_dtors): Likewise.
58221         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
58222         __cxa_thread_atexit_impl.
58223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58224         Likewise.
58225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58226         Likewise.
58227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58228         Likewise.
58229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58230         Likewise.
58231         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
58233         Likewise.
58234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
58235         Likewise.
58236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58238         Likewise.
58239         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
58240         (tests): Add test case tst-tls-atexit.
58241         (modules-names): Add shared library for tst-tls-atexit.
58242         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
58243         (GLIBC_PRIVATE): Add __call_tls_dtors.
58244         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
58245         for libstdc++.
58246         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
58247         * stdlib/tst-tls-atexit.c: New test case.
58248         * stdlib/tst-tls-atexit-lib.c: New test case.
58250         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
58252         * elf/Versions (ld): Add _dl_find_dso_for_object.
58253         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
58254         * elf/dl-open.c (_dl_find_dso_for_object): New function.
58255         (dl_open_worker): Use _dl_find_dso_for_object.
58256         * elf/dl-sym.c (do_sym): Likewise.
58257         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
58259 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58261         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
58262         Syntactic changes only.
58263         (_dl_runtime_profile): Do a tail-call to the resolved function.
58265 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
58267         [BZ #13550]
58268         * sysdeps/x86_64/bp-asm.h: Remove file.
58269         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
58270         <bp-sym.h> and <bp-asm.h>.
58271         (__clone): Do not use BP_SYM.
58272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
58273         <bp-sym.h> and <bp-asm.h>.
58274         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58275         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
58276         "bp-asm.h".
58277         (_setjmp): Do not use BP_SYM.
58278         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
58279         "bp-asm.h".
58280         (setjmp): Do not use BP_SYM.
58281         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
58282         libc_hidden_def.
58283         (mempcpy): Do not use BP_SYM in weak_alias.
58284         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
58285         "bp-asm.h".
58286         (strchr): Do not use BP_SYM.
58287         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
58288         "bp-asm.h".
58289         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
58290         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58291         (_start): Do not use BP_SYM.
58292         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58293         "bp-asm.h".
58294         (strcat): Do not use BP_SYM.
58295         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58296         "bp-asm.h".
58297         (STRCMP): Do not use BP_SYM.
58298         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58299         "bp-asm.h".
58300         (STRCPY): Do not use BP_SYM.
58301         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58302         "bp-asm.h".
58303         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58304         "bp-asm.h".
58305         (FUNCTION): Do not use BP_SYM.
58306         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58307         weak_alias.
58308         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58310 2013-02-17  Andreas Jaeger  <aj@suse.de>
58312         * time/Versions: Sort entries.
58313         * string/Versions: Likewise.
58314         * resolv/Versions: Likewise.
58315         * posix/Versions: Likewise.
58316         * iconv/Versions: Likewise.
58317         * elf/Versions: Likewise.
58318         * wcsmbs/Versions: Likewise.
58320 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58322         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58323         loop termination condition.
58325         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58326         variable to calculate EZ.
58327         (__sqr): Likewise.
58329         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58330         the lower precision input.
58332 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58334         [BZ #13550]
58335         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58336         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58337         (run-via-rtld-prefix): Do not handle %-bp tests.
58338         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58339         (all-object-suffixes): Remove .ob.
58340         (bppfx): Remove variable.
58341         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58342         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58343         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58344         [$(build-bounded) = yes] (libtype.ob): Likewise.
58345         * Makerules (elide-routines.ob): Remove variable.
58346         (do-tests-clean): Do not handle *-bp.out.
58347         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58348         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58349         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58350         (tests): Do not include $(tests-bp.out).
58351         (xtests): Do not include $(xtests-bp.out).
58352         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58353         [$(build-bounded) = yes] ($(addprefix
58354         $(objpfx),$(binaries-bounded))): Remove rule.
58355         ($(objpfx)%-bp.out): Remove rule.
58356         * config.make.in (build-bounded): Remove variable.
58357         * crypt/Makefile [$(build-bounded) = yes]
58358         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58359         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58360         append to variable.
58361         [$(build-bounded) = yes] (install-lib): Likewise.
58362         [$(build-bounded) = yes] (generated): Likewise.
58363         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58364         Remove rule.
58365         * intl/Makefile [$(build-bounded) = yes]
58366         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58367         * math/Makefile [$(build-bounded) = yes]
58368         ($(tests:%=$(objpfx)%-bp): Likewise.
58369         * misc/Makefile [$(build-bounded) = yes]
58370         ($(objpfx)tst-tsearch-bp): Likewise.
58371         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58372         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58373         Remove dependency.
58374         * string/Makefile (o-objects.ob): Remove variable.
58375         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58376         (CFLAGS-.ob): Remove variable.
58377         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58378         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58379         both definitions of variable.
58380         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58381         (ASFLAGS-.ob): Remove variable.
58383 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58385         [BZ #13550]
58386         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58387         Remove __BOUNDED_POINTERS__ from condition.
58388         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58389         * string/bits/string2.h [!__NO_STRING_INLINES &&
58390         !__BOUNDED_POINTERS__]: Likewise.
58391         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58392         Likewise.
58393         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58394         Remove conditional code.
58395         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58396         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58397         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58398         condition.
58400         [BZ #13550]
58401         * csu/libc-start.c: Do not include <bp-sym.h>.
58402         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58403         * elf/dl-open.c: Do not include <bp-sym.h>.
58404         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58405         * math/fegetenv.c: Do not include <bp-sym.h>.
58406         (fegetenv): Do not use BP_SYM in versioned symbols.
58407         * nptl/sysdeps/pthread/bits/libc-lockP.h
58408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58409         <bp-sym.h>.
58410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58411         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58413         (__pthread_mutex_destroy): Likewise.
58414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58415         (__pthread_mutex_lock): Likewise.
58416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58417         (__pthread_mutex_trylock): Likewise.
58418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58419         (__pthread_mutex_unlock): Likewise.
58420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58421         (__pthread_mutexattr_init): Likewise.
58422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58423         (__pthread_mutexattr_destroy): Likewise.
58424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58425         (__pthread_mutexattr_settype): Likewise.
58426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58427         (__pthread_rwlock_init): Likewise.
58428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58429         (__pthread_rwlock_destroy): Likewise.
58430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58431         (__pthread_rwlock_rdlock): Likewise.
58432         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58433         (__pthread_rwlock_tryrdlock): Likewise.
58434         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58435         (__pthread_rwlock_wrlock): Likewise.
58436         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58437         (__pthread_rwlock_trywrlock): Likewise.
58438         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58439         (__pthread_rwlock_unlock): Likewise.
58440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58441         (__pthread_key_create): Likewise.
58442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58443         (__pthread_setspecific): Likewise.
58444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58445         (__pthread_getspecific): Likewise.
58446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58447         Likewise.
58448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58449         (_pthread_cleanup_push_defer): Likewise.
58450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58451         (_pthread_cleanup_pop_restore): Likewise.
58452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58453         (pthread_setcancelstate): Likewise.
58454         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58455         <bp-sym.h>.
58456         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58457         (memchr): Do not use BP_SYM in weak_alias.
58458         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58459         (fegetenv): Do not use BP_SYM in versioned symbols.
58460         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58461         (fesetenv): Do not use BP_SYM in versioned symbols.
58462         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58463         (feupdateenv): Do not use BP_SYM in versioned symbols.
58464         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58465         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58466         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58467         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58468         (open64): Do not use BP_SYM in weak_alias.
58469         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58470         (fegetenv): Do not use BP_SYM in versioned symbols.
58471         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58472         (fesetenv): Do not use BP_SYM in versioned symbols.
58473         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58474         (feupdateenv): Do not use BP_SYM in versioned symbols.
58475         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58476         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58477         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58478         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58479         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58480         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58481         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58482         <bp-sym.h>.
58483         (__libc_start_main): Do not use BP_SYM.
58485 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58488         redundant return line.
58489         (norm): Likewise.
58490         (denorm): Likewise.
58491         (dbl_mp): Likewise.
58492         (sub_magnitudes): Likewise.
58493         (__add): Likewise.
58494         (__sub): Likewise.
58495         (__mul): Likewise.
58496         (__inv): Likewise.
58497         (__dvd): Likewise.
58498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58499         (norm): Likewise.
58500         (denorm): Likewise.
58501         (dbl_mp): Likewise.
58502         (sub_magnitudes): Likewise.
58503         (__add): Likewise.
58504         (__sub): Likewise.
58505         (__mul): Likewise.
58506         (__inv): Likewise.
58507         (__dvd): Likewise.
58509         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58510         instead of __mul.
58511         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58512         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58513         (cc32): Likewise.
58515         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58516         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58517         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58518         of __mul for squares.
58519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58520         function
58521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58522         Likewise.
58523         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58524         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58526 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58528         [BZ #13550]
58529         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58530         code.
58531         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58532         prototype or function definition.  Rename ubp_* variables and
58533         parameters.  Remove argv definitions conditional on
58534         [__BOUNDED_POINTERS__].
58535         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58536         * elf/dl-runtime.c (_dl_fixup): Likewise.
58537         * include/set-hooks.h (RUN_HOOK): Likewise.
58538         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58539         definition.
58540         * string/strcpy.c (strcpy): Do not use __unbounded.
58541         * sysdeps/generic/frame.h (struct layout): Likewise.
58542         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58543         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58544         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58545         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58546         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58547         (__backtrace): Likewise.
58548         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58549         use __ptrvalue.
58550         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58551         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58552         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58553         Likewise.
58554         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58555         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58556         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58557         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58558         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58559         Do not use __unbounded.
58560         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58561         Rename __unboundedrlimits parameter to rlimits in prototype.
58562         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58563         Do not use __unbounded.
58564         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58565         not use __ptrvalue.
58566         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58567         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58568         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58569         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58570         __ptrvalue or __unbounded.
58571         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58572         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58573         use __unbounded.
58574         (__new_msgctl): Do not use __ptrvalue.
58575         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58576         __unbounded.
58577         (__libc_msgrcv): Do not use __ptrvalue.
58578         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58579         startup_info): Do not use __unbounded.
58580         (__libc_start_main): Likewise.  Rename ubp_* variables and
58581         parameters.  Remove argv definitions conditional on
58582         [__BOUNDED_POINTERS__].
58583         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58584         __ptrvalue.
58585         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58586         use __unbounded.
58587         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58588         or __ptrvalue.
58589         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58590         use __unbounded.
58591         (__new_shmctl): Do not use __ptrvalue.
58592         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58593         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58594         Likewise.
58595         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58596         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58597         (__libc_sigaction): Likewise.
58598         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58599         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58600         Likewise.
58601         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58603 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58605         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58607         * string/mempcpy.c: Implement by calling memcpy.
58609 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58611         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58614         evaluation.
58616         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58617         values in the mantissa.
58619         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58620         minimize writes to Z.
58621         (sub_magnitudes): Simplify code a bit.
58623 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58625         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58626         from the message.  The linker prefixes all warnings with that already.
58628 2013-02-12  Andreas Schwab  <schwab@suse.de>
58630         [BZ #15078]
58631         * posix/regexec.c (extend_buffers): Add parameter min_len.
58632         (check_matching): Pass minimum needed length.
58633         (clean_state_log_if_needed): Likewise.
58634         (get_subexp): Likewise.
58635         * posix/Makefile (tests): Add bug-regex34.
58636         (bug-regex34-ENV): Define.
58637         * posix/bug-regex34.c: New file.
58639         [BZ #11561]
58640         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58641         elements compare against the byte sequence of it, not its name.
58642         * posix/Makefile (tests): Add bug-regex35.
58643         (bug-regex35-ENV): Define.
58644         * posix/bug-regex35.c: New file.
58646 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58648         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58649         comment.
58650         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58651         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58652         (CHECK_EOL): Add undef.
58654 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58656         * bits/stdlib-bsearch.h: New file.
58657         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58658         * stdlib/stdlib.h: Likewise.
58660 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58662         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58663         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58664         declaration.
58665         * manual/search.texi (Array Search Function): Add missing const in
58666         lfind prototype.
58667         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58668         declaration to use rlim_t.
58669         (Basic Scheduling Functions): Remove erroneous const from
58670         sched_getparam prototype.  Remove erroneous * from
58671         sched_get_priority_max and sched_get_priority_min prototypes.
58672         (Resource Usage): Fix summary @comment on vtimes to refer to
58673         sys/vtimes.h rather than vtimes.h.
58674         Add missing *s in vtimes prototype.
58675         (Limits on Resources): Fix ulimit prototype to return long int.
58676         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58677         prototypes to use long int rather than double.
58678         (BSD Random): Fix initstate and setstate to use char *, not void *.
58679         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58680         prototype to make second argument 'struct aiocb64 *const[]'.
58681         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58682         (Status of AIO Operations): Remove erroneous const in aio_return and
58683         aio_return64 prototypes.
58684         (Synchronizing I/O): Fix sync prototype to return void.
58685         * manual/startup.texi (Suboptions): Remove an erroneous const in
58686         getsubopt prototype.
58687         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58688         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58689         use size_t rather than int.
58690         (Scanning All Users): Likewise for getpwent_r.
58691         (Setting Groups): Add missing const to setgroups prototype.
58692         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58693         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58694         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58695         'const void *' rather than 'const char *'.
58696         (Host Address Functions): Likewise for inet_ntop.
58697         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58698         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58699         ssize_t for return value.
58700         (Sending Data): Likewise for send, sendto, sendmsg.
58701         (Socket Option Functions): Add a missing const in setsockopt prototype.
58702         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58703         use wchar_t for the argument.
58704         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58705         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58706         take no arguments.
58707         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58708         double/float/long double for second argument.
58709         Fix return types of significand, significandf, significandl.
58710         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58711         argument in fchmod prototype.
58712         (File Owner): Use uid_t and gid_t in fchown prototype.
58713         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58714         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58715         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58716         use 'const struct dirent **' as argument types to CMP function pointer
58717         argument.
58718         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58719         (File Times): Fix summary magic @comment for struct utimbuf and utime
58720         to refer to utime.h, not time.h.
58721         * manual/string.texi (Argz Functions): Add missing const in
58722         argz_extract and argz_next prototypes.
58723         (Finding Tokens in a String): Likewise for basename.
58724         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58725         (Copying and Concatenation): Fix typo in wmemmove prototype.
58726         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58727         (Signal Stack): Remove erroneous const in sigstack prototype.
58728         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58729         prototype.
58730         (Simple Calendar Time): Likewise for stime.
58731         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58732         prototype.
58733         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58734         say sys/sysctl.h instead.
58735         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58736         and vsyslog prototypes.
58738 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58740         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58741         Remove.
58743 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58745         * misc/sys/mman.h: Fix typo in mremap comment.
58747 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58749         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58750         the '\0' terminator.
58752 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58754         [BZ #13550]
58755         * debug/segfault.c: Don't include <bp-checks.h>.
58756         * sysdeps/generic/bp-checks.h: Remove file.
58757         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58758         (__GETDENTS): Don't use CHECK_N.
58759         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58760         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58761         (__getgroups): Don't use CHECK_N.
58762         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58763         (setgroups): Don't use CHECK_N.
58764         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58765         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58766         (__libc_msgrcv): Don't use CHECK_N.
58767         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58768         (__libc_msgsnd): Don't use CHECK_N.
58769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58770         <bp-checks.h>.
58771         (__libc_pread): Don't use CHECK_N.
58772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58773         include <bp-checks.h>.
58774         (__libc_pread64): Don't use CHECK_N.
58775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58776         include <bp-checks.h>.
58777         (__libc_pwrite): Don't use CHECK_N.
58778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58779         include <bp-checks.h>.
58780         (__libc_pwrite64): Don't use CHECK_N.
58781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58782         <bp-checks.h>.
58783         (__libc_pread): Don't use CHECK_N.
58784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58785         include <bp-checks.h>.
58786         (__libc_pread64): Don't use CHECK_N.
58787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58788         include <bp-checks.h>.
58789         (__libc_pwrite): Don't use CHECK_N.
58790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58791         include <bp-checks.h>.
58792         (__libc_pwrite64): Don't use CHECK_N.
58793         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58794         (do_pread): Don't use CHECK_N.
58795         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58796         (do_pread64): Don't use CHECK_N.
58797         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58798         (do_pwrite): Don't use CHECK_N.
58799         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58800         (do_pwrite64): Don't use CHECK_N.
58801         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58802         (__libc_readv): Don't use CHECK_N.
58803         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58804         (semop): Don't use CHECK_N.
58805         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58806         <bp-checks.h>.
58807         (semtimedop): Don't use CHECK_N.
58808         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58809         (__libc_pread): Don't use CHECK_N.
58810         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58811         <bp-checks.h>.
58812         (__libc_pread64): Don't use CHECK_N.
58813         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58814         <bp-checks.h>.
58815         (__libc_pwrite): Don't use CHECK_N.
58816         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58817         <bp-checks.h>.
58818         (__libc_pwrite64): Don't use CHECK_N.
58819         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58820         <bp-checks.h>.
58821         (__libc_msgrcv): Don't use CHECK_N.
58822         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58823         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58824         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58825         (__libc_writev): Don't use CHECK_N.
58827 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58829         * string/strcpy.c: Removed unused variable.
58831         * Makeconfig (+sysdep-includes): Define with := rather than =.
58832         Use an existing include/ subdir of each sysdeps dir before it.
58834 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58836         * nscd/connection.c (register_traced_file): Comment function.
58837         [HAVE_INOTIFY] (union __inev): Define.
58838         [HAVE_INOTIFY] (inotify_check_files): New function.
58839         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58840         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58841         clear_db_cache.
58842         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58844 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58846         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58847         loaded if not already and that a failure is permanent.
58849 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58851         [BZ #15006]
58852         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58853         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58855 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58857         [BZ #13550]
58858         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58859         (CHECK_1_NULL_OK): Likewise.
58860         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58861         (__fxstat): Do not use CHECK_1.
58862         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58863         <bp-checks.h>.
58864         (___fxstat64): Do not use CHECK_1.
58865         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58866         <bp-checks.h>.
58867         (__fxstatat): Do not use CHECK_1.
58868         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58869         <bp-checks.h>.
58870         (__fxstatat64): Do not use CHECK_1.
58871         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58872         <bp-checks.h>.
58873         (__fxstat): Do not use CHECK_1.
58874         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58875         <bp-checks.h>.
58876         (__fxstatat): Do not use CHECK_1.
58877         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58878         <bp-checks.h>.
58879         (__getresgid): Do not use CHECK_1.
58880         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58881         <bp-checks.h>.
58882         (__getresuid): Do not use CHECK_1.
58883         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58884         <bp-checks.h>.
58885         (__lxstat): Do not use CHECK_1.
58886         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58887         <bp-checks.h>.
58888         (__old_msgctl): Do not use CHECK_1.
58889         (__new_msgctl): Likewise.
58890         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58891         <bp-checks.h>.
58892         (__new_setrlimit): Do not use CHECK_1.
58893         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58894         <bp-checks.h>.
58895         (__old_shmctl): Do not use CHECK_1.
58896         (__new_shmctl): Likewise.
58897         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58898         <bp-checks.h>.
58899         (__xstat): Do not use CHECK_1.
58900         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58901         (__lxstat): Do not use CHECK_1.
58902         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58903         <bp-checks.h>.
58904         (___lxstat64): Do not use CHECK_1.
58905         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58906         (__old_msgctl): Do not use CHECK_1.
58907         (__new_msgctl): Likewise.
58908         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58909         <bp-checks.h>.
58910         (__gettimeofday): Do not use CHECK_1.
58911         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58912         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58913         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58914         <bp-checks.h>.
58915         (__gettimeofday): Do not use CHECK_1.
58916         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58917         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58918         (__new_shmctl): Do not use CHECK_1.
58919         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58920         <bp-checks.h>.
58921         (do_sigtimedwait): Do not use CHECK_1.
58922         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58923         <bp-checks.h>.
58924         (do_sigwaitinfo): Do not use CHECK_1.
58925         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58926         <bp-checks.h>.
58927         (msgctl): Do not use CHECK_1.
58928         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58929         <bp-checks.h>.
58930         (shmctl): Do not use CHECK_1.
58931         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58932         (ustat): Do not use CHECK_1.
58933         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58934         <bp-checks.h>.
58935         (__fxstat): Do not use CHECK_1.
58936         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58937         <bp-checks.h>.
58938         (__fxstatat): Do not use CHECK_1.
58939         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58940         <bp-checks.h>.
58941         (__lxstat): Do not use CHECK_1.
58942         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58943         <bp-checks.h>.
58944         (__xstat): Do not use CHECK_1.
58945         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58946         (__xstat): Do not use CHECK_1.
58947         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58948         (___xstat64): Do not use CHECK_1.
58950         [BZ #13550]
58951         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58952         definitions.
58953         (CHECK_BOUNDS_HIGH): Likewise.
58954         * string/strcpy.c: Do not include <bp-checks.h>.
58955         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58957 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58959         * nscd/nscd-client.h (__nscd_drop_map_ref):
58960         Add __attribute__ ((unused)).
58961         * nis/nss-nisplus.h (niserr2nss): Likewise.
58963         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58964         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58966         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58967         Remove inline keyword.
58968         * include/rounding-mode.h (round_away): Likewise.
58969         * libio/wfileops.c (adjust_wide_data): Likewise.
58970         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58971         (__m128i_strloadu_tolower): Likewise.
58972         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58973         (__m128i_strloadu_tolower): Likewise.
58974         * time/mktime.c (ydhms_diff): Likewise.
58975         * locale/elem-hash.h (elem_hash): Likewise.
58976         * locale/setlocale.c (setdata): Likewise.
58977         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58978         (re_string_wchar_at): Likewise.
58979         (bitset_not, bitset_merge, bitset_mask): Likewise.
58980         [!(__GNUC__ > 3)] (inline): Remove macro.
58981         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58982         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58983         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58984         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58985         * string/memcmp.c (memcmp_bytes): Likewise.
58986         * locale/programs/locarchive.c (compute_hashval): Likewise.
58987         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58988         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58989         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58990         * nss/getent.c (print_rpc, print_protocols): Likewise.
58991         (print_passwd, print_group, print_aliases): Likewise.
58992         * nis/nss-nisplus.h (niserr2nss): Likewise.
58993         * nscd/connections.c (restart_p): Likewise.
58994         Change return type to bool.
58996 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58998         * Makeconfig (all-Depend-files): Add existing
58999         $(sorted-subdirs:=/Depend) files.
59000         (all-subdirs): Remove nss.
59001         * sysdeps/unix/inet/Subdirs: Add it here instead.
59002         * hesiod/Depend: New file.
59004         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
59005         instead of calling alloca.
59007         * io/lseek.c (__lseek): Rename to __libc_lseek.
59008         Define __lseek as an alias.
59010         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
59012 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
59014         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
59015         else clause and remove check for non-standard endianness.
59017 2013-02-04  David S. Miller  <davem@davemloft.net>
59019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59021 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
59023         [BZ #13550]
59024         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
59025         (__ubp_memchr): Remove prototype.
59026         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
59027         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59028         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
59029         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59030         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
59031         Remove alias.
59032         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
59033         (__ubp_memchr): Likewise.
59034         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
59035         (__ubp_memchr): Likewise.
59036         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
59037         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
59038         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
59039         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
59040         CHECK_STRING.
59041         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
59042         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
59043         (__getcwd): Do not use CHECK_STRING.
59044         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59045         <bp-checks.h>.
59046         (__real_chown): Do not use CHECK_STRING.
59047         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
59048         <bp-checks.h>.
59049         (fchownat): Do not use CHECK_STRING.
59050         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
59051         CHECK_STRING.
59052         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59053         <bp-checks.h>.
59054         (__lchown): Do not use CHECK_STRING.
59055         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59056         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59057         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59058         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
59059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59060         include <bp-checks.h>.
59061         (truncate64): Do not use CHECK_STRING.
59062         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59063         <bp-checks.h>.
59064         (__real_chown): Do not use CHECK_STRING.
59065         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59066         <bp-checks.h>.
59067         (__lchown): Do not use CHECK_STRING.
59068         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59069         <bp-checks.h>.
59070         (__chown): Do not use CHECK_STRING.
59071         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
59072         <bp-checks.h>.
59073         (truncate64): Do not use CHECK_STRING.
59074         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
59075         Likewise.
59076         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
59077         (__xmknod): Do not use CHECK_STRING.
59078         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
59079         <bp-checks.h>.
59080         (__xmknodat): Do not use CHECK_STRING.
59081         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59082         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
59084 2013-02-04  Andreas Schwab  <schwab@suse.de>
59086         [BZ #14142]
59087         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
59088         * include/netdb.h: Likewise for h_errno.
59089         * elf/tst-stackguard1.c: Include <tls.h>.
59091 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
59093         * elf/link.h (struct link_map): Extend the l_addr comment.
59094         * include/link.h (struct link_map): Likewise.
59096 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
59098         [BZ #13550]
59099         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
59100         (BOUNDED_1): Remove macro.
59101         * debug/backtrace.c: Don't include <bp-checks.h>.
59102         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
59103         (__backtrace): Likewise.
59104         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
59105         <bp-checks.h>.
59106         (__backtrace): Don't use BOUNDED_1.
59107         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
59108         <bp-checks.h>.
59109         (__backtrace): Don't use BOUNDED_1.
59110         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
59111         (__backtrace): Don't use BOUNDED_1.
59112         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
59113         (shmat): Don't use BOUNDED_N.
59115 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
59117         [BZ #13550]
59118         * sysdeps/generic/bp-start.h: Remove file.
59119         * csu/libc-start.c: Don't include <bp-start.h>.
59120         (LIBC_START_MAIN): Set up __environ directly instead of using
59121         INIT_ARGV_and_ENVIRON.
59122         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
59123         <bp-start.h>.
59125         [BZ #13550]
59126         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
59127         definitions.
59128         (CHECK_FCNTL): Likewise.
59129         (CHECK_N_PAGES): Likewise.
59131         [BZ #13550]
59132         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
59133         definitions.
59134         (CHECK_SIGSET_NULL_OK): Likewise.
59135         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
59136         <bp-checks.h>.
59137         (sigpending): Don't use CHECK_SIGSET.
59138         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
59139         <bp-checks.h>.
59140         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59141         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
59142         <bp-checks.h>.
59143         (do_sigsuspend): Don't use CHECK_SIGSET.
59144         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
59145         use CHECK_SIGSET.
59146         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
59147         (do_sigwait): Don't use CHECK_SIGSET.
59148         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
59149         use CHECK_SIGSET.
59150         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
59151         include <bp-checks.h>.
59152         (sigpending): Don't use CHECK_SIGSET.
59153         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
59154         include <bp-checks.h>.
59155         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59156         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
59157         <bp-checks.h>.
59158         (sigpending): Don't use CHECK_SIGSET.
59159         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
59160         <bp-checks.h>.
59161         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59163         [BZ #13550]
59164         * sysdeps/generic/bp-semctl.h: Remove file.
59165         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
59166         <bp-checks.h> and <bp-semctl.h>.
59167         (__old_semctl): Don't use CHECK_SEMCTL.
59168         (__new_semctl): Likewise.
59169         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
59170         and <bp-semctl.h>.
59171         (__old_semctl): Don't use CHECK_SEMCTL.
59172         (__new_semctl): Likewise.
59173         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
59174         <bp-checks.h> and <bp-semctl.h>.
59175         (__old_semctl): Don't use CHECK_SEMCTL.
59176         (__new_semctl): Likewise.
59177         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
59178         <bp-checks.h> and <bp-semctl.h>.
59179         (semctl): Don't use CHECK_SEMCTL.
59181         [BZ #13550]
59182         * Makerules (elide-bp-thunks): Remove variable.
59183         (elide-routines.oS): Don't use $(elide-bp-thunks).
59184         (elide-routines.os): Likewise.
59185         (elide-routines.o): Likewise.
59186         (elide-routines.op): Likewise.
59187         (elide-routines.og): Likewise.
59188         (objects): Don't use $(bp-thunks).
59189         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
59190         include.
59191         (common-generated): Do not add s-proto-bp.d.
59192         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
59193         (int): Likewise.
59194         (typ): Likewise.
59195         Do not generate makefile rules for bounded-pointer thunks.
59196         * sysdeps/generic/bp-thunks.h: Remove file.
59197         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
59198         * sysdeps/unix/s-proto-bp.S: Likewise.
59200         [BZ #15062]
59201         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
59202         parts of result separately when argument is not close to line from
59203         -i to i and one part of argument is small.
59204         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59205         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59206         * math/libm-test.inc (cacos_test): Add more tests.
59207         (casin_test): Likewise.
59208         (casinh_test): Likewise.
59209         * sysdeps/i386/fpu/libm-test-ulps: Update.
59210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59212 2013-01-31  David S. Miller  <davem@davemloft.net>
59214         * po/de.po: Update from translation team.
59216 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
59218         * time/tzfile.c: Include stdint.h for SIZE_MAX.
59220 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
59222         * configure.in (_AC_PROG_CC_C89): New definition.
59223         * configure: Regenerate.
59225         * configure.in (AC_PROG_CPP): New definition.
59226         * configure: Regenerate.
59228 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59230         * debug/tst-backtrace.h: New file.
59231         * debug/tst-backtrace2.c: Include tst-backtrace.h.
59232         (ret): Remove variable.
59233         (x): Likewise.
59234         (FAIL): Remove macro.
59235         (NO_INLINE): Likewise.
59236         (fn1): Use match function instead of strstr.
59237         * debug/tst-backtrace3.c: Include tst-backtrace.h.
59238         (ret): Remove variable.
59239         (x): Likewise.
59240         (FAIL): Remove macro.
59241         (NO_INLINE): Likewise.
59242         (fn): Use match function instead of strstr.
59243         * debug/tst-backtrace4.c: Include tst-backtrace.h.
59244         (ret): Remove variable.
59245         (x): Likewise.
59246         (FAIL): Remove macro.
59247         (NO_INLINE): Likewise.
59248         (handle_signal): Use match function instead of strstr.
59249         * debug/tst-backtrace5.c: Include tst-backtrace.h.
59250         (ret): Remove variable.
59251         (x): Likewise.
59252         (FAIL): Remove macro.
59253         (NO_INLINE): Likewise.
59254         (handle_signal): Use match function instead of strstr.
59256 2013-01-23  Roland McGrath  <roland@hack.frob.com>
59258         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
59260 2013-01-23  David S. Miller  <davem@davemloft.net>
59262         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
59263         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
59264         argument of CAS if possible.
59265         * sysdeps/sparc/sparc64/bits/atomic.h
59266         (__arch_compare_and_exchange_val_32_acq): Likewise.
59267         (__arch_compare_and_exchange_val_64_acq): Likewise.
59269 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
59271         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
59272         * sysdeps/posix/ulimit.c: ... this.
59273         Include <limits.h>.
59274         * sysdeps/unix/bsd/ulimit.c: Remove file.
59276 2013-01-23  Adam Conrad  <adconrad@0c3.net>
59278         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
59279         (LDFLAGS-tst-array5): Likewise.
59281 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59283         [BZ #15036]
59284         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
59285         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
59286         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
59287         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
59289 2013-01-21  David S. Miller  <davem@davemloft.net>
59291         * sysdeps/sparc/backtrace.c: New file.
59292         * sysdeps/sparc/sparc32/backtrace.h: New file.
59293         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59294         * sysdeps/sparc/sparc64/backtrace.h: New file.
59295         * sysdeps/sparc/sparc64/backtrace.c: Delete.
59296         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59297         -funwind-tables.
59299 2013-01-21  Andreas Schwab  <schwab@suse.de>
59301         [BZ #15020]
59302         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59303         closed its stdout.
59305 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59308         "mpa2.h".
59309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59311 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59312             Mark Mitchell  <mark@codesourcery.com>
59313             Tom de Vries  <tom@codesourcery.com>
59314             Paul Pluzhnikov  <ppluzhnikov@google.com>
59316         * debug/tst-backtrace2.c: New file.
59317         * debug/tst-backtrace3.c: Likewise.
59318         * debug/tst-backtrace4.c: Likewise.
59319         * debug/tst-backtrace5.c: Likewise.
59320         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59321         (CFLAGS-tst-backtrace3.c): Likewise.
59322         (CFLAGS-tst-backtrace4.c): Likewise.
59323         (CFLAGS-tst-backtrace5.c): Likewise.
59324         (LDFLAGS-tst-backtrace2): Likewise.
59325         (LDFLAGS-tst-backtrace3): Likewise.
59326         (LDFLAGS-tst-backtrace4): Likewise.
59327         (LDFLAGS-tst-backtrace5): Likewise.
59328         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59329         tst-backtrace4 and tst-backtrace5.
59331 2013-01-18  Anton Blanchard  <anton@samba.org>
59332             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59334         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59335         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59336         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59337         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59339         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59340         "+r" and remove output regs list as redundant.  Add explicit inline
59341         asm to specify register of return val to work around compiler codegen
59342         bug.  Remove (int) cast on return value.  Add return type parameter to
59343         use in macro so that this macro does not truncate return value for
59344         64-bit values.
59345         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59346         pass to INTERNAL_VSYSCALL_NCS.
59347         (INLINE_VSYSCALL): Add 'long int' as return type to
59348         INTERNAL_VSYSCALL_NCS macro invocation.
59349         (INTERNAL_VSYSCALL): Add 'long int' as return type to
59350         INTERNAL_VSYSCALL_NCS macro invocation.
59351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59353 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59355         [BZ #14496]
59356         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59357         Fix application of SIMD FP exception mask.
59359         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59360         mp_no from a power of two.
59361         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59362         __mpexp_twomm1.  Use __pow_mp.
59364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59365         multiplication.
59367 2013-01-17  David S. Miller  <davem@davemloft.net>
59369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59371 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59373         [BZ #15023]
59374         * include/complex.h: Condition contents on [!_COMPLEX_H].
59375         (__kernel_casinhf): New prototype.
59376         (__kernel_casinh): Likewise.
59377         (__kernel_casinhl): Likewise.
59378         * math/Makefile (libm_calls): Add k_casinh.
59379         * math/k_casinh.c: New file.
59380         * math/k_casinhf.c: Likewise.
59381         * math/k_casinhl.c: Likewise.
59382         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59383         finite nonzero arguments.
59384         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59385         finite nonzero arguments.
59386         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59387         finite nonzero arguments.
59388         * math/s_casinh.c: Do not include <float.h>.
59389         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59390         * math/s_casinhf.c: Do not include <float.h>.
59391         (__casinhf): Move code for finite nonzero arguments to
59392         k_casinhf.c.
59393         * math/s_casinhl.c: Do not include <float.h>.
59394         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59395         redefine.
59396         (__casinhl): Move code for finite nonzero arguments to
59397         k_casinhl.c.
59398         * math/libm-test.inc (cacos_test): Add more tests.
59399         * sysdeps/i386/fpu/libm-test-ulps: Update.
59400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59402 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59404         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59405         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59406         [!HAVE_MREMAP]: Remove [defined linux] case.
59407         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59409 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59411         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59413 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59415         * elf/elf.h (R_386_SIZE32): New relocation.
59416         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59417         R_386_SIZE32.
59418         (elf_machine_rela): Likewise.
59419         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59420         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59422 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59424         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59425         (FP_FAST_FMA): Do not define.
59426         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59427         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59428         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59429         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59430         !_SOFT_FLOAT]: Likewise.
59431         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59432         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59433         value.
59434         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59435         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59436         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59437         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59438         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59439         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59440         file.
59442 2013-01-16  Andreas Schwab  <schwab@suse.de>
59444         [BZ #14327]
59445         * include/stdlib.h (__mktemp): Add declaration.
59446         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59447         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59449 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59451         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59452         definitions.
59453         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59454         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59455         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59456         definitions here.
59457         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59458         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59459         definitions.
59460         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59461         and ONE.
59462         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59463         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59464         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59465         definitions.
59466         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59467         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59468         definitions.
59469         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59471         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59473 2013-01-15  David S. Miller  <davem@davemloft.net>
59475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59476         trunc{,f} to libm-sysdep_routes.
59477         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59479         file.
59480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59482         file.
59483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59484         file.
59485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59487         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59488         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59489         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59490         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59491         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59492         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59495         nearbyint{,f} to libm-sysdep_routes.
59496         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59498         New file.
59499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59500         file.
59501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59502         New file.
59503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59504         file.
59505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59507         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59508         file.
59509         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59510         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59511         file.
59512         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59513         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59514         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59516         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59517         libc_feholdexcept and libc_fesetenv.
59519 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59521         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59523 2013-01-14  David S. Miller  <davem@davemloft.net>
59525         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59526         (SPARC_ASM_VIS2_IFUNC): Likewise.
59527         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59529         use of 'siam' instruction.
59530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59531         Likewise.
59532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59533         Likewise.
59534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59535         Likewise.
59536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59541         file.
59542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59543         file.
59544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59545         file.
59546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59547         file.
59548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59553         new VIS2 routines.
59554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59557         Likewise.
59558         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59559         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59563         routines to libm-sysdep_routines.
59564         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59567         fdim/fdimf to libm-sysdep_routines.
59568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59569         file.
59570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59572         file.
59573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59576         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59577         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59578         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59579         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59581 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59583         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59584         to optimize copies.
59586         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59591         local variable MPTWO.
59592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59593         Likewise.
59595 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59597         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59598         GLOB_NOESCAPE.
59600 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59602         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59604 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59606         * manual/pattern.texi (glob_t): Document gl_flags.
59607         (glob64_t): Likewise.
59609 2013-01-11  David S. Miller  <davem@davemloft.net>
59611         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59612         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59613         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59614         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59615         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59616         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59617         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59618         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59619         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59620         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59621         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59622         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59623         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59625         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59626         sparc V9 rather than using V8 code.
59627         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59628         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59630         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59631         Move to...
59632         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59633         Here.
59635 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59637         [BZ #14941]
59638         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59639         not in the main loop.
59640         * configure: Regenerated.
59642 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59644         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59645         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59646         to just #else.
59647         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59648         [!__GLIBC_HAVE_LONG_LONG] case.
59649         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59650         condition to just #else.
59651         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59652         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59653         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59654         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59655         unconditional.
59656         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59657         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59658         #elif condition to just #else.
59659         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59660         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59661         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59662         #elif condition to just #else.
59664 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59666         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59667         (EF_MIPS_ARCH_64): Fix value.
59668         (EF_MIPS_ARCH_32R2): New.
59669         (EF_MIPS_ARCH_64R2): New.
59671 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59673         * Makeconfig (+link-pie-before-libc): New.
59674         (+link-pie-after-libc): Likewise.
59675         (+link-pie-tests): Likewise.
59676         (+link-pie): Rewritten.
59677         (link-before-libc): Remove $(config-LDFLAGS).
59678         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59679         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59680         (config-LDFLAGS): Renamed to ...
59681         (rtld-LDFLAGS): This.
59682         (rtld-tests-LDFLAGS): New macro.
59683         (link-libc-rpath-link): Likewise.
59684         (link-libc-tests-rpath-link): Likewise.
59685         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59686         (link-libc): Prepand $(link-libc-rpath-link).
59687         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59688         (test-program-prefix): New macro.
59689         (test-via-rtld-prefix): Likewise.
59690         (test-program-cmd): Likewise.
59691         (host-test-program-cmd): Likewise.
59692         * Makefile ($(common-objpfx)testrun.sh): Replace
59693         $(run-program-prefix) with $(test-program-prefix).
59694         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59695         $(rtld-LDFLAGS).
59696         ($(common-objpfx)shlib.lds): Likewise.
59697         (build-module-helper): Likewise.
59698         ($(common-objpfx)format.lds): Likewise.
59699         * Rules (binaries-pie-tests): New.
59700         (binaries-pie-notests): Likewise.
59701         (binaries-pie): Rewritten.
59702         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59703         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59704         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59705         (make-test-out): Replace $(host-built-program-cmd) with
59706         $(host-test-program-cmd).
59707         * config.make.in (build-hardcoded-path-in-tests): New variable.
59708         * configure.in (--enable-hardcoded-path-in-tests): New configure
59709         option.
59710         (hardcoded_path_in_tests): New AC_SUBST.
59711         * configure: Regenerated.
59712         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59713         $(built-program-cmd) with $(test-program-cmd).
59714         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59715         (test_program_cmd): This.
59716         * elf/Makefile ($(objpfx)order.out): Run test with
59717         $(test-program-prefix).
59718         ($(objpfx)order2.out): Likewise.
59719         ($(objpfx)tst-initorder.out): Likewise.
59720         ($(objpfx)tst-initorder2.out): Likewise.
59721         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59722         $(test-program-cmd).
59723         ($(objpfx)tst-array1-static.out): Likewise.
59724         ($(objpfx)tst-array2.out): Likewise.
59725         ($(objpfx)tst-array3.out): Likewise.
59726         ($(objpfx)tst-array4.out): Likewise.
59727         ($(objpfx)tst-array5.out): Likewise.
59728         ($(objpfx)tst-array5-static.out): Likewise.
59729         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59730         $(test-program-cmd).
59731         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59732         $(run-program-prefix) with $(test-program-prefix).
59733         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59734         (test_program_prefix): This.
59735         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59736         $(run-program-prefix) with $(test-program-prefix).
59737         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59738         (test_program_prefix): This.
59739         * iconvdata/tst-tables.sh: Likewise.
59740         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59741         $(run-program-prefix) with $(test-program-prefix).
59742         ($(objpfx)tst-translit.out): Likewise.
59743         ($(objpfx)tst-gettext2.out): Likewise.
59744         ($(objpfx)tst-gettext4.out): Likewise.
59745         ($(objpfx)tst-gettext6.out): Likewise.
59746         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59747         (test_program_prefix): This.
59748         * intl/tst-gettext2.sh: Likewise.
59749         * intl/tst-gettext4.sh  Likewise.
59750         * intl/tst-gettext6.sh: Likewise.
59751         * intl/tst-translit.sh: Likewise.
59752         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59753         with $(test-program-cmd).
59754         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59755         $(run-program-prefix) with $(test-program-prefix).
59756         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59757         (test_program_prefix): This.
59758         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59759         $(run-program-prefix) with $(test-program-prefix).
59760         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59761         (test_program_prefix): This.
59762         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59763         * posix/Makefile ($(objpfx)globtest.out): Replace
59764         $(run-via-rtld-prefix) and $(test-wrapper) with
59765         $(test-program-prefix) and $(test-via-rtld-prefix).
59766         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59767         $(test-program-prefix).
59768         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59769         $(host-test-program-cmd).
59770         (tst-spawn-ARGS): Likewise.
59771         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59772         $(test-program-prefix).
59773         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59774         (test_via_rtld_prefix): This.
59775         (test_wrapper): Renamed to ...
59776         (test_program_prefix): This.
59777         (run_program_prefix): Replaced by test_program_prefix.
59778         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59779         (test_program_prefix): This.
59780         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59781         with $(host-test-program-cmd).
59782         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59783         $(run-program-prefix) with $(test-program-prefix).
59784         ($(objpfx)tst-printf.out): Likewise.
59785         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59786         $(test-program-cmd).
59787         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59788         (test_program_prefix): This.
59789         * stdio-common/tst-unbputc.sh: Likewise.
59790         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59791         $(run-program-prefix) with $(test-program-prefix).
59792         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59793         (test_program_prefix): This.
59794         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59795         $(built-program-cmd) with $(test-program-cmd).
59797 2013-01-11  Andreas Jaeger  <aj@suse.de>
59799         [BZ #15003]
59800         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59801         value. Sync with Linux 3.7.
59803 2013-01-10  David S. Miller  <davem@davemloft.net>
59805         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59806         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59807         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59809 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59811         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59812         never set.
59813         * configure: Regenerated.
59815 2013-01-10  David S. Miller  <davem@davemloft.net>
59817         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59818         sparc V9 rather than using V8 code.
59819         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59820         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59822 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59824         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59825         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59826         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59827         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59828         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59829         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59830         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59831         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59832         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59833         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59834         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59835         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59836         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59837         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59838         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59839         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59840         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59841         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59842         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59843         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59844         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59845         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59846         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59847         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59848         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59849         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59850         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59852 2013-01-10  David S. Miller  <davem@davemloft.net>
59854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59856 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59858         * posix/Makefile (tests-static): New variable.
59859         (tests): Add $(tests-static).
59860         (tst-exec-static-ARGS): New variable.
59861         (tst-spawn-static-ARGS): Likewise.
59862         * posix/tst-exec-static.c: New file.
59863         * posix/tst-spawn-static.c: Likewise.
59864         * posix/tst-exec.c: Support run directly.
59865         * posix/tst-spawn.c: Likewise.
59867 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59869         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59870         long.
59871         * math/bits/mathcalls.h (llrint): Likewise.
59872         (llround): Likewise.
59873         * stdlib/stdlib.h (struct drand48_data): Likewise.
59874         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59875         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59876         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59877         Likewise.
59878         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59879         Likewise.
59880         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59881         (elf_greg_t): Likewise.
59882         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59883         (__jmp_buf): Likewise.
59884         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59885         definitions.
59886         (llrint): Likewise, for all definitions.
59887         (llrintl): Likewise.
59889         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59890         Remove [__GNUC__] condition.
59891         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59892         condition to just [__USE_ISOC99].
59893         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59895 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59897         [BZ #14200]
59898         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59899         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59900         defined.
59901         (_POSIX_V6_ILP32_OFF32): Likewise.
59902         (_XBS5_ILP32_OFF32): Likewise.
59903         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59904         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59906 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59908         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59910         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59911         doubles __mpexp_twomm1.  Adjust usage.
59912         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59913         Remove.
59915 2013-01-10  Andreas Schwab  <schwab@suse.de>
59917         [BZ #14964]
59918         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59919         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59921 2013-01-09  David S. Miller  <davem@davemloft.net>
59923         [BZ #15003]
59924         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59925         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59926         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59927         (TCP_FASTOPEN): Define.
59928         (tcp_repair_opt): New structure.
59929         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59930         enum values.
59931         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59932         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59933         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59934         (tcp_cookie_transactions): New structure.
59936 2013-01-09  Anton Blanchard  <anton@samba.org>
59938         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59939         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59940         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59941         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59943 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59945         * include/features.h (__USE_ANSI): Remove.
59947 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59949         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59951         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59953 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59955         * sysdeps/s390/fpu/libm-test-ulps: Update.
59957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59959         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59960         (__acr): Likewise.
59961         (__cpy): Likewise.
59962         (norm): Likewise.
59963         (denorm): Likewise.
59964         (__mp_dbl): Likewise.
59965         (__dbl_mp): Likewise.
59966         (add_magnitudes): Likewise.
59967         (sub_magnitudes): Likewise.
59968         (__add): Likewise.
59969         (__sub): Likewise.
59970         (__mul): Likewise.
59971         (__inv): Likewise.
59972         (__dvd): Likewise.
59973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59974         (__acr): Likewise.
59975         (__cpy): Likewise.
59976         (norm): Likewise.
59977         (denorm): Likewise.
59978         (__mp_dbl): Likewise.
59979         (__dbl_mp): Likewise.
59980         (add_magnitudes): Likewise.
59981         (sub_magnitudes): Likewise.
59982         (__add): Likewise.
59983         (__sub): Likewise.
59984         (__mul): Likewise.
59985         (__inv): Likewise.
59986         (__dvd): Likewise.
59987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59988         (__acr): Likewise.
59989         (__cpy): Likewise.
59990         (norm): Likewise.
59991         (denorm): Likewise.
59992         (__mp_dbl): Likewise.
59993         (__dbl_mp): Likewise.
59994         (add_magnitudes): Likewise.
59995         (sub_magnitudes): Likewise.
59996         (__add): Likewise.
59997         (__sub): Likewise.
59998         (__mul): Likewise.
59999         (__inv): Likewise.
60000         (__dvd): Likewise.
60002 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
60004         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
60005         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
60006         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
60007         2 && __USE_EXTERN_INLINES]: Likewise.
60009 2013-01-08  Andreas Jaeger  <aj@suse.de>
60011         [BZ# 14985]
60012         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
60013         Remove.
60014         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60015         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60017 2013-01-07  Anton Blanchard  <anton@samba.org>
60019         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
60020         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60021         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
60022         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60023         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60024         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60025         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
60026         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60028         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60029         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60030         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60031         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60032         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60033         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60034         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60035         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60036         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60037         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60038         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60039         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60040         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
60041         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60042         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60043         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
60044         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60045         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60046         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60047         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
60048         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60049         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60051         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60052         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60053         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60054         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60055         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60056         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60057         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
60058         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
60059         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
60060         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60061         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60063 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
60065         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
60066         (__MALLOC_PMT): Likewise.
60067         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
60068         [__GNUC__], only on [_LIBC].
60069         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60070         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
60071         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60072         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
60073         forward declaration.
60074         (realloc_hook_ini): Likewise.
60075         (memalign_hook_ini): Likewise.
60076         (__libc_memalign): Do not use __MALLOC_PMT in variable
60077         declaration.
60078         (__libc_valloc): Likewise.
60079         (__libc_pvalloc): Likewise.
60080         (__libc_calloc): Likewise.
60081         (__posix_memalign): Likewise.
60083         [BZ #14996]
60084         * math/s_casinh.c: Include <float.h>.
60085         (__casinh): Do not do computation with squaring and square root
60086         for large arguments.
60087         * math/s_casinhf.c: Include <float.h>.
60088         (__casinhf): Do not do computation with squaring and square root
60089         for large arguments.
60090         * math/s_casinhl.c: Include <float.h>.
60091         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
60092         (__casinhl): Do not do computation with squaring and square root
60093         for large arguments.
60094         * math/libm-test.inc (casin_test): Add more tests.
60095         (casinh_test): Likewise.
60096         * sysdeps/i386/fpu/libm-test-ulps: Update.
60097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60099 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
60101         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
60102         (__x86_64_raw_data_cache_size): Likewise.
60103         (__x86_64_data_cache_size_half): Likewise.
60104         (__x86_64_raw_data_cache_size_half): Likewise.
60105         (__x86_64_shared_cache_size): Likewise.
60106         (__x86_64_raw_shared_cache_size): Likewise.
60107         (__x86_64_shared_cache_size_half): Likewise.
60108         (__x86_64_raw_shared_cache_size_half): Likewise.
60109         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
60110         to ...
60111         (__x86_data_cache_size): This.
60112         (__x86_64_raw_data_cache_size): Renamed to ...
60113         (__x86_raw_data_cache_size): This.
60114         (__x86_64_data_cache_size_half): Renamed to ...
60115         (__x86_data_cache_size_half): This.
60116         (__x86_64_raw_data_cache_size_half): Renamed to ...
60117         (__x86_raw_data_cache_size_half): This.
60118         (__x86_64_shared_cache_size): Renamed to ...
60119         (__x86_shared_cache_size): This.
60120         (__x86_64_raw_shared_cache_size): Renamed to ...
60121         (__x86_raw_shared_cache_size): This.
60122         (__x86_64_shared_cache_size_half): Renamed to ...
60123         (__x86_shared_cache_size_half): This.
60124         (__x86_64_raw_shared_cache_size_half): Renamed to ...
60125         (__x86_raw_shared_cache_size_half): This.
60126         * sysdeps/x86_64/memcpy.S: Updated.
60127         * sysdeps/x86_64/memset.S: Likewise.
60128         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60129         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60130         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60132 2013-01-04  David S. Miller  <davem@davemloft.net>
60134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60136 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
60138         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
60139         1 to avoid redefinition warning.
60140         (__USE_GNU): Don't define.
60141         (init_signaling_nan): Protoize.
60143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60145 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60147         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
60148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
60149         (__cpymn): Likewise.
60150         (norm): Remove commented code.
60151         (denorm): Likewise.
60152         (__mp_dbl): Likewise.
60153         (__inv): Likewise.
60154         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
60155         (__cpymn): Likewise.
60156         (norm): Remove commented code.
60157         (denorm): Likewise.
60158         (__mp_dbl): Likewise.
60159         (__inv): Likewise.
60161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
60162         mp_no value for 1.0 and 2.0.
60163         (norm): Use RADIXI instead of radixi.d.
60164         (denorm): Likewise.
60165         (__mul): Use 0.0 instead of zero.d.
60166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
60167         mp_no value for 1.0 and 2.0.
60168         (norm): Use RADIXI instead of radixi.d.
60169         (denorm): Likewise.
60170         (__mul): Use 0.0 instead of zero.d.
60172 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
60174         [BZ #14994]
60175         * math/s_casinh.c (__casinh): Reduce finite argument to first
60176         quadrant then set signs of results at the end.
60177         * math/s_casinhf.c (__casinhf): Likewise.
60178         * math/s_casinhl.c (__casinhl): Likewise.
60179         * math/libm-test.inc (casin_test): Add more tests.
60180         (casinh_test): Likewise.
60181         * sysdeps/i386/fpu/libm-test-ulps: Update.
60182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60184 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60186         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
60188         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
60190         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
60191         declarations.
60192         (denorm): Likewise.
60193         (__mp_dbl): Likewise.
60194         (__inv): Likewise.
60196         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
60197         and adjust the header comment.
60199         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
60200         variable name from declaration.
60202 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
60204         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60205         Initialize COMMON_CPUID_INDEX_7 element.
60206         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
60207         (CPUID_RTM): Likewise.
60208         (HAS_RTM): Likewise.
60209         (COMMON_CPUID_INDEX_7): New enum.
60211 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
60213         [BZ #14981]
60214         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
60215         size is zero, record memory as freed.
60217 2013-01-03  Andreas Jaeger  <aj@suse.de>
60219         * po/ia.po: Add new Interlingua translation.
60221 2012-01-03  Allan McRae  <allan@archlinux.org>
60223         * locale/programs/localedef.c: Fix description of '--posix' flag.
60225 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
60227         * NEWS: Update dates in second copyright notice.
60228         * README: Update copyright dates in example.
60229         * manual/libc.texinfo: Update copyright dates.
60230         * scripts/test-installation.pl: Update copyright date in --version
60231         output.
60233         * hurd/ctty-input.c: Fix copyright notice formatting.
60234         * hurd/ctty-output.c: Likewise.
60235         * hurd/dtable.c: Likewise.
60236         * hurd/hurd-raise.c: Likewise.
60237         * hurd/hurdprio.c: Likewise.
60238         * hurd/msgportdemux.c: Likewise.
60239         * misc/sys/file.h: Likewise.
60240         * misc/sys/ioctl.h: Likewise.
60241         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60242         * sysdeps/mach/hurd/chdir.c: Likewise.
60243         * sysdeps/mach/hurd/fchdir.c: Likewise.
60244         * sysdeps/mach/hurd/rename.c: Likewise.
60245         * sysdeps/mach/hurd/rmdir.c: Likewise.
60246         * sysdeps/mach/hurd/seekdir.c: Likewise.
60247         * sysdeps/mach/hurd/setsid.c: Likewise.
60248         * sysdeps/posix/wait3.c: Likewise.
60250         * All files with FSF copyright notices: Update copyright dates
60251         using scripts/update-copyrights.
60252         * intl/plural.c: Regenerated.
60253         * locale/programs/charmap-kw.h: Likewise.
60254         * locale/programs/locfile-kw.h: Likewise.
60256 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60258         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
60259         four values.
60261         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
60262         calculation loop and add branch prediction.
60264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
60265         check access beyond bounds of m1np.
60267         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60268         MPTWO.
60269         (__inv): Remove local variable MPTWO to use the global
60270         constant.
60271         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
60272         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60273         variable MPTWO.
60274         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
60275         MP3HALFS static const.
60277 2013-01-01  David S. Miller  <davem@davemloft.net>
60279         * po/ca.po: Update from translation team.
60281 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
60283         * scripts/update-copyrights: New file.
60284         * Makeconfig: Reformat copyright notice.
60285         * ctype/ctype.h: Likewise.
60286         * debug/swprintf_chk.c: Likewise.
60287         * elf/dl-cache.c: Likewise.
60288         * elf/dl-debug.c: Likewise.
60289         * elf/dl-object.c: Likewise.
60290         * grp/initgroups.c: Likewise.
60291         * hurd/Makefile: Likewise.
60292         * hurd/hurd/signal.h: Likewise.
60293         * hurd/hurdfault.c: Likewise.
60294         * hurd/hurdioctl.c: Likewise.
60295         * hurd/hurdlookup.c: Likewise.
60296         * hurd/intr-msg.c: Likewise.
60297         * iconv/gconv_open.c: Likewise.
60298         * libio/swprintf.c: Likewise.
60299         * locale/lc-ctype.c: Likewise.
60300         * locale/nl_langinfo.c: Likewise.
60301         * mach/Machrules: Likewise.
60302         * mach/Makefile: Likewise.
60303         * malloc/obstack.h: Likewise.
60304         * manual/Makefile: Likewise.
60305         * manual/tsort.awk: Likewise.
60306         * misc/bits/stab.def: Likewise.
60307         * nis/nis_print_group_entry.c: Likewise.
60308         * nis/nis_table.c: Likewise.
60309         * nis/nss_compat/compat-pwd.c: Likewise.
60310         * nis/nss_compat/compat-spwd.c: Likewise.
60311         * po/Makefile: Likewise.
60312         * posix/fnmatch.c: Likewise.
60313         * posix/regex.h: Likewise.
60314         * resolv/Makefile: Likewise.
60315         * resolv/nss_dns/dns-network.c: Likewise.
60316         * resolv/res_hconf.c: Likewise.
60317         * scripts/gen-sorted.awk: Likewise.
60318         * soft-fp/soft-fp.h: Likewise.
60319         * stdio-common/printf.h: Likewise.
60320         * stdlib/monetary.h: Likewise.
60321         * stdlib/random.c: Likewise.
60322         * stdlib/random_r.c: Likewise.
60323         * sysdeps/generic/Makefile: Likewise.
60324         * sysdeps/gnu/Makefile: Likewise.
60325         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60326         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60327         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60329         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60331         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60332         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60333         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60334         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60335         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60336         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60337         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60338         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60339         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60340         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60341         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60342         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60343         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60344         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60345         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60346         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60347         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60348         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60349         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60350         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60351         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60352         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60353         * sysdeps/mach/hurd/errnos.awk: Likewise.
60354         * sysdeps/mach/hurd/fork.c: Likewise.
60355         * sysdeps/mach/hurd/getcwd.c: Likewise.
60356         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60357         * sysdeps/mach/hurd/mmap.c: Likewise.
60358         * sysdeps/mach/hurd/utimes.c: Likewise.
60359         * sysdeps/mach/hurd/xmknod.c: Likewise.
60360         * sysdeps/posix/profil.c: Likewise.
60361         * sysdeps/posix/readdir_r.c: Likewise.
60362         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60363         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60364         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60365         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60367         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60368         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60369         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60371         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60372         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60373         * sysdeps/pthread/lio_listio.c: Likewise.
60374         * sysdeps/sparc/dl-procinfo.h: Likewise.
60375         * sysdeps/unix/i386/sysdep.S: Likewise.
60376         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60377         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60378         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60379         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60381         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60382         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60383         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60384         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60385         * sysdeps/wordsize-32/divdi3.c: Likewise.
60386         * time/sys/time.h: Likewise.
60387         * wcsmbs/Makefile: Likewise.
60389 2013-01-01  David S. Miller  <davem@davemloft.net>
60391         * po/fr.po: Update from translation team.
60393         * catgets/gencat.c: Update copyright year.
60394         * csu/version.c: Likewise.
60395         * debug/catchsegv.sh: Likewise.
60396         * debug/pcprofiledump.c: Likewise.
60397         * debug/xtrace.sh: Likewise.
60398         * elf/ldconfig.c: Likewise.
60399         * elf/ldd.bash.in: Likewise.
60400         * elf/pldd.c: Likewise.
60401         * elf/sotruss.ksh: Likewise.
60402         * elf/sprof.c: Likewise.
60403         * iconv/iconv_prog.c: Likewise.
60404         * iconv/iconvconfig.c: Likewise.
60405         * locale/programs/locale.c: Likewise.
60406         * locale/programs/localedef.c: Likewise.
60407         * login/programs/pt_chown.c: Likewise.
60408         * malloc/memusage.sh: Likewise.
60409         * malloc/memusagestat.c: Likewise.
60410         * malloc/mtrace.pl: Likewise.
60411         * nscd/nscd.c: Likewise.
60412         * nss/getent.c: Likewise.
60413         * nss/makedb.c: Likewise.
60414         * posix/getconf.c: Likewise.
60416 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60418         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60419         numbers.
60421 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60423         * math/bits/mathcalls.h (modf): Use __nonnull.
60425 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60427         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60428         (split): Use macro CN instead of the bare value.
60429         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60430         could be used.
60431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60432         instead of the bare value.
60433         (power1): Likewise.
60435 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60438         __ATAN_TWOM.
60439         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60441         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60442         their values.
60443         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60444         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60445         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60446         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60448 2012-12-28  Andreas Jaeger  <aj@suse.de>
60450         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60451         values are from Linux 3.7.
60453         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60454         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60456 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60458         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60459         TRUE case.
60461         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60462         (norm): Likewise.
60463         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60464         variables with preprocessor constants.
60465         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60466         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60467         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60469 2012-12-27  Bruno Haible  <bruno@clisp.org>
60471         [BZ #14317]
60472         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60473         only if needed.
60475 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60477         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60478         and use variable directly.
60479         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60481         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60482         MPONE.
60483         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60484         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60485         variable MPONE.
60486         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60488         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60489         include directive.  Remove local variable MPONE.
60490         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60491         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60492         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60494 2012-12-25  David S. Miller  <davem@davemloft.net>
60496         * version.h (RELEASE): Set to "development".
60497         (VERSION): Set to "2.17.90".
60498         * NEWS: Add 2.18 section.
60500 2012-12-21  David S. Miller  <davem@davemloft.net>
60502         * po/hr.po: Update from translation team.
60504 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60506         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60508 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60510         * NEWS:  Mention new memcpy for MIPS.
60512 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60514         * manual/contrib.texi (Contributors): Spelling correction.
60516 2012-12-15  David S. Miller  <davem@davemloft.net>
60518         * po/ru.po: Update from translation team.
60520 2012-12-13  David S. Miller  <davem@davemloft.net>
60522         * NEWS: Mention IFUNC testsuite enhancements.
60524         * po/pl.po: Update from translation team.
60525         * po/bg.po: Likewise.
60527         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60528         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60530 2012-12-11  David S. Miller  <davem@davemloft.net>
60532         * po/sv.po: Update from translation team.
60534         * po/vi.po: Update from translation team.
60536         * po/cs.po: Update from translation team.
60538         * po/de.po: Update from translation team.
60539         * po/eo.po: Likewise.
60540         * po/nl.po: Likewise.
60542 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60544         [BZ #14246]
60545         * manual/argp.texi (Argp Helper Functions): Move node to follow
60546         Argp Parsing State.
60548         [BZ #14872]
60549         * manual/conf.texi (Limits on File System Capacity): Mention if
60550         terminating null is included in the max size.
60552 2012-12-10  Andreas Jaeger  <aj@suse.de>
60554         * po/cs.po: Update from translation team.
60556 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60558         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60559         void pointer and cast to uintptr_t.
60560         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60561         path.
60562         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60563         * sysdeps/s390/s390-64/memset.S: Likewise.
60565 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60567         [BZ #14833]
60568         * menual/message.texi (Message Translation): Fix typos.
60569         (Helper programs for gettext): Likewise.
60571 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60573         [BZ #14898]
60574         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60575         Change to -1.
60577 2012-12-07  David S. Miller  <davem@davemloft.net>
60579         * po/libc.pot: Update.
60581 2012-12-07  Richard Henderson  <rth@redhat.com>
60583         [BZ #10114]
60584         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60585         normal/normal case to before the switch.
60586         (_FP_DIV): Likewise.
60588 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60589             Mike Frysinger  <vapier@gentoo.org>
60591         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60592         check for __NR_fadvise64_64.
60594 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60596         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60597         0, not just to plain "0" as a statement.
60598         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60599         with cw.
60601 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60603         * NEWS: Use sourceware.org in Bugzilla URL.
60605 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60608         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60610         * stdio-common/tst-put-error.c (do_test): Add newline to the
60611         padded test to ensure flush.
60613 2012-12-05  Jeff Law  <law@redhat.com>
60615         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60617 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60619         * README: Don't refer to ports add-on as distributed separately.
60620         Mention AArch64 in list of systems supported in the ports add-on.
60622         * LICENSES: Add more non-FSF copyright and license notices.
60624         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60625         ((unused)).
60627         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60629         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60630         10000 as width of padded output.
60632 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60634         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60636         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60637         variable LX with __attribute__ ((unused)).
60638         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60639         Likewise.
60640         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60641         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60642         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60643         with __attribute__ ((unused)).
60645 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60647         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60649 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60651         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60652         (CFLAGS-nldbl-acos.c): New variable.
60653         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60654         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60655         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60656         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60657         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60658         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60659         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60660         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60661         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60662         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60663         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60664         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60665         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60666         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60667         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60668         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60669         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60670         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60671         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60672         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60673         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60674         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60675         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60676         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60677         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60678         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60679         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60680         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60681         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60682         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60683         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60684         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60685         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60686         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60687         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60688         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60689         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60690         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60691         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60692         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60693         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60694         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60695         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60696         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60697         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60698         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60699         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60700         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60701         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60702         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60703         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60704         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60705         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60706         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60707         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60708         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60709         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60710         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60711         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60712         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60713         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60714         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60715         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60716         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60717         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60718         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60719         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60720         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60721         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60722         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60723         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60724         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60725         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60726         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60727         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60728         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60729         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60730         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60731         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60732         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60733         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60734         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60735         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60736         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60737         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60738         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60739         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60740         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60741         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60742         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60743         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60744         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60745         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60746         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60747         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60748         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60749         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60752         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60754         [BZ #14914]
60755         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60756         whole low double instead of just low 47 bits when splitting values
60757         into two parts.
60759 2012-12-03  Allan McRae  <allan@archlinux.org>
60761         * manual/stdio.texi (Predefined Printf Handlers): Remove
60762         @hsep and @vsep usage.
60764 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60766         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60767         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60769 2012-12-03  Jeff Law  <law@redhat.com>
60771         * time/sys/time.h (settimeofday): Do not mark TV argument
60772         as __nonnull.
60774 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60776         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60777         when currently writing and seek to current position when not.
60778         * libio/Makefile (tests): Remove bug-fclose1.
60779         * libio/bug-fclose1.c: Delete.
60781 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60783         * manual/arith.texi (feenableexcept): Fix typo.
60784         (fedisableexcept): Likewise.
60786 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60788         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60789         second, differently-typed declaration, rather than a cast.
60791 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60793         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60794         * include/rpc/svc.h: ... here.
60796 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60798         [BZ #13013]
60799         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60800         depending n and resplen2 to catch cases where answer
60801         equals answerp2.
60803 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60805         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60806         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60808 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60810         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60812 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60814         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60816 2012-11-28  Jeff Law  <law@redhat.com>
60818         [BZ #13761]
60819         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60820         dataset_temporary.  Track alloca usage into alloca_used.
60821         If dataset is large allocate and release it via malloc/free.
60823 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60825         [BZ #14197]
60826         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60828 2012-11-28  David S. Miller  <davem@davemloft.net>
60830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60832 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60834         [BZ #14803]
60835         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60836         of pi/2 rounded to nearest to 64 bits.
60837         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60838         nearest to 64 bits.
60839         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60840         bits.
60842 2012-11-28  Jeff Law <law@redhat.com>
60843             Martin Osvald <mosvald@redhat.com>
60845         [BZ #14889]
60846         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60847         * sunrpc/svc.c: Include time.h.
60848         (__svc_accept_failed): New function.
60849         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60850         any reason other than EINTR, call __svc_accept_failed.
60851         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60852         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60854 2012-11-28  Andreas Schwab  <schwab@suse.de>
60856         * scripts/abilist.awk: Also handle indirect functions in .opd
60857         section.
60859 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60861         [BZ #13881]
60862         * sysdeps/x86/fpu/powl_helper.c: New file.
60863         * sysdeps/x86/fpu/Makefile: Likewise.
60864         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60865         (p3): New object.
60866         (__ieee754_powl): Use __powl_helper for finite arguments except
60867         integer exponents below 8.
60868         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60869         (p3): New object.
60870         (__ieee754_powl): Use __powl_helper for finite arguments except
60871         integer exponents below 8.
60872         * math/libm-test.inc (pow_test): Add more tests and enable some
60873         previously disabled tests.
60874         * sysdeps/i386/fpu/libm-test-ulps: Update.
60875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60877 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60878             Carlos O'Donell  <carlos_odonell@mentor.com>
60880         * nss/makedb.c (is_prime): Assert that input is odd and greater
60881         than 4.  Note that fact in a comment too.
60882         (next_prime): Add 4 to input.
60884 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60886         [BZ #11741]
60887         * libio/Makefile (tests): Add test case tst-fwrite-error.
60888         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60889         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60890         * libio/tst-fwrite-error.c: New test case.
60892 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60894         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60895         before casting to void *.
60896         * include/libc-internal.h (__pointer_type): New macro.
60897         (__integer_if_pointer_type_sub): Likewise.
60898         (__integer_if_pointer_type): Likewise.
60899         (cast_to_integer): Likewise.
60900         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60901         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60902         before casting to atomic64_t.
60903         (atomic_exchange_acq): Likewise.
60904         (__arch_exchange_and_add_body): Likewise.
60905         (__arch_add_body): Likewise.
60906         (atomic_add_negative): Likewise.
60907         (atomic_add_zero): Likewise.
60909 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60911         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60912         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60913         (add_fdes): Likewise.
60914         (linear_search_fdes): Likewise.
60915         (binary_search_unencoded_fdes): Likewise.
60917 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60919         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60921 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60923         * configure.in: Autodetect C++ header directories.
60924         * configure: Regenerated.
60926 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60928         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60930 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60934 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60936         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60937         LDBL_MANT_DIG == 106]: Disable some tests.
60938         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60939         Likewise.
60940         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60941         Likewise.
60943         [BZ #14871]
60944         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60945         input for small inputs.  Return +/- pi/2 for large inputs.
60946         * math/libm-test.inc (atan_test): Add more tests.
60948         * sysdeps/generic/unwind-dw2-fde-glibc.c
60949         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60950         __attribute__ ((unused)).
60952         [BZ #14645]
60953         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60954         x * y if x and y are nonzero and z is zero.
60956         [BZ #14811]
60957         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60958         nonzero exponents with absolute value below 0x1p-117 to +/-
60959         0x1p-117.
60961         [BZ #14869]
60962         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60963         up arguments below 2**-450, not just those below 2**-500.
60964         * math/libm-test.inc (hypot_test): Add another test.
60966         [BZ #14868]
60967         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60968         Return a+b for ratio over 2**120, not 2**60.
60969         * math/libm-test.inc (hypot_test): Add another test.
60971         * math/libm-test.inc (clog_test): Use
60972         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60973         (clog10_test): Likewise.
60975         [BZ #6778]
60976         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60978 2012-11-22  Andreas Schwab  <schwab@suse.de>
60980         * sysdeps/i386/fpu/libm-test-ulps: Update.
60982 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60984         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60985         printf output with newline.
60987 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60989         [BZ #14865]
60990         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60991         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60992         -z nodlopen, -z initfirst and -z execstack support.
60993         * configure: Regenerated.
60995         * elf/elf.h (DF_1_NODIRECT): New macro.
60996         (DF_1_IGNMULDEF): Likewise.
60997         (DF_1_NOKSYMS): Likewise.
60998         (DF_1_NOHDR): Likewise.
60999         (DF_1_EDITED): Likewise.
61000         (DF_1_NORELOC): Likewise.
61001         (DF_1_SYMINTPOSE): Likewise.
61002         (DF_1_GLOBAUDIT): Likewise.
61003         (DF_1_SINGLETON): Likewise.
61004         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
61005         DT_1_SUPPORTED_MASK bits.
61006         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
61008 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
61010         * sysdeps/unix/make-syscalls.sh: Document prefixes.
61012 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
61014         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
61015         macro.
61017         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
61018         (sendmmsg): Move declarations...
61019         * socket/sys/socket.h: ... here.
61020         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
61021         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
61022         include it from...
61023         * socket/recvmmsg.c: ... this new file.
61024         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
61025         (sendmmsg): Rename to __sendmmsg, create weak alias and make
61026         definition of __sendmmsg hidden.
61027         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
61028         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
61029         Move ENOSYS stub into and include it from...
61030         * socket/sendmmsg.c: ... this new file.
61031         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
61032         (sysdep_routines): Move recvmmsg and sendmmsg...
61033         * socket/Makefile (routines): ... here.
61034         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
61035         (GLIBC_PRIVATE): Add __sendmmsg.
61036         * include/sys/socket.h (__sendmmsg): Add declarations.
61037         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
61038         sendmmsg.
61040 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
61042         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
61043         variable I1 with __attribute__ ((unused)).
61044         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61046 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
61048         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
61049         DUMMY variables with __attribute__ ((unused)).
61051         * bits/byteswap.h: Include <bits/types.h>.
61052         (__bswap_64): Use __uint64_t instead of unsigned long long int.
61054 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61056         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
61057         string_t.  Do not manually set errno.
61058         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
61059         length with __strnlen.  Make sure to both set errno and return it on
61060         failure.
61062 2012-11-19  David S. Miller  <davem@davemloft.net>
61064         With help from Joseph Myers.
61065         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
61066         very large arguments properly.
61067         * math/libm-test.inc (atan_test): New tests.
61068         (atan2_test): New tests.
61069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61072 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
61074         [BZ #14856]
61075         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
61076         Define to 3.
61078         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
61079         [POSIX] (EADDRNOTAVAIL): Likewise.
61080         [POSIX] (EAFNOSUPPORT): Likewise.
61081         [POSIX] (EALREADY): Likewise.
61082         [POSIX] (ECONNABORTED): Likewise.
61083         [POSIX] (ECONNREFUSED): Likewise.
61084         [POSIX] (ECONNRESET): Likewise.
61085         [POSIX] (EDESTADDRREQ): Likewise.
61086         [POSIX] (EDQUOT): Likewise.
61087         [POSIX] (EHOSTUNREACH): Likewise.
61088         [POSIX] (EIDRM): Likewise.
61089         [POSIX] (EISCONN): Likewise.
61090         [POSIX] (ELOOP): Likewise.
61091         [POSIX] (EMULTIHOP): Likewise.
61092         [POSIX] (ENETDOWN): Likewise.
61093         [POSIX] (ENETUNREACH): Likewise.
61094         [POSIX] (ENOBUFS): Likewise.
61095         [POSIX] (ENODATA): Likewise.
61096         [POSIX] (ENOLINK): Likewise.
61097         [POSIX] (ENOMSG): Likewise.
61098         [POSIX] (ENOPROTOOPT): Likewise.
61099         [POSIX] (ENOSR): Likewise.
61100         [POSIX] (ENOSTR): Likewise.
61101         [POSIX] (ENOTCONN): Likewise.
61102         [POSIX] (ENOTSOCK): Likewise.
61103         [POSIX] (EOPNOTSUPP): Likewise.
61104         [POSIX] (EOVERFLOW): Likewise.
61105         [POSIX] (EPROTO): Likewise.
61106         [POSIX] (EPROTONOSUPPORT): Likewise.
61107         [POSIX] (EPROTOTYPE): Likewise.
61108         [POSIX] (ESTALE): Likewise.
61109         [POSIX] (ETIME): Likewise.
61110         [POSIX] (ETXTBSY): Likewise.
61111         [POSIX] (EWOULDBLOCK): Likewise.
61112         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
61113         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
61114         [POSIX] (SEEK_CUR): Likewise.
61115         [POSIX] (SEEK_END): Likewise.
61116         [POSIX || UNIX98] (mode_t): Do not require.
61117         [POSIX] (off_t): Likewise.
61118         [POSIX] (pid_t): Likewise.
61119         [POSIX] (sys/stat.h): Do not allow header.
61120         [POSIX] (unistd.h): Likewise.
61121         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
61122         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
61123         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
61124         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
61125         require.
61126         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
61127         sigevent): Specify elements.
61128         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
61129         entry.
61130         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
61131         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
61133         * conform/data/cpio.h-data [POSIX]: Disable whole file.
61134         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
61135         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
61136         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
61137         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
61138         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
61139         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
61140         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
61141         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
61142         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
61143         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
61144         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
61145         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
61146         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
61147         Likewise.
61148         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
61149         Likewise.
61150         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
61151         Likewise.
61152         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
61153         Likewise.
61154         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
61155         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
61156         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
61157         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
61158         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
61159         Specify lower bound on value.
61160         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
61161         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
61162         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
61163         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
61164         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
61165         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
61166         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
61167         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
61168         value.
61169         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
61170         as optional.
61171         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
61172         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
61173         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
61174         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
61175         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
61176         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
61177         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
61178         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
61179         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
61180         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
61181         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
61182         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
61183         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
61184         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
61185         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
61186         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
61187         entry.
61188         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
61189         optional.
61190         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
61191         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
61192         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
61193         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
61194         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
61195         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
61196         Likewise.
61197         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
61198         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
61199         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
61200         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
61201         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
61202         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
61203         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
61204         as optional.
61205         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
61206         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
61207         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
61208         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
61209         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
61210         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
61211         specify as optional.
61212         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
61213         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
61214         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
61215         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
61216         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
61217         [XPG3] (NL_LANGMAX): Likewise.
61218         [POSIX || XPG3] (NL_MSGMAX): Likewise.
61219         [POSIX || XPG3] (NL_NMAX): Likewise.
61220         [POSIX || XPG3] (NL_SETMAX): Likewise.
61221         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
61222         [XPG3] (NZERO): Likewise.
61223         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
61224         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
61225         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
61226         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
61227         (REG_ERANGE): Expect.
61228         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
61229         optional-constant.
61230         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
61231         Use (void) in prototype.
61232         [POSIX] (*_t): Allow.
61233         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
61234         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
61235         (WRDE_BADVAL): Expect.
61237         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
61238         expect.
61239         [XPG3 || XPG4] (O_RSYNC): Likewise.
61240         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
61241         Likewise.
61242         [XPG3 || XPG4] (pthread_sigmask): Likewise.
61243         [XPG3 || XPG4] (sigqueue): Likewise.
61244         [XPG3 || XPG4] (sigtimedwait): Likewise.
61245         [XPG3 || XPG4] (sigwaitinfo): Likewise.
61246         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
61247         [XPG3 || XPG4] (vsnprintf): Likewise.
61248         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
61249         Likewise.
61250         [XPG3 || XPG4] (blksize_t): Likewise.
61251         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
61252         Likewise.
61253         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
61254         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
61255         [XPG3 || XPG4] (struct itimerspec): Likewise.
61256         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
61257         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
61258         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
61259         [XPG3 || XPG4] (clockid_t): Likewise.
61260         [XPG3 || XPG4] (timer_t): Likewise.
61261         [XPG3 || XPG4] (clock_getres): Likewise.
61262         [XPG3 || XPG4] (clock_gettime): Likewise.
61263         [XPG3 || XPG4] (clock_settime): Likewise.
61264         [XPG3 || XPG4] (nanosleep): Likewise.
61265         [XPG3 || XPG4] (timer_create): Likewise.
61266         [XPG3 || XPG4] (timer_delete): Likewise.
61267         [XPG3 || XPG4] (timer_gettime): Likewise.
61268         [XPG3 || XPG4] (timer_getoverrun): Likewise.
61269         [XPG3 || XPG4] (timer_settime): Likewise.
61270         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
61271         [XPG3 || XPG4] (getlogin_r): Likewise.
61272         [XPG3 || XPG4] (pread): Likewise.
61273         [XPG3 || XPG4] (pthread_atfork): Likewise.
61274         [XPG3 || XPG4] (pwrite): Likewise.
61276         [BZ #14835]
61277         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
61278         <bits/siginfo.h>.
61280 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61282         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
61283         finalizing MALLSTREAM.
61285         * sysdeps/mach/hurd/syncfs.c: New file.
61287 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61289         [BZ #14719]
61290         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61291         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61292         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61293         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61294         (_nss_dns_gethostbyname4_r): Likewise.
61295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61296         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61298 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61300         [BZ #13763]
61301         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61303 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61305         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61306         * elf/cache.c (print_entry): Print ",AArch64" for
61307         FLAG_AARCH64_LIB64
61309         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61310         * elf/cache.c (print_entry): Print ",hard-float" for
61311         FLAG_ARM_LIBHF.
61313 2012-11-18  David S. Miller  <davem@davemloft.net>
61315         With help from Joseph Myers.
61316         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61317         cutoff to 2**-13.
61318         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61319         cutoff to 2**-25.
61320         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61321         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61322         small.
61323         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61324         * math/libm-test.inc (y0_test): New tests.
61325         (y1_test): New tests.
61326         * sysdeps/i386/fpu/libm-test-ulps: Update.
61327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61330 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61332         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61333         64-bit targets.
61334         * configure: Regenerated.
61336 2012-11-17  David S. Miller  <davem@davemloft.net>
61338         [BZ #14811]
61339         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61340         nonzero exponents with absolute value below 0x1p-128 to +/-
61341         0x1p-128.
61343 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61345         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61347         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61349         * posix/getconf-speclist.c: New file.
61350         * posix/posix-envs.def: Likewise.
61351         * posix/confstr.c (START_ENV_GROUP): New macro.
61352         (END_ENV_GROUP): Likewise.
61353         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61354         (KNOWN_PRESENT_ENV_STRING): Likewise.
61355         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61356         (UNKNOWN_ENVIRONMENT): Likewise.
61357         (confstr): Include posix-envs.def instead of handling
61358         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61359         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61360         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61361         (END_ENV_GROUP): Likewise.
61362         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61363         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61364         (UNKNOWN_ENVIRONMENT): Likewise.
61365         (__sysconf): Include posix-envs.def instead of handling associated
61366         cases directly here.
61367         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61368         preprocessing getconf-speclist.c rather than running getconf or
61369         generating empty file.
61371 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61373         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61375 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61377         [BZ #14672]
61378         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61380 2012-11-16  David S. Miller  <davem@davemloft.net>
61382         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61383         smaller than LDBL_EPSILON/2.0L, just return xm1.
61385 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61387         * elf/tst-array1.c (init): Set constructor priority to 1000.
61388         (fini): Set destructor priority to 1000.
61389         * elf/tst-array2dep.c: Likewise.
61391 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61393         [BZ #11741]
61394         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61395         (_IO_new_file_xsputn): Also return EOF if none of the input
61396         data was written when overflow failed.
61397         * libio/iopadn.c (_IO_padn): Likewise.
61398         * libio/iowpadn.c (_IO_wpadn): Likewise.
61399         * stdio-common/tst-put-error.c: Add copyright notice.
61400         (do_test): Add case for printing padded string.
61401         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61402         _IO_padn returned error.
61403         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61404         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61405         return EOF.
61407 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61409         * libio/libioP.h: Add comment note that the references to C++
61410         bits are now obsolete.
61412 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61414         * math/libm-test.inc (check_complex): Use asprintf.
61416 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61418         * debug/pcprofiledump.c (print_version): Update copyright year.
61419         * malloc/memusagestat.c (print_version): Likewise.
61421 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61423         [BZ #14831]
61424         * elf/Makefile (tests): Add tst-audit8.
61425         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61426         ($(objpfx)tst-audit8.out): New target.
61427         (tst-audit8-ENV): New variable.
61428         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61429         audit if l_reloc_result is NULL.
61430         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61431         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61432         * elf/tst-audit8.c: New file.
61434 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61436         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61437         * misc/Makefile (CFLAGS-select.c): Define.
61438         * posix/Makefile (CFLAGS-pause.c): Define.
61440 2012-11-13  David S. Miller  <davem@davemloft.net>
61442         * crypt/Makefile: Move test targets after toplevel Rules
61443         inclusion.  Grab any necessary sysdep routines when linking.
61444         * crypt/md5.c (md5_process_block): Remove define, we will always
61445         name it __md5_process_block.
61446         (md5_finish_ctx): Update md5_process_block call.
61447         (md5_stream): Likewise.
61448         (md5_process_bytes): Likewise.
61449         (md5_process_block): Rename to __md5_process_block and move to ...
61450         * crypt/md5-block.c: ... here.
61451         * crypt/sha256.c (sha256_process_block): Move to ...
61452         * crypt/sha256-block.c: ... here.
61453         * crypt/sha512.c (sha512_process_block): Move to ...
61454         * crypt/sha512-block.c: ... here.
61455         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61456         path.
61457         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61458         * sysdeps/sparc/sparc64/multiarch/Makefile
61459         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61460         crypt subdir.
61461         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61462         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61463         multiarch changes.
61464         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61465         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61466         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61467         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61468         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61469         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61470         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61471         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61472         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61473         file.
61474         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61475         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61476         file.
61477         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61479 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61481         * timezone/tzselect.ksh: Update from tzcode git revision
61482         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61483         * timezone/zdump.c: Likewise.
61484         * timezone/zic.c: Likewise.
61485         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61486         in TZVERSION setting, not $(PKGVERSION).
61487         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61488         REPORT_BUGS_TO settings.
61490         [BZ #14838]
61491         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61492         macro.
61494 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61496         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61497         detection to immediately after _FP_ROUND().
61498         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61499         bits are 0.
61501 2012-11-11  David S. Miller  <davem@davemloft.net>
61503         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61504         inttypes.h
61505         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61506         __close rather than their public counterparts.
61508 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61510         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61511         file.
61512         [UNIX98] (sem_timedwait): Do not expect.
61513         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61514         [XPG4 || UNIX98] (sockatmark): Do not expect.
61515         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61516         (clock_getcpuclockid): Do not expect.
61517         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61518         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61519         Do not expect.
61520         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61521         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61522         [UNIX98] (vwscanf): Likewise.
61523         [UNIX98] (vswscanf): Likewise.
61525 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61527         * timezone/version.h: Remove file.
61528         * timezone/README: Do not refer to version.h.
61529         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61530         $(objpfx)version.h.
61531         ($(objpfx)zdump.o): Likewise.
61532         ($(objpfx)version.h): New target.
61534         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61535         2012i.
61536         * timezone/README: Don't mention modification to tzselect.ksh.
61537         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61538         work on unmodified tzselect.ksh.  Substitute version numbers in
61539         tzselect.ksh.
61541         * Makefile (format-me): Remove.
61542         (INSTALL): Adjust indentation.  Use commands directly instead of
61543         using $(format-me).
61545         * aclocal.m4 (ACX_PKGVERSION): New macro.
61546         (ACX_BUGURL): Likewise.
61547         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61548         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61549         (REPORT_BUGS_TO): Likewise.
61550         * configure: Regenerated.
61551         * config.h.in (PKGVERSION): New macro.
61552         (REPORT_BUGS_TO): Likewise.
61553         * config.make.in (PKGVERSION): New variable.
61554         (PKGVERSION_TEXI): Likewise.
61555         (REPORT_BUGS_TO): Likewise.
61556         (REPORT_BUGS_TEXI): Likewise.
61557         * Makefile (format-me): Use -I$(common-objpfx)manual.
61558         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61559         ($(common-objpfx)manual/%): New target.
61560         (manual/%): Remove target.
61561         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61562         (print_version): Use PKGVERSION.
61563         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61564         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61565         and REPORT_BUGS_TO.
61566         ($(objpfx)xtrace): Likewise.
61567         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61568         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61569         (print_version): Use PKGVERSION.
61570         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61571         (do_version): Use PKGVERSION.
61572         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61573         REPORT_BUGS_TO.
61574         (common-ldd-rewrite): Likewise.
61575         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61576         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61577         (print_version): Use PKGVERSION.
61578         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61579         * elf/pldd.c (argp_program_bug_address): Remove variable.
61580         (more_help): New function.
61581         (argp): Use more_help.
61582         (print_version): Use PKGVERSION.
61583         * elf/sln.c (main): Use PKGVERSION.
61584         (usage): Use REPORT_BUGS_TO.
61585         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61586         (top level): Use PKGVERSION.
61587         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61588         (print_version): Use PKGVERSION.
61589         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61590         (print_version): Use PKGVERSION.
61591         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61592         (print_version): Use PKGVERSION.
61593         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61594         (print_version): Use PKGVERSION.
61595         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61596         (print_version): Use PKGVERSION.
61597         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61598         (print_version): Use PKGVERSION.
61599         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61600         and BUGURL.
61601         ($(objpfx)memusage): Likewise.
61602         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61603         (do_version): Use PKGVERSION.
61604         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61605         (print_version): Use PKGVERSION.
61606         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61607         ($PKGVERSION): New variable.
61608         ($REPORT_BUGS_TO): Likewise.
61609         (usage): Use $REPORT_BUGS_TO.
61610         (top level): Use $PKGVERSION.
61611         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61612         ($(objpfx)pkgvers.texi): New rule.
61613         ($(objpfx)stamp-pkgvers): Likewise.
61614         * manual/install.texi: Include pkgvers.texi.
61615         (--with-pkgversion): Document new configure option.
61616         (--with-bugurl): Likewise.
61617         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61618         than necessarily for this particular distribution.  Use
61619         REPORT_BUGS_TO for where to report bugs.
61620         * INSTALL: Regenerated.
61621         * manual/libc.texinfo: Include pkgvers.texi.
61622         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61623         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61624         (print_version): Use PKGVERSION.
61625         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61626         (print_version): Use PKGVERSION.
61627         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61628         (print_version): Use PKGVERSION.
61629         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61630         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61631         macro.
61632         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61633         (print_version): Use PKGVERSION.
61634         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61635         (print_version): Use PKGVERSION.
61636         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61637         and PKGVERSION.
61639         * timezone/checktab.awk: Update from tzcode 2012i.
61640         * timezone/ialloc.c: Likewise.
61641         * timezone/private.h: Likewise.
61642         * timezone/scheck.c: Likewise.
61643         * timezone/tzfile.h: Likewise.
61644         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61645         (TZVERSION): Hardcode tzcode version number.
61646         * timezone/zdump.c: Update from tzcode 2012i.
61647         * timezone/zic.c: Likewise.
61648         * timezone/version.h: New file.
61649         * timezone/README: Describe version.h.  Update upstream location.
61651         [BZ #14824]
61652         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61653         (mktemp): Enable declaration.
61654         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61655         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61656         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61657         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61658         Likewise.
61659         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61660         Likewise.
61661         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61662         Likewise.
61663         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61664         Likewise.
61665         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61666         Likewise.
61667         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61668         Likewise.
61670         [BZ #14821]
61671         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61672         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61673         for copies of such integer values.
61674         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61675         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61677 2012-11-09  Andreas Jaeger  <aj@suse.de>
61679         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61680         definitions and declarations that are provided by
61681         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61683 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61685         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61686         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61687         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61688         definition.
61690 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61692         * elf/elf.h: Update comment before AArch64 relocations.
61694 2012-11-07  David S. Miller  <davem@davemloft.net>
61696         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61697         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61698         (__start_context): Declare.
61699         (__makecontext_ret): Delete.
61700         (__makecontext): Hook up __start_context instead of
61701         __makecontext_ret.
61702         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61703         (sysdep_routines): Add __start_context when in stdlib.
61705 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61707         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61708         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61709         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61710         hardcoded "nm".
61711         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61712         (READELF): New variable.  Use it instead of hardcoded "readelf".
61714 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61716         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61717         * sysdeps/x86/Makefile: Here.
61718         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61719         * sysdeps/x86/tst-xmmymm.sh: This.
61721 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61723         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61724         expectations.
61725         [UNIX98] (pthread_barrier_t): Do not expect.
61726         [UNIX98] (pthread_barrierattr_t): Likewise.
61727         [UNIX98] (pthread_spinlock_t): Likewise.
61728         [UNIX98] (pthread_barrier_destroy): Likewise.
61729         [UNIX98] (pthread_barrier_init): Likewise.
61730         [UNIX98] (pthread_barrier_wait): Likewise.
61731         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61732         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61733         [UNIX98] (pthread_barrierattr_init): Likewise.
61734         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61735         [UNIX98] (pthread_getcpuclockid): Likewise.
61736         [UNIX98] (pthread_mutex_timedlock): Likewise.
61737         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61738         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61739         [UNIX98] (pthread_sigmask): Likewise.
61740         [UNIX98] (pthread_spin_destroy): Likewise.
61741         [UNIX98] (pthread_spin_init): Likewise.
61742         [UNIX98] (pthread_spin_lock): Likewise.
61743         [UNIX98] (pthread_spin_trylock): Likewise.
61744         [UNIX98] (pthread_spin_unlock): Likewise.
61745         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61746         Do not expect.
61747         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61748         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61749         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61750         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61751         [XPG3 || XPG4] (pthread_key_t): Likewise.
61752         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61753         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61754         [XPG3 || XPG4] (pthread_once_t): Likewise.
61755         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61756         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61757         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61758         [XPG3 || XPG4] (pthread_t): Likewise.
61760         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61761         not expect.
61762         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61764         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61765         Change function return type to int.
61767         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61768         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61769         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61770         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61771         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61772         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61773         [!POSIX] (posix_madvise): Likewise.
61774         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61775         && !UNIX98].
61776         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61777         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61778         (mode_t): Likewise.
61779         (posix_mem_offset): Likewise.
61780         (posix_typed_mem_get_info): Likewise.
61781         (posix_typed_mem_open): Likewise.
61783         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61784         Change condition to [XOPEN2K8].
61786         * conform/conformtest.pl: Preprocess allow-header data with -x c
61787         instead of from stdin.
61788         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61789         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61790         [C99-based standards] (cerfc): Likewise.
61791         [C99-based standards] (cexp2): Likewise.
61792         [C99-based standards] (cexpm1): Likewise.
61793         [C99-based standards] (clog10): Likewise.
61794         [C99-based standards] (clog1p): Likewise.
61795         [C99-based standards] (clog2): Likewise.
61796         [C99-based standards] (clgamma): Likewise.
61797         [C99-based standards] (ctgamma): Likewise.
61798         [C99-based standards] (cerff): Likewise.
61799         [C99-based standards] (cerfcf): Likewise.
61800         [C99-based standards] (cexp2f): Likewise.
61801         [C99-based standards] (cexpm1f): Likewise.
61802         [C99-based standards] (clog10f): Likewise.
61803         [C99-based standards] (clog1pf): Likewise.
61804         [C99-based standards] (clog2f): Likewise.
61805         [C99-based standards] (clgammaf): Likewise.
61806         [C99-based standards] (ctgammaf): Likewise.
61807         [C99-based standards] (cerfl): Likewise.
61808         [C99-based standards] (cerfcl): Likewise.
61809         [C99-based standards] (cexp2l): Likewise.
61810         [C99-based standards] (cexpm1l): Likewise.
61811         [C99-based standards] (clog10l): Likewise.
61812         [C99-based standards] (clog1pl): Likewise.
61813         [C99-based standards] (clog2l): Likewise.
61814         [C99-based standards] (clgammal): Likewise.
61815         [C99-based standards] (ctgammal): Likewise.
61816         * conform/data/inttypes.h-data [C99-based standards]: Include
61817         stdint.h-data.  Remove all expectations for stdint.h contents.
61818         [C99-based standards] (PRI*): Do not allow.
61819         [C99-based standards] (SCN*): Likewise.
61820         [C99-based standards] (*_t): Likewise.
61821         [C99-based-standards] (PRId8): Expect macro.
61822         [C99-based-standards] (PRIi8): Likewise.
61823         [C99-based-standards] (PRIo8): Likewise.
61824         [C99-based-standards] (PRIu8): Likewise.
61825         [C99-based-standards] (PRIx8): Likewise.
61826         [C99-based-standards] (PRIX8): Likewise.
61827         [C99-based-standards] (SCNd8): Likewise.
61828         [C99-based-standards] (SCNi8): Likewise.
61829         [C99-based-standards] (SCNo8): Likewise.
61830         [C99-based-standards] (SCNu8): Likewise.
61831         [C99-based-standards] (SCNx8): Likewise.
61832         [C99-based-standards] (PRIdLEAST8): Likewise.
61833         [C99-based-standards] (PRIiLEAST8): Likewise.
61834         [C99-based-standards] (PRIoLEAST8): Likewise.
61835         [C99-based-standards] (PRIuLEAST8): Likewise.
61836         [C99-based-standards] (PRIxLEAST8): Likewise.
61837         [C99-based-standards] (PRIXLEAST8): Likewise.
61838         [C99-based-standards] (SCNdLEAST8): Likewise.
61839         [C99-based-standards] (SCNiLEAST8): Likewise.
61840         [C99-based-standards] (SCNoLEAST8): Likewise.
61841         [C99-based-standards] (SCNuLEAST8): Likewise.
61842         [C99-based-standards] (SCNxLEAST8): Likewise.
61843         [C99-based-standards] (PRIdFAST8): Likewise.
61844         [C99-based-standards] (PRIiFAST8): Likewise.
61845         [C99-based-standards] (PRIoFAST8): Likewise.
61846         [C99-based-standards] (PRIuFAST8): Likewise.
61847         [C99-based-standards] (PRIxFAST8): Likewise.
61848         [C99-based-standards] (PRIXFAST8): Likewise.
61849         [C99-based-standards] (SCNdFAST8): Likewise.
61850         [C99-based-standards] (SCNiFAST8): Likewise.
61851         [C99-based-standards] (SCNoFAST8): Likewise.
61852         [C99-based-standards] (SCNuFAST8): Likewise.
61853         [C99-based-standards] (SCNxFAST8): Likewise.
61854         [C99-based-standards] (PRId16): Likewise.
61855         [C99-based-standards] (PRIi16): Likewise.
61856         [C99-based-standards] (PRIo16): Likewise.
61857         [C99-based-standards] (PRIu16): Likewise.
61858         [C99-based-standards] (PRIx16): Likewise.
61859         [C99-based-standards] (PRIX16): Likewise.
61860         [C99-based-standards] (SCNd16): Likewise.
61861         [C99-based-standards] (SCNi16): Likewise.
61862         [C99-based-standards] (SCNo16): Likewise.
61863         [C99-based-standards] (SCNu16): Likewise.
61864         [C99-based-standards] (SCNx16): Likewise.
61865         [C99-based-standards] (PRIdLEAST16): Likewise.
61866         [C99-based-standards] (PRIiLEAST16): Likewise.
61867         [C99-based-standards] (PRIoLEAST16): Likewise.
61868         [C99-based-standards] (PRIuLEAST16): Likewise.
61869         [C99-based-standards] (PRIxLEAST16): Likewise.
61870         [C99-based-standards] (PRIXLEAST16): Likewise.
61871         [C99-based-standards] (SCNdLEAST16): Likewise.
61872         [C99-based-standards] (SCNiLEAST16): Likewise.
61873         [C99-based-standards] (SCNoLEAST16): Likewise.
61874         [C99-based-standards] (SCNuLEAST16): Likewise.
61875         [C99-based-standards] (SCNxLEAST16): Likewise.
61876         [C99-based-standards] (PRIdFAST16): Likewise.
61877         [C99-based-standards] (PRIiFAST16): Likewise.
61878         [C99-based-standards] (PRIoFAST16): Likewise.
61879         [C99-based-standards] (PRIuFAST16): Likewise.
61880         [C99-based-standards] (PRIxFAST16): Likewise.
61881         [C99-based-standards] (PRIXFAST16): Likewise.
61882         [C99-based-standards] (SCNdFAST16): Likewise.
61883         [C99-based-standards] (SCNiFAST16): Likewise.
61884         [C99-based-standards] (SCNoFAST16): Likewise.
61885         [C99-based-standards] (SCNuFAST16): Likewise.
61886         [C99-based-standards] (SCNxFAST16): Likewise.
61887         [C99-based-standards] (PRId32): Likewise.
61888         [C99-based-standards] (PRIi32): Likewise.
61889         [C99-based-standards] (PRIo32): Likewise.
61890         [C99-based-standards] (PRIu32): Likewise.
61891         [C99-based-standards] (PRIx32): Likewise.
61892         [C99-based-standards] (PRIX32): Likewise.
61893         [C99-based-standards] (SCNd32): Likewise.
61894         [C99-based-standards] (SCNi32): Likewise.
61895         [C99-based-standards] (SCNo32): Likewise.
61896         [C99-based-standards] (SCNu32): Likewise.
61897         [C99-based-standards] (SCNx32): Likewise.
61898         [C99-based-standards] (PRIdLEAST32): Likewise.
61899         [C99-based-standards] (PRIiLEAST32): Likewise.
61900         [C99-based-standards] (PRIoLEAST32): Likewise.
61901         [C99-based-standards] (PRIuLEAST32): Likewise.
61902         [C99-based-standards] (PRIxLEAST32): Likewise.
61903         [C99-based-standards] (PRIXLEAST32): Likewise.
61904         [C99-based-standards] (SCNdLEAST32): Likewise.
61905         [C99-based-standards] (SCNiLEAST32): Likewise.
61906         [C99-based-standards] (SCNoLEAST32): Likewise.
61907         [C99-based-standards] (SCNuLEAST32): Likewise.
61908         [C99-based-standards] (SCNxLEAST32): Likewise.
61909         [C99-based-standards] (PRIdFAST32): Likewise.
61910         [C99-based-standards] (PRIiFAST32): Likewise.
61911         [C99-based-standards] (PRIoFAST32): Likewise.
61912         [C99-based-standards] (PRIuFAST32): Likewise.
61913         [C99-based-standards] (PRIxFAST32): Likewise.
61914         [C99-based-standards] (PRIXFAST32): Likewise.
61915         [C99-based-standards] (SCNdFAST32): Likewise.
61916         [C99-based-standards] (SCNiFAST32): Likewise.
61917         [C99-based-standards] (SCNoFAST32): Likewise.
61918         [C99-based-standards] (SCNuFAST32): Likewise.
61919         [C99-based-standards] (SCNxFAST32): Likewise.
61920         [C99-based-standards] (PRId64): Likewise.
61921         [C99-based-standards] (PRIi64): Likewise.
61922         [C99-based-standards] (PRIo64): Likewise.
61923         [C99-based-standards] (PRIu64): Likewise.
61924         [C99-based-standards] (PRIx64): Likewise.
61925         [C99-based-standards] (PRIX64): Likewise.
61926         [C99-based-standards] (SCNd64): Likewise.
61927         [C99-based-standards] (SCNi64): Likewise.
61928         [C99-based-standards] (SCNo64): Likewise.
61929         [C99-based-standards] (SCNu64): Likewise.
61930         [C99-based-standards] (SCNx64): Likewise.
61931         [C99-based-standards] (PRIdLEAST64): Likewise.
61932         [C99-based-standards] (PRIiLEAST64): Likewise.
61933         [C99-based-standards] (PRIoLEAST64): Likewise.
61934         [C99-based-standards] (PRIuLEAST64): Likewise.
61935         [C99-based-standards] (PRIxLEAST64): Likewise.
61936         [C99-based-standards] (PRIXLEAST64): Likewise.
61937         [C99-based-standards] (SCNdLEAST64): Likewise.
61938         [C99-based-standards] (SCNiLEAST64): Likewise.
61939         [C99-based-standards] (SCNoLEAST64): Likewise.
61940         [C99-based-standards] (SCNuLEAST64): Likewise.
61941         [C99-based-standards] (SCNxLEAST64): Likewise.
61942         [C99-based-standards] (PRIdFAST64): Likewise.
61943         [C99-based-standards] (PRIiFAST64): Likewise.
61944         [C99-based-standards] (PRIoFAST64): Likewise.
61945         [C99-based-standards] (PRIuFAST64): Likewise.
61946         [C99-based-standards] (PRIxFAST64): Likewise.
61947         [C99-based-standards] (PRIXFAST64): Likewise.
61948         [C99-based-standards] (SCNdFAST64): Likewise.
61949         [C99-based-standards] (SCNiFAST64): Likewise.
61950         [C99-based-standards] (SCNoFAST64): Likewise.
61951         [C99-based-standards] (SCNuFAST64): Likewise.
61952         [C99-based-standards] (SCNxFAST64): Likewise.
61953         [C99-based-standards] (PRIdMAX): Likewise.
61954         [C99-based-standards] (PRIiMAX): Likewise.
61955         [C99-based-standards] (PRIoMAX): Likewise.
61956         [C99-based-standards] (PRIuMAX): Likewise.
61957         [C99-based-standards] (PRIxMAX): Likewise.
61958         [C99-based-standards] (PRIXMAX): Likewise.
61959         [C99-based-standards] (SCNdMAX): Likewise.
61960         [C99-based-standards] (SCNiMAX): Likewise.
61961         [C99-based-standards] (SCNoMAX): Likewise.
61962         [C99-based-standards] (SCNuMAX): Likewise.
61963         [C99-based-standards] (SCNxMAX): Likewise.
61964         [C99-based-standards] (PRIdPTR): Likewise.
61965         [C99-based-standards] (PRIiPTR): Likewise.
61966         [C99-based-standards] (PRIoPTR): Likewise.
61967         [C99-based-standards] (PRIuPTR): Likewise.
61968         [C99-based-standards] (PRIxPTR): Likewise.
61969         [C99-based-standards] (PRIXPTR): Likewise.
61970         [C99-based-standards] (SCNdPTR): Likewise.
61971         [C99-based-standards] (SCNiPTR): Likewise.
61972         [C99-based-standards] (SCNoPTR): Likewise.
61973         [C99-based-standards] (SCNuPTR): Likewise.
61974         [C99-based-standards] (SCNxPTR): Likewise.
61975         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61976         allow.
61977         * conform/data/stdint.h-data: Update comments to clarify
61978         requirements.
61979         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61980         type.
61981         [C99-based standards] (INT8_MAX): Likewise.
61982         [C99-based standards] (INT16_MIN): Likewise.
61983         [C99-based standards] (INT16_MAX): Likewise.
61984         [C99-based standards] (INT32_MIN): Likewise.
61985         [C99-based standards] (INT32_MAX): Likewise.
61986         [C99-based standards] (INT64_MIN): Likewise.
61987         [C99-based standards] (INT64_MAX): Likewise.
61988         [C99-based standards] (UINT8_MAX): Likewise.
61989         [C99-based standards] (UINT16_MAX): Likewise.
61990         [C99-based standards] (UINT32_MAX): Likewise.
61991         [C99-based standards] (UINT64_MAX): Likewise.
61992         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61993         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61994         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61995         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61996         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61997         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61998         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61999         [C99-based standards] (INT_LEAST64_MAX): Likewise.
62000         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
62001         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
62002         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
62003         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
62004         [C99-based standards] (INT_FAST8_MIN): Likewise.
62005         [C99-based standards] (INT_FAST8_MAX): Likewise.
62006         [C99-based standards] (INT_FAST16_MIN): Likewise.
62007         [C99-based standards] (INT_FAST16_MAX): Likewise.
62008         [C99-based standards] (INT_FAST32_MIN): Likewise.
62009         [C99-based standards] (INT_FAST32_MAX): Likewise.
62010         [C99-based standards] (INT_FAST64_MIN): Likewise.
62011         [C99-based standards] (INT_FAST64_MAX): Likewise.
62012         [C99-based standards] (UINT_FAST8_MAX): Likewise.
62013         [C99-based standards] (UINT_FAST16_MAX): Likewise.
62014         [C99-based standards] (UINT_FAST32_MAX): Likewise.
62015         [C99-based standards] (UINT_FAST64_MAX): Likewise.
62016         [C99-based standards] (INTPTR_MIN): Likewise.
62017         [C99-based standards] (INTPTR_MAX): Likewise.
62018         [C99-based standards] (UINTPTR_MAX): Likewise.
62019         [C99-based standards] (INTMAX_MIN): Likewise.
62020         [C99-based standards] (INTMAX_MAX): Likewise.
62021         [C99-based standards] (UINTMAX_MAX): Likewise.
62022         [C99-based standards] (PTRDIFF_MIN): Likewise.
62023         [C99-based standards] (PTRDIFF_MAX): Likewise.
62024         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
62025         [C99-based standards] (SIZE_MAX): Likewise.
62026         [C99-based standards] (WCHAR_MAX): Likewise.
62027         [C99-based standards] (WINT_MAX): Likewise.
62028         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
62029         constraint on value.
62030         [C99-based standards] (WCHAR_MIN): Likewise.
62031         [C99-based standards] (WINT_MIN): Likewise.
62032         [C99-based standards] (*_t): Allow.
62033         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
62034         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
62035         Include math.h-data and complex.h-data.  Remove all expectations
62036         of math.h and complex.h contents.
62037         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
62038         at end of line.
62039         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
62040         (struct tm): Expect tag.
62041         [C99-based-standards] (wcstof): Expect function.
62042         [C99-based-standards] (wcstold): Likewise.
62043         [C99-based-standards] (wcstoll): Likewise.
62044         [C99-based-standards] (wcstoull): Likewise.
62045         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
62046         macro-int-constant.  Specify type.
62047         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
62048         constraint on value.
62049         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62050         Specify type.
62051         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
62052         Specify value.
62053         [ISO C standards]: Do not allow headers.
62054         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
62055         wcs[abcdefghijklmnopqrstuvwxyz]*.
62056         [ISO C standards] (*_t): Do not allow.
62057         * conform/data/wctype.h-data [C99-based standards] (iswblank):
62058         Expect function.
62059         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
62060         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62061         Specify type.
62062         [ISO C standards]: Do not allow headers.
62063         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
62064         is[abcdefghijklmnopqrstuvwxyz]*.
62065         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
62066         to[abcdefghijklmnopqrstuvwxyz]*.
62067         [ISO C standards] (*_t): Do not allow.
62068         * conform/data/stdalign.h-data: New file.
62069         * conform/data/stdbool.h-data: Likewise.
62070         * conform/data/stdnoreturn.h-data: Likewise.
62072 2012-11-07  Roland McGrath  <roland@hack.frob.com>
62074         [BZ #14815]
62075         * manual/filesys.texi (Directory Entries): Typo fix.
62076         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
62078 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62080         * elf/elf.h (EM_AARCH64): New macro.
62081         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
62082         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
62083         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
62084         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
62085         (R_AARCH64_TLSDESC): Likewise.
62086         (NT_ARM_TLS): Likewise.
62087         (NT_ARM_HW_BREAK): Likewise.
62088         (NT_ARM_HW_WATCH): Likewise.
62090 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62092         [BZ #14811]
62093         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
62094         (__ieee754_powl): Saturate nonzero exponents with absolute value
62095         below 0x1p-79 to +/- 0x1p-79.
62096         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
62097         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
62098         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
62099         nonzero exponents with absolute value below 0x1p-32 to +/-
62100         0x1p-32.
62101         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
62102         (__ieee754_powl): Saturate nonzero exponents with absolute value
62103         below 0x1p-79 to +/- 0x1p-79.
62104         * math/libm-test.inc (pow_test): Add more tests.
62106 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62108         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
62109         _dl_s390_cap_flags with kernel. Increase string length.
62110         (_dl_s390_platforms): Add z196 and zEC12.
62112 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62114         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
62115         Change XOPEN21K to XOPEN2K.
62117 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
62119         * string/memmove.c: Use memcpy when possible.
62121 2012-11-06  Andreas Jaeger  <aj@suse.de>
62123         * po/eo.po: Update from translation team.
62125 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
62127         [BZ #14793]
62128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
62129         exponent and small x and y exponents, scale x or y up.  Increase
62130         by 2 the exponent used in scaling up.
62131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62133         * math/libm-test.inc (fma_test): Add more tests.
62134         (fma_test_towardzero): Likewise.
62135         (fma_test_downward): Likewise.
62136         (fma_test_upward): Likewise.
62138 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
62140         [BZ #14805]
62141         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
62142         fenv_t *.
62144         [BZ #14801]
62145         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
62146         namespace for names of struct fields.
62147         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
62148         fenv_t fields.
62149         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
62150         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
62152 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62154         [BZ #3665]
62155         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
62157 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
62159         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
62160         PTR_DEMANGLE.
62162         [BZ #5246]
62163         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
62164         PTR_DEMANGLE.
62166 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
62168         [BZ #14797]
62169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
62170         definitely overflow as x * y not x * y + z.
62171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62172         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62173         * math/libm-test.inc (fma_test): Add more tests.
62174         (fma_test_towardzero): Likewise.
62175         (fma_test_downward): Likewise.
62176         (fma_test_upward): Likewise.
62178 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
62180         [BZ #157]
62182         * include/stub-tag.h: Remove file.
62183         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
62184         '#include' of it.
62185         * manual/maint.texi (Porting): Don't reference it.
62186         * Makerules ($(objpfx)stubs): Likewise.
62187         * dirent/closedir.c: Don't include <stub-tag.h>.
62188         * dirent/dirfd.c: Likewise.
62189         * dirent/fdopendir.c: Likewise.
62190         * dirent/getdents.c: Likewise.
62191         * dirent/getdents64.c: Likewise.
62192         * dirent/opendir.c: Likewise.
62193         * dirent/readdir.c: Likewise.
62194         * dirent/readdir64.c: Likewise.
62195         * dirent/readdir64_r.c: Likewise.
62196         * dirent/readdir_r.c: Likewise.
62197         * dirent/rewinddir.c: Likewise.
62198         * dirent/seekdir.c: Likewise.
62199         * dirent/telldir.c: Likewise.
62200         * gmon/profil.c: Likewise.
62201         * grp/setgroups.c: Likewise.
62202         * inet/if_index.c: Likewise.
62203         * io/access.c: Likewise.
62204         * io/chdir.c: Likewise.
62205         * io/chmod.c: Likewise.
62206         * io/chown.c: Likewise.
62207         * io/close.c: Likewise.
62208         * io/dup.c: Likewise.
62209         * io/dup2.c: Likewise.
62210         * io/dup3.c: Likewise.
62211         * io/euidaccess.c: Likewise.
62212         * io/faccessat.c: Likewise.
62213         * io/fchdir.c: Likewise.
62214         * io/fchmod.c: Likewise.
62215         * io/fchmodat.c: Likewise.
62216         * io/fchown.c: Likewise.
62217         * io/fchownat.c: Likewise.
62218         * io/fcntl.c: Likewise.
62219         * io/flock.c: Likewise.
62220         * io/fstatfs.c: Likewise.
62221         * io/fstatfs64.c: Likewise.
62222         * io/fstatvfs.c: Likewise.
62223         * io/fstatvfs64.c: Likewise.
62224         * io/futimens.c: Likewise.
62225         * io/fxstat.c: Likewise.
62226         * io/fxstat64.c: Likewise.
62227         * io/fxstatat.c: Likewise.
62228         * io/fxstatat64.c: Likewise.
62229         * io/getcwd.c: Likewise.
62230         * io/isatty.c: Likewise.
62231         * io/lchmod.c: Likewise.
62232         * io/lchown.c: Likewise.
62233         * io/link.c: Likewise.
62234         * io/linkat.c: Likewise.
62235         * io/lseek.c: Likewise.
62236         * io/lseek64.c: Likewise.
62237         * io/lxstat64.c: Likewise.
62238         * io/mkdir.c: Likewise.
62239         * io/mkdirat.c: Likewise.
62240         * io/mkfifo.c: Likewise.
62241         * io/mkfifoat.c: Likewise.
62242         * io/open.c: Likewise.
62243         * io/open64.c: Likewise.
62244         * io/openat.c: Likewise.
62245         * io/openat64.c: Likewise.
62246         * io/pipe.c: Likewise.
62247         * io/pipe2.c: Likewise.
62248         * io/poll.c: Likewise.
62249         * io/posix_fadvise.c: Likewise.
62250         * io/posix_fadvise64.c: Likewise.
62251         * io/posix_fallocate.c: Likewise.
62252         * io/posix_fallocate64.c: Likewise.
62253         * io/read.c: Likewise.
62254         * io/readlink.c: Likewise.
62255         * io/readlinkat.c: Likewise.
62256         * io/rmdir.c: Likewise.
62257         * io/sendfile.c: Likewise.
62258         * io/sendfile64.c: Likewise.
62259         * io/statfs.c: Likewise.
62260         * io/statfs64.c: Likewise.
62261         * io/statvfs.c: Likewise.
62262         * io/statvfs64.c: Likewise.
62263         * io/symlink.c: Likewise.
62264         * io/symlinkat.c: Likewise.
62265         * io/ttyname.c: Likewise.
62266         * io/ttyname_r.c: Likewise.
62267         * io/umask.c: Likewise.
62268         * io/unlink.c: Likewise.
62269         * io/unlinkat.c: Likewise.
62270         * io/utime.c: Likewise.
62271         * io/utimensat.c: Likewise.
62272         * io/write.c: Likewise.
62273         * io/xmknod.c: Likewise.
62274         * io/xmknodat.c: Likewise.
62275         * io/xstat.c: Likewise.
62276         * io/xstat64.c: Likewise.
62277         * login/getpt.c: Likewise.
62278         * login/grantpt.c: Likewise.
62279         * login/unlockpt.c: Likewise.
62280         * math/e_acoshl.c: Likewise.
62281         * math/e_acosl.c: Likewise.
62282         * math/e_asinl.c: Likewise.
62283         * math/e_atan2l.c: Likewise.
62284         * math/e_atanhl.c: Likewise.
62285         * math/e_coshl.c: Likewise.
62286         * math/e_expl.c: Likewise.
62287         * math/e_fmodl.c: Likewise.
62288         * math/e_gammal_r.c: Likewise.
62289         * math/e_hypotl.c: Likewise.
62290         * math/e_j0l.c: Likewise.
62291         * math/e_j1l.c: Likewise.
62292         * math/e_jnl.c: Likewise.
62293         * math/e_lgammal_r.c: Likewise.
62294         * math/e_log10l.c: Likewise.
62295         * math/e_log2l.c: Likewise.
62296         * math/e_logl.c: Likewise.
62297         * math/e_powl.c: Likewise.
62298         * math/e_rem_pio2l.c: Likewise.
62299         * math/e_sinhl.c: Likewise.
62300         * math/e_sqrtl.c: Likewise.
62301         * math/fclrexcpt.c: Likewise.
62302         * math/fedisblxcpt.c: Likewise.
62303         * math/feenablxcpt.c: Likewise.
62304         * math/fegetenv.c: Likewise.
62305         * math/fegetexcept.c: Likewise.
62306         * math/fegetround.c: Likewise.
62307         * math/feholdexcpt.c: Likewise.
62308         * math/fesetenv.c: Likewise.
62309         * math/fesetround.c: Likewise.
62310         * math/feupdateenv.c: Likewise.
62311         * math/fgetexcptflg.c: Likewise.
62312         * math/fraiseexcpt.c: Likewise.
62313         * math/fsetexcptflg.c: Likewise.
62314         * math/ftestexcept.c: Likewise.
62315         * math/k_cosl.c: Likewise.
62316         * math/k_rem_pio2l.c: Likewise.
62317         * math/k_sinl.c: Likewise.
62318         * math/k_tanl.c: Likewise.
62319         * math/s_asinhl.c: Likewise.
62320         * math/s_atanl.c: Likewise.
62321         * math/s_cbrtl.c: Likewise.
62322         * math/s_erfl.c: Likewise.
62323         * math/s_expm1l.c: Likewise.
62324         * math/s_log1pl.c: Likewise.
62325         * math/s_tanhl.c: Likewise.
62326         * misc/acct.c: Likewise.
62327         * misc/brk.c: Likewise.
62328         * misc/chflags.c: Likewise.
62329         * misc/chroot.c: Likewise.
62330         * misc/fchflags.c: Likewise.
62331         * misc/fgetxattr.c: Likewise.
62332         * misc/flistxattr.c: Likewise.
62333         * misc/fremovexattr.c: Likewise.
62334         * misc/fsetxattr.c: Likewise.
62335         * misc/fsync.c: Likewise.
62336         * misc/ftruncate.c: Likewise.
62337         * misc/futimes.c: Likewise.
62338         * misc/futimesat.c: Likewise.
62339         * misc/getdomain.c: Likewise.
62340         * misc/getdtsz.c: Likewise.
62341         * misc/gethostid.c: Likewise.
62342         * misc/gethostname.c: Likewise.
62343         * misc/getloadavg.c: Likewise.
62344         * misc/getpagesize.c: Likewise.
62345         * misc/getsysstats.c: Likewise.
62346         * misc/getxattr.c: Likewise.
62347         * misc/gtty.c: Likewise.
62348         * misc/ioctl.c: Likewise.
62349         * misc/lgetxattr.c: Likewise.
62350         * misc/listxattr.c: Likewise.
62351         * misc/llistxattr.c: Likewise.
62352         * misc/lremovexattr.c: Likewise.
62353         * misc/lsetxattr.c: Likewise.
62354         * misc/lutimes.c: Likewise.
62355         * misc/madvise.c: Likewise.
62356         * misc/mincore.c: Likewise.
62357         * misc/mlock.c: Likewise.
62358         * misc/mlockall.c: Likewise.
62359         * misc/mmap.c: Likewise.
62360         * misc/mprotect.c: Likewise.
62361         * misc/msync.c: Likewise.
62362         * misc/munlock.c: Likewise.
62363         * misc/munlockall.c: Likewise.
62364         * misc/munmap.c: Likewise.
62365         * misc/preadv.c: Likewise.
62366         * misc/preadv64.c: Likewise.
62367         * misc/ptrace.c: Likewise.
62368         * misc/pwritev.c: Likewise.
62369         * misc/pwritev64.c: Likewise.
62370         * misc/readv.c: Likewise.
62371         * misc/reboot.c: Likewise.
62372         * misc/remap_file_pages.c: Likewise.
62373         * misc/removexattr.c: Likewise.
62374         * misc/revoke.c: Likewise.
62375         * misc/select.c: Likewise.
62376         * misc/setdomain.c: Likewise.
62377         * misc/setegid.c: Likewise.
62378         * misc/seteuid.c: Likewise.
62379         * misc/sethostid.c: Likewise.
62380         * misc/sethostname.c: Likewise.
62381         * misc/setregid.c: Likewise.
62382         * misc/setreuid.c: Likewise.
62383         * misc/setxattr.c: Likewise.
62384         * misc/sstk.c: Likewise.
62385         * misc/stty.c: Likewise.
62386         * misc/swapoff.c: Likewise.
62387         * misc/swapon.c: Likewise.
62388         * misc/sync.c: Likewise.
62389         * misc/syncfs.c: Likewise.
62390         * misc/syscall.c: Likewise.
62391         * misc/truncate.c: Likewise.
62392         * misc/ualarm.c: Likewise.
62393         * misc/usleep.c: Likewise.
62394         * misc/ustat.c: Likewise.
62395         * misc/utimes.c: Likewise.
62396         * misc/vhangup.c: Likewise.
62397         * misc/writev.c: Likewise.
62398         * posix/_exit.c: Likewise.
62399         * posix/alarm.c: Likewise.
62400         * posix/execve.c: Likewise.
62401         * posix/fexecve.c: Likewise.
62402         * posix/fork.c: Likewise.
62403         * posix/fpathconf.c: Likewise.
62404         * posix/getaddrinfo.c: Likewise.
62405         * posix/getegid.c: Likewise.
62406         * posix/geteuid.c: Likewise.
62407         * posix/getgid.c: Likewise.
62408         * posix/getgroups.c: Likewise.
62409         * posix/getlogin.c: Likewise.
62410         * posix/getlogin_r.c: Likewise.
62411         * posix/getpgid.c: Likewise.
62412         * posix/getpid.c: Likewise.
62413         * posix/getppid.c: Likewise.
62414         * posix/getresgid.c: Likewise.
62415         * posix/getresuid.c: Likewise.
62416         * posix/getsid.c: Likewise.
62417         * posix/getuid.c: Likewise.
62418         * posix/glob64.c: Likewise.
62419         * posix/nanosleep.c: Likewise.
62420         * posix/pathconf.c: Likewise.
62421         * posix/pause.c: Likewise.
62422         * posix/posix_madvise.c: Likewise.
62423         * posix/pread.c: Likewise.
62424         * posix/pread64.c: Likewise.
62425         * posix/pwrite.c: Likewise.
62426         * posix/pwrite64.c: Likewise.
62427         * posix/sched_getaffinity.c: Likewise.
62428         * posix/sched_getp.c: Likewise.
62429         * posix/sched_gets.c: Likewise.
62430         * posix/sched_primax.c: Likewise.
62431         * posix/sched_primin.c: Likewise.
62432         * posix/sched_rr_gi.c: Likewise.
62433         * posix/sched_setaffinity.c: Likewise.
62434         * posix/sched_setp.c: Likewise.
62435         * posix/sched_sets.c: Likewise.
62436         * posix/sched_yield.c: Likewise.
62437         * posix/setgid.c: Likewise.
62438         * posix/setlogin.c: Likewise.
62439         * posix/setpgid.c: Likewise.
62440         * posix/setresgid.c: Likewise.
62441         * posix/setresuid.c: Likewise.
62442         * posix/setsid.c: Likewise.
62443         * posix/setuid.c: Likewise.
62444         * posix/sleep.c: Likewise.
62445         * posix/spawni.c: Likewise.
62446         * posix/sysconf.c: Likewise.
62447         * posix/times.c: Likewise.
62448         * posix/wait.c: Likewise.
62449         * posix/wait3.c: Likewise.
62450         * posix/wait4.c: Likewise.
62451         * posix/waitpid.c: Likewise.
62452         * resolv/gai_sigqueue.c: Likewise.
62453         * resource/getpriority.c: Likewise.
62454         * resource/getrlimit.c: Likewise.
62455         * resource/getrusage.c: Likewise.
62456         * resource/nice.c: Likewise.
62457         * resource/setpriority.c: Likewise.
62458         * resource/setrlimit.c: Likewise.
62459         * resource/ulimit.c: Likewise.
62460         * rt/aio_cancel.c: Likewise.
62461         * rt/aio_fsync.c: Likewise.
62462         * rt/aio_read.c: Likewise.
62463         * rt/aio_sigqueue.c: Likewise.
62464         * rt/aio_suspend.c: Likewise.
62465         * rt/aio_write.c: Likewise.
62466         * rt/clock_getres.c: Likewise.
62467         * rt/clock_gettime.c: Likewise.
62468         * rt/clock_nanosleep.c: Likewise.
62469         * rt/clock_settime.c: Likewise.
62470         * rt/lio_listio.c: Likewise.
62471         * rt/mq_close.c: Likewise.
62472         * rt/mq_getattr.c: Likewise.
62473         * rt/mq_notify.c: Likewise.
62474         * rt/mq_open.c: Likewise.
62475         * rt/mq_receive.c: Likewise.
62476         * rt/mq_send.c: Likewise.
62477         * rt/mq_setattr.c: Likewise.
62478         * rt/mq_timedreceive.c: Likewise.
62479         * rt/mq_timedsend.c: Likewise.
62480         * rt/mq_unlink.c: Likewise.
62481         * rt/shm_open.c: Likewise.
62482         * rt/shm_unlink.c: Likewise.
62483         * rt/timer_create.c: Likewise.
62484         * rt/timer_delete.c: Likewise.
62485         * rt/timer_getoverr.c: Likewise.
62486         * rt/timer_gettime.c: Likewise.
62487         * rt/timer_settime.c: Likewise.
62488         * setjmp/__longjmp.c: Likewise.
62489         * setjmp/setjmp.c: Likewise.
62490         * signal/kill.c: Likewise.
62491         * signal/killpg.c: Likewise.
62492         * signal/raise.c: Likewise.
62493         * signal/sigaction.c: Likewise.
62494         * signal/sigaltstack.c: Likewise.
62495         * signal/sigblock.c: Likewise.
62496         * signal/sigignore.c: Likewise.
62497         * signal/sigintr.c: Likewise.
62498         * signal/signal.c: Likewise.
62499         * signal/sigpause.c: Likewise.
62500         * signal/sigpending.c: Likewise.
62501         * signal/sigqueue.c: Likewise.
62502         * signal/sigreturn.c: Likewise.
62503         * signal/sigset.c: Likewise.
62504         * signal/sigsetmask.c: Likewise.
62505         * signal/sigstack.c: Likewise.
62506         * signal/sigsuspend.c: Likewise.
62507         * signal/sigtimedwait.c: Likewise.
62508         * signal/sigvec.c: Likewise.
62509         * signal/sigwait.c: Likewise.
62510         * signal/sigwaitinfo.c: Likewise.
62511         * signal/sysv_signal.c: Likewise.
62512         * socket/accept.c: Likewise.
62513         * socket/accept4.c: Likewise.
62514         * socket/bind.c: Likewise.
62515         * socket/connect.c: Likewise.
62516         * socket/getpeername.c: Likewise.
62517         * socket/getsockname.c: Likewise.
62518         * socket/getsockopt.c: Likewise.
62519         * socket/isfdtype.c: Likewise.
62520         * socket/listen.c: Likewise.
62521         * socket/recv.c: Likewise.
62522         * socket/recvfrom.c: Likewise.
62523         * socket/recvmsg.c: Likewise.
62524         * socket/send.c: Likewise.
62525         * socket/sendmsg.c: Likewise.
62526         * socket/sendto.c: Likewise.
62527         * socket/setsockopt.c: Likewise.
62528         * socket/shutdown.c: Likewise.
62529         * socket/sockatmark.c: Likewise.
62530         * socket/socket.c: Likewise.
62531         * socket/socketpair.c: Likewise.
62532         * stdio-common/ctermid.c: Likewise.
62533         * stdio-common/cuserid.c: Likewise.
62534         * stdio-common/remove.c: Likewise.
62535         * stdio-common/rename.c: Likewise.
62536         * stdio-common/renameat.c: Likewise.
62537         * stdio-common/tempname.c: Likewise.
62538         * stdlib/getcontext.c: Likewise.
62539         * stdlib/makecontext.c: Likewise.
62540         * stdlib/setcontext.c: Likewise.
62541         * stdlib/swapcontext.c: Likewise.
62542         * stdlib/system.c: Likewise.
62543         * streams/fattach.c: Likewise.
62544         * streams/fdetach.c: Likewise.
62545         * streams/getmsg.c: Likewise.
62546         * streams/getpmsg.c: Likewise.
62547         * streams/putmsg.c: Likewise.
62548         * streams/putpmsg.c: Likewise.
62549         * sysdeps/unix/bsd/getpt.c: Likewise.
62550         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62551         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62552         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62554         Likewise.
62555         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62556         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62557         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62558         * sysvipc/msgctl.c: Likewise.
62559         * sysvipc/msgget.c: Likewise.
62560         * sysvipc/msgrcv.c: Likewise.
62561         * sysvipc/msgsnd.c: Likewise.
62562         * sysvipc/semctl.c: Likewise.
62563         * sysvipc/semget.c: Likewise.
62564         * sysvipc/semop.c: Likewise.
62565         * sysvipc/semtimedop.c: Likewise.
62566         * sysvipc/shmat.c: Likewise.
62567         * sysvipc/shmctl.c: Likewise.
62568         * sysvipc/shmdt.c: Likewise.
62569         * sysvipc/shmget.c: Likewise.
62570         * termios/tcdrain.c: Likewise.
62571         * termios/tcflow.c: Likewise.
62572         * termios/tcflush.c: Likewise.
62573         * termios/tcgetattr.c: Likewise.
62574         * termios/tcgetpgrp.c: Likewise.
62575         * termios/tcsendbrk.c: Likewise.
62576         * termios/tcsetattr.c: Likewise.
62577         * termios/tcsetpgrp.c: Likewise.
62578         * time/adjtime.c: Likewise.
62579         * time/clock.c: Likewise.
62580         * time/getitimer.c: Likewise.
62581         * time/gettimeofday.c: Likewise.
62582         * time/setitimer.c: Likewise.
62583         * time/settimeofday.c: Likewise.
62584         * time/stime.c: Likewise.
62585         * time/time.c: Likewise.
62587 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62589         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62590         /usr/old/bin.
62592         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62593         instead of spaces.
62594         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62596 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62598         [BZ #14796]
62599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62600         FE_TONEAREST before applying Dekker multiplication and Knuth
62601         addition.  Clear inexact exceptions and check for exact zero
62602         results afterwards.
62603         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62604         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62605         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62606         * math/libm-test.inc (fma_test): Add more tests.
62607         (fma_test_towardzero): Likewise.
62608         (fma_test_downward): Likewise.
62609         (fma_test_upward): Likewise.
62610         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62611         function.
62612         (libc_fesetround): New macro.
62613         (libc_fesetroundf): Likewise.
62614         (libc_fesetroundl): Likewise.
62615         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62616         function.
62617         (libc_fesetround_387): Likewise.
62618         (libc_fesetroundf): New macro.
62619         (libc_fesetround): Likewise.
62620         (libc_fesetroundl): Likewise.
62621         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62622         function.
62623         (libc_fesetroundf): New macro.
62624         (libc_fesetround): Likewise.
62625         (libc_fesetroundl): Likewise.
62626         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62627         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62628         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62629         libm_hidden_ver.
62630         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62631         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62632         libm_hidden_def.
62633         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62634         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62635         libm_hidden_ver.
62636         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62637         libm_hidden_def.
62639         [BZ #3439]
62640         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62641         integer constant usable in #if and use that to give value to enum
62642         constant.
62643         (FE_DIVBYZERO): Likewise.
62644         (FE_UNDERFLOW): Likewise.
62645         (FE_OVERFLOW): Likewise.
62646         (FE_INVALID): Likewise.
62647         (FE_INVALID_SNAN): Likewise.
62648         (FE_INVALID_ISI): Likewise.
62649         (FE_INVALID_IDI): Likewise.
62650         (FE_INVALID_ZDZ): Likewise.
62651         (FE_INVALID_IMZ): Likewise.
62652         (FE_INVALID_COMPARE): Likewise.
62653         (FE_INVALID_SOFTWARE): Likewise.
62654         (FE_INVALID_SQRT): Likewise.
62655         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62656         (FE_TONEAREST): Likewise.
62657         (FE_TOWARDZERO): Likewise.
62658         (FE_UPWARD): Likewise.
62659         (FE_DOWNWARD): Likewise.
62660         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62661         (FE_DIVBYZERO): Likewise.
62662         (FE_OVERFLOW): Likewise.
62663         (FE_UNDERFLOW): Likewise.
62664         (FE_INEXACT): Likewise.
62665         (FE_TONEAREST): Likewise.
62666         (FE_DOWNWARD): Likewise.
62667         (FE_UPWARD): Likewise.
62668         (FE_TOWARDZERO): Likewise.
62669         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62670         (FE_UNDERFLOW): Likewise.
62671         (FE_OVERFLOW): Likewise.
62672         (FE_DIVBYZERO): Likewise.
62673         (FE_INVALID): Likewise.
62674         (FE_TONEAREST): Likewise.
62675         (FE_TOWARDZERO): Likewise.
62676         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62677         (FE_OVERFLOW): Likewise.
62678         (FE_UNDERFLOW): Likewise.
62679         (FE_DIVBYZERO): Likewise.
62680         (FE_INEXACT): Likewise.
62681         (FE_TONEAREST): Likewise.
62682         (FE_TOWARDZERO): Likewise.
62683         (FE_UPWARD): Likewise.
62684         (FE_DOWNWARD): Likewise.
62685         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62686         (FE_DIVBYZERO): Likewise.
62687         (FE_OVERFLOW): Likewise.
62688         (FE_UNDERFLOW): Likewise.
62689         (FE_INEXACT): Likewise.
62690         (FE_TONEAREST): Likewise.
62691         (FE_DOWNWARD): Likewise.
62692         (FE_UPWARD): Likewise.
62693         (FE_TOWARDZERO): Likewise.
62695 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62697         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62699 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62701         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62702         commands.  Quote $PWD.
62703         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62704         -x" by "export".
62705         (remove_newlines): Remove.
62707 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62709         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62710         * stdlib/stdlib.h (atof): Moved to ...
62711         * include/bits/stdlib-float.h: Here.  New file.
62712         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62713         * stdlib/bits/stdlib-float.h: New file.
62714         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62715         -mno-sse -mno-mmx.
62716         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62717         <xmmintrin.h>.
62719 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62721         * conform/conformtest.pl (@headers): Add fenv.h.
62722         * conform/data/fenv.h-data: New file.
62723         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62724         include of <math/fenv.h>.
62726         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62727         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62728         && !UNIX98].  Enables tests for XOPEN2K8.
62729         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62730         POSIX2008]: Likewise.
62732         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62733         (struct rusage): Do not expect type or its members.
62735         [BZ #3439]
62736         * math/math.h (FP_NAN): Define macro to integer constant usable in
62737         #if and use that to give value to enum constant.
62738         (FP_INFINITE): Likewise.
62739         (FP_ZERO): Likewise.
62740         (FP_SUBNORMAL): Likewise.
62741         (FP_NORMAL): Likewise.
62743 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62745         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62746         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62747         arguments.
62749 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62751         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62752         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62753         autoconf-time if not.
62754         * configure.in: Remove AC_PREREQ.
62756 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62758         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62759         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62760         of the internal implementation.
62762 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62764         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62765         except include of <misc/sys/syslog.h>.
62767 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62770         function returns with a NULL context exit with zero.
62772 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62774         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62776 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62778         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62779         (run_program_cmd): This.
62780         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62781         (tst_langinfo): New variable.  Use it.
62783 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62785         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62786         floating point opcodes.
62788 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62790         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62791         variable.
62793         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62795         * sysdeps/mach/hurd/powerpc: Remove directory.
62796         * sysdeps/mach/powerpc: Likewise.
62798 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62800         * scripts/check-local-headers.sh: Ignore c++ headers.
62802 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62804         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62805         __libc_cleanup_region_start argument.
62807 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62809         [BZ #14784]
62810         [BZ #14785]
62811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62812         x * y using scaling, not as x * y + z.
62813         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62814         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62815         * math/libm-test.inc (fma_test): Add more tests.
62816         (fma_test_towardzero): Likewise.
62817         (fma_test_downward): Likewise.
62818         (fma_test_upward): Likewise.
62820 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62822         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62824 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62826         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62827         New variable.
62829 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62831         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62833 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62836         Fix sort order.
62837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62838         Likewise.
62840 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62843         Fix the order of the list for glibc 2.17.
62844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62845         Likewise.
62847 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62851 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62853         [BZ #14610]
62854         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62855         for low part of x being zero before using __atanl (y).
62856         * math/libm-test.inc (atan2_test): Add another test.
62858         * manual/install.texi (Configuring and compiling): Document
62859         general use of test-wrapper and test-wrapper-env.
62860         * INSTALL: Regenerated.
62862         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62863         (__fma): Do not extract and scale down low bits on after-rounding
62864         systems when result rounded to normal precision would have normal
62865         exponent.
62866         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62867         (__fmal): Do not extract and scale down low bits on after-rounding
62868         systems when result rounded to normal precision would have normal
62869         exponent.
62870         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62871         (__fmal): Do not extract and scale down low bits on after-rounding
62872         systems when result rounded to normal precision would have normal
62873         exponent.
62874         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62875         macro.
62876         (fma_test): Add more tests.
62877         (fma_test_towardzero): Likewise.
62878         (fma_test_downward): Likewise.
62879         (fma_test_upward): Likewise.
62881 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62883         * sysdeps/i386/tininess.h: Renamed to ...
62884         * sysdeps/x86/tininess.h: This.
62885         * sysdeps/x86_64/tininess.h: Removed.
62887 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62889         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62890         input.  Use $(build-program-cmd).
62891         ($(objpfx)tst-array1-static.out): Likewise.
62892         ($(objpfx)tst-array2.out): Likewise.
62893         ($(objpfx)tst-array3.out): Likewise.
62894         ($(objpfx)tst-array4.out): Likewise.
62895         ($(objpfx)tst-array5.out): Likewise.
62896         ($(objpfx)tst-array5-static.out): Likewise.
62898 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62900         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62901         if defined.
62903         * nss/nsswitch.h (nss_interface_function): Provide new
62904         macro for use with NSS functions.
62905         * grp/initgroups.c: Use new macro.
62906         * nss/getXXbyYY.c: Likewise.
62907         * nss/getXXbyYY_r.c: Likewise.
62908         * nss/getXXent.c: Likewise.
62909         * nss/getXXent_r.c: Likewise.
62910         * sysdeps/posix/getaddrinfo.c: Likewise.
62912 2012-10-30  Andreas Jaeger  <aj@suse.de>
62914         * po/ru.po: Update Russion translation from translation project.
62916 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62918         [BZ #14152]
62919         [BZ #14783]
62920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62921         result and shift together with sticky bit instead of replicating
62922         round-to-nearest rounding.
62923         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62924         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62925         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62926         missing underflow exceptions.
62927         (fma_test_towardzero): Add more tests.
62928         (fma_test_downward): Likewise.
62929         (fma_test_upward): Likewise.
62931         [BZ #14047]
62932         * sysdeps/generic/tininess.h: New file.
62933         * sysdeps/i386/tininess.h: Likewise.
62934         * sysdeps/sh/tininess.h: Likewise.
62935         * sysdeps/x86_64/tininess.h: Likewise.
62936         * stdlib/tst-strtod-underflow.c: Likewise.
62937         * stdlib/tst-tininess.c: Likewise.
62938         * stdlib/strtod_l.c: Include <tininess.h>.
62939         (round_and_return): Do not set errno for exact underflow cases.
62940         Force an underflow exception when setting errno for underflow.
62941         Determine underflow based on rounding to normal precision if
62942         TININESS_AFTER_ROUNDING.
62943         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62944         ERANGE for exact underflow cases.
62945         * stdlib/Makefile (tests): Add tst-tininess and
62946         tst-strtod-underflow.
62947         ($(objpfx)tst-tininess): Use $(link-libm).
62948         ($(objpfx)tst-strtod-underflow): Likewise.
62950 2012-10-30  Andreas Jaeger  <aj@suse.de>
62952         [BZ#14767]
62953         * elf/Makefile (tests): Remove conditional for have-initfini-array
62954         since this is now always required and the variable does not exist
62955         anymore.
62956         (tests-static): Likewise.
62957         (modules-names): Likewise.
62959         * po/eo.po: Add Esperanto translation from translation project.
62961         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62962         merged with constructor/destructor.
62963         (init_array): Likewise.
62964         * elf/tst-array2dep.c (fini_array): Likewise.
62965         (init_array): Likewise.
62967 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62969         * manual/message.texi: Delete @cartouche tags.
62971 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62973         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62974         EOPNOTSUPP.
62975         * sysdeps/mach/hurd/fsync.c: Likewise.
62977         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62978         [_POSIX_REALTIME_SIGNALS]: Change condition to
62979         [_POSIX_REALTIME_SIGNALS > 0].
62981 2012-10-27  Andreas Jaeger  <aj@suse.de>
62983         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62984         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62986         [__WORDSIZE != 64]: Likewise.
62988 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62990         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62991         *  iconvdata/tst-tables.sh: Likewise.
62993 2012-10-25  David S. Miller  <davem@davemloft.net>
62995         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62996         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62997         of strtoull.
62999         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
63000         ifunc-impl-list.c
63001         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63002         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
63003         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
63004         file.
63006 2012-10-25  Roland McGrath  <roland@hack.frob.com>
63008         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63009         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
63010         __getdirentries.
63012 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
63013             Jim Blandy  <jimb@codesourcery.com>
63015         * scripts/cross-test-ssh.sh: New file.
63016         * manual/install.texi (Configuring and compiling): Document use of
63017         cross-test-ssh.sh.
63018         * INSTALL: Regenerated.
63020 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
63022         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
63023         EOPNOTSUPP.
63025 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
63027         * Makeconfig (run-program-prefix): Fix comment.
63029 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
63030             Jim Blandy  <jimb@codesourcery.com>
63032         * Makeconfig (test-wrapper): New variable,
63033         (test-wrapper-env): Likewise.
63034         [$(cross-compiling) = yes && $(test-wrapper) != ""]
63035         (run-built-tests): Define to yes.
63036         (run-program-prefix): Use $(test-wrapper).
63037         (built-program-cmd): Likewise.
63038         * Rules (make-test-out): Use $(test-wrapper-env) and
63039         $(host-built-program-cmd).
63040         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
63041         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
63042         tst-pathopt.sh.
63043         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
63044         $(test-wrapper-env) to tst-rtld-load-self.sh.
63045         ($(objpfx)order2.out): Use $(test-wrapper).
63046         ($(objpfx)tst-initorder.out): Likewise.
63047         ($(objpfx)tst-initorder2.out): Likewise.
63048         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
63049         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
63050         (test_wrapper_env): New variable.  Use it to run ld.so.
63051         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
63052         Use it to run ld.so.
63053         (test_wrapper_env): Likewise.
63054         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
63055         $(test-wrapper) to run-iconv-test.sh.
63056         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
63057         (ICONV): Use $test_wrapper.
63058         * posix/Makefile ($(objpfx)globtest.out): Pass
63059         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
63060         globtest.sh, not $(run-program-prefix).
63061         * posix/globtest.sh (run_via_rtld_prefix): New variable.
63062         (test_wrapper): Likewise.
63063         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
63064         set together with run_via_rtld_prefix.
63065         (run_program_prefix): Define in terms of test_wrapper and
63066         run_via_rtld_prefix.
63068 2012-10-24  Roland McGrath  <roland@hack.frob.com>
63070         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
63071         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
63072         Targets removed.
63074         [BZ #14743]
63075         * include/time.h: Remove librt_hidden_proto (clock_gettime).
63076         Declare __clock_getres, __clock_gettime, __clock_settime,
63077         __clock_nanosleep, and __clock_getcpuclockid.
63078         * rt/clock_gettime.c: Define __clock_gettime as an alias.
63079         Remove librt_hidden_def (clock_gettime).
63080         * sysdeps/unix/clock_gettime.c: Likewise.
63081         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
63082         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
63083         * rt/clock_getres.c: Define __clock_getres as an alias.
63084         * sysdeps/posix/clock_getres.c: Likewise.
63085         * rt/clock_settime.c: Define __clock_settime as an alias.
63086         * sysdeps/unix/clock_settime.c: Likewise.
63087         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
63088         * sysdeps/unix/clock_nanosleep.c: Likewise.
63089         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
63090         * rt/clock-compat.c: New file.
63091         * rt/Makefile (librt-routines): Add clock-compat and move
63092         $(clock-routines) to ...
63093         (routines): ... here, new variable.
63094         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
63095         Don't add get_clockfreq here.
63096         * rt/Versions (libc: GLIBC_2.17): New version set.
63097         Add clock_* symbols here.
63098         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
63099         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
63100         (GLIBC_2.17): Add clock_* symbols.
63101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63103         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63105         Likewise.
63106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63107         Likewise.
63108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63112         * NEWS: Mention the move.
63114         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
63115         Use __open, __read, __close rather than their public counterparts.
63116         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63117         (__get_clockfreq_via_cpuinfo): Likewise.
63118         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
63119         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
63121         * config.h.in (HAVE_IFUNC): New #undef.
63122         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
63123         was successful.
63124         * configure: Regenerated.
63126 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
63128         * configure.in: Move READELF check to start of file.
63129         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
63130         libc_cv_asm_gnu_indirect_function in the process.
63131         * configure: Regenerated.
63133 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
63135         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
63136         send the output to /dev/null.
63137         (libc_cv_cc_with_libunwind): Likewise.
63138         (libc_cv_as_noexecstack): Likewise.
63139         * configure: Regenerate.
63141 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
63143         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
63145         * posix/globtest.sh (TMPDIR): Do not set.
63146         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
63147         (testout): Likewise.
63149 2012-10-24  Andreas Jaeger  <aj@suse.de>
63151         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
63152         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
63153         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
63154         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
63155         posix_fadvise64, posix_fallocate64.
63157         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
63158         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
63159         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
63160         Likewise.
63161         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
63162         Likewise.
63163         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
63165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
63166         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
63167         <bits/fcntl-linux.h>.
63168         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
63170         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
63171         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
63172         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
63173         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
63174         [__WORDSIZE != 64]: Likewise.
63176 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
63178         * Makeconfig (run-built-tests): New variable.
63179         * Rules [$(cross-compiling) = yes]: Change condition to
63180         [$(run-built-tests) = no].
63181         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
63182         to [$(run-built-tests) = yes].
63183         * elf/Makefile [$(cross-compiling) = no]: Likewise.
63184         * grp/Makefile [$(cross-compiling) = no]: Likewise.
63185         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
63186         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
63187         * intl/Makefile [$(cross-compiling) = no]: Likewise.
63188         * io/Makefile [$(cross-compiling) = no]: Likewise.
63189         * libio/Makefile [$(cross-compiling) = no]: Likewise.
63190         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
63191         * misc/Makefile [$(cross-compiling) = no]: Likewise.
63192         * posix/Makefile [$(cross-compiling) = no]: Likewise.
63193         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
63194         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
63195         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
63196         * string/Makefile [$(cross-compiling) = no]: Likewise.
63198         * posix/Makefile ($(objpfx)globtest.out): Pass
63199         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
63200         $(rtld-installed-name).
63201         * posix/globtest.sh (elf_objpfx): Remove variable.
63202         (rtld_installed_name): Likewise.
63203         (library_path): Likewise.
63204         (run_program_prefix): New variable.  Use for running globtest
63205         binary.
63207 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
63208             Joseph Myers  <joseph@codesourcery.com>
63210         * Makeconfig (host-built-program-cmd): New variable.
63211         * elf/Makefile (tst-stackguard1-ARGS): Use
63212         $(host-built-program-cmd).
63213         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
63214         (tst-spawn-ARGS): Likewise.
63215         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
63217 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
63218             Jim Blandy  <jimb@codesourcery.com>
63220         * Makeconfig (run-via-rtld-prefix): New variable.
63221         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
63222         (built-program-cmd): Likewise.
63224 2012-10-22  Andreas Jaeger  <aj@suse.de>
63226         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
63227         __O_RSYNC if it exists, otherwise to O_SYNC.
63229 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
63230             Joseph Myers  <joseph@codesourcery.com>
63232         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
63233         /dev/null.
63234         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
63235         from /dev/null
63236         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
63237         /dev/null.
63239 2012-10-22  Andreas Jaeger  <aj@suse.de>
63241         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
63242         Define always.
63243         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
63245         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63246         bits/fcntl-linux.h.
63248         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
63249         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
63251         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
63252         to __O_LARGEFILE.
63253         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
63254         to __O_LARGEFILE.
63256 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
63257             Joseph Myers  <joseph@codesourcery.com>
63259         * config.make.in (NM): New variable.
63261 2012-10-21  Andreas Jaeger  <aj@suse.de>
63263         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
63264         definitions and declarations that are provided by
63265         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63267 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63269         [BZ #14683]
63270         * elf/Makefile (tests-static): Add tst-leaks1-static.
63271         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
63272         ($(objpfx)tst-leaks1-static): New rule.
63273         ($(objpfx)tst-leaks1-static-mem): Likewise.
63274         (tst-leaks1-static-ENV): New macro.
63275         * elf/dl-open.c (dl_open_worker): Check the main application
63276         only if SHARED is defined.
63277         * elf/tst-leaks1-static.c: New file.
63279 2012-10-20  Andreas Jaeger  <aj@suse.de>
63281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
63282         generic values for Linux.
63283         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
63284         and declarations that are provided by <bits/fcntl-linux.h> and
63285         include <bits/fcntl-linux.h>.
63286         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63287         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63289 2012-10-20  Roland McGrath  <roland@hack.frob.com>
63291         * io/fcntl.h: Move include of <bits/types.h> to the top and
63292         include it unconditionally.
63294 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63296         * wcsmbs/Makefile (tests-ifunc): New variable.
63297         (tests): Add $(tests-ifunc).
63298         * wcsmbs/test-wcschr-ifunc.c: New file.
63299         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63300         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63301         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63302         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63303         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63305         * string/Makefile (tests-ifunc): New variable.
63306         (tests): Add $(tests-ifunc).
63307         * string/test-memccpy.c (TEST_NAME): New macro.
63308         * string/test-memchr.c (TEST_NAME): Likewise.
63309         * string/test-memcmp.c (TEST_NAME): Likewise.
63310         * string/test-memcpy.c (TEST_NAME): Likewise.
63311         * string/test-memmem.c (TEST_NAME): Likewise.
63312         * string/test-memmove.c (TEST_NAME): Likewise.
63313         * string/test-memset.c (TEST_NAME): Likewise.
63314         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63315         * string/test-stpcpy.c (TEST_NAME): Likewise.
63316         * string/test-stpncpy.c (TEST_NAME): Likewise.
63317         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63318         * string/test-strcasestr.c (TEST_NAME): Likewise.
63319         * string/test-strcat.c (TEST_NAME): Likewise.
63320         * string/test-strchr.c (TEST_NAME): Likewise.
63321         * string/test-strcmp.c(TEST_NAME): Likewise.
63322         * string/test-strcpy.c (TEST_NAME): Likewise.
63323         * string/test-strcspn.c (TEST_NAME): Likewise.
63324         * string/test-strlen.c (TEST_NAME): Likewise.
63325         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63326         * string/test-strncmp.c (TEST_NAME): Likewise.
63327         * string/test-strncpy.c (TEST_NAME): Likewise.
63328         * string/test-strnlen.c (TEST_NAME): Likewise.
63329         * string/test-strpbrk.c (TEST_NAME): Likewise.
63330         * string/test-strrchr.c (TEST_NAME): Likewise.
63331         * string/test-strspn.c (TEST_NAME): Likewise.
63332         * string/test-strstr.c (TEST_NAME): Likewise.
63333         * string/test-bcopy-ifunc.c: New file.
63334         * string/test-bzero-ifunc.c: Likewise.
63335         * string/test-memccpy-ifunc.c: Likewise.
63336         * string/test-memchr-ifunc.c: Likewise.
63337         * string/test-memcmp-ifunc.c: Likewise.
63338         * string/test-memcpy-ifunc.c: Likewise.
63339         * string/test-memmem-ifunc.c: Likewise.
63340         * string/test-memmove-ifunc.c: Likewise.
63341         * string/test-mempcpy-ifunc.c: Likewise.
63342         * string/test-memset-ifunc.c: Likewise.
63343         * string/test-rawmemchr-ifunc.c: Likewise.
63344         * string/test-stpcpy-ifunc.c: Likewise.
63345         * string/test-stpncpy-ifunc.c: Likewise.
63346         * string/test-strcasecmp-ifunc.c: Likewise.
63347         * string/test-strcasestr-ifunc.c: Likewise.
63348         * string/test-strcat-ifunc.c: Likewise.
63349         * string/test-strchr-ifunc.c: Likewise.
63350         * string/test-strchrnul-ifunc.c: Likewise.
63351         * string/test-strcmp-ifunc.c: Likewise.
63352         * string/test-strcpy-ifunc.c: Likewise.
63353         * string/test-strcspn-ifunc.c: Likewise.
63354         * string/test-strlen-ifunc.c: Likewise.
63355         * string/test-strncasecmp-ifunc.c: Likewise.
63356         * string/test-strncat-ifunc.c: Likewise.
63357         * string/test-strncmp-ifunc.c: Likewise.
63358         * string/test-strncpy-ifunc.c: Likewise.
63359         * string/test-strnlen-ifunc.c: Likewise.
63360         * string/test-strpbrk-ifunc.c: Likewise.
63361         * string/test-strrchr-ifunc.c: Likewise.
63362         * string/test-strspn-ifunc.c: Likewise.
63363         * string/test-strstr-ifunc.c: Likewise.
63365         * debug/Makefile (tests-ifunc): New variable.
63366         (tests): Add $(tests-ifunc).
63367         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63368         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63369         * debug/test-stpcpy_chk-ifunc.c: New file.
63370         * debug/test-strcpy_chk-ifunc.c: Likewise.
63372 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63374         [BZ #13601]
63375         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63376         header is not read in.
63378 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63380         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63381         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63382         directly.  Pass built executable to script as
63383         $(built-program-cmd).
63384         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63385         $testprogram without using LD_LIBRARY_PATH and $ldso.
63387         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63388         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63389         $(rtld-installed-name).
63390         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63391         (rtld_installed_name): Likewise.
63392         (library_path): Likewise.
63393         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63394         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63395         $(run-program-prefix) to tst-tables.sh.
63396         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63397         it to run tst-table-from and tst-table-to.
63398         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63399         Pass it to tst-table.sh.
63400         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63401         $(run-program-prefix) to tst-gettext.sh.
63402         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63403         tst-translit.sh.
63404         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63405         tst-gettext2.sh.
63406         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63407         to run tst-gettext.
63408         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63409         to run tst-gettext2.
63410         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63411         to run tst-translit.
63412         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63413         $(run-program-prefix) to tst-mtrace.sh.
63414         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63415         to run tst-mtrace.
63416         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63417         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63418         $(rtld-installed-name).
63419         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63420         (rtld_installed_name): Likewise.
63421         (run_program_prefix): New variable.  Use it to run wordexp-test.
63423         * Makeconfig (ARCH): Remove all definitions.
63424         (machine): Likewise.
63425         [ARCH]: Remove conditional code.
63426         [!objdir]: Give error.
63427         [!objdir] (objpfx): Remove.
63428         [!objdir] (common-objpfx): Likewise.
63429         [!objdir] (common-objdir): Likewise.
63430         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63431         AC_CONFIG_FILES call.
63432         * configure: Regenerated.
63434         [BZ #13888]
63435         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63436         or TMPDIR.
63437         (testout): Likewise.
63439         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63440         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63441         $(rtld-installed-name).
63442         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63443         (rtld_installed_name): Likwise.
63444         (runit): Remove function.
63445         (run_getconf): New variable,  Use it for running getconf binary.
63447 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63449         [BZ #14716]
63450         * string/test-memmem.c (check_result): New function.
63451         (do_one_test): Use it.
63452         (check1): New function.
63453         (test_main): Use it.
63455 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63457         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63459 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63461         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63462         (_G_LSEEK64): Likewise.
63463         (_G_MMAP64): Likewise.
63464         (_G_FSTAT64): Likewise.
63465         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63466         (_G_LSEEK64): Likewise.
63467         (_G_MMAP64): Likewise.
63468         (_G_FSTAT64): Likewise.
63469         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63470         unconditional.  Call __mmap64 directly.
63471         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63472         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63473         __lseek64 directly.
63474         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63475         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63476         __mmap64 directly.
63477         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63478         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63479         __lseek64 directly.
63480         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63481         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63482         __lseek64 directly.
63483         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63484         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63485         __lseek64 directly.
63486         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63487         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63488         __fxstat64 directly.
63489         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63490         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63491         unconditional.
63492         (freopen64) [!_G_OPEN64]: Remove conditional code.
63493         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63494         unconditional.
63495         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63496         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63497         unconditional.
63498         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63499         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63500         unconditional.
63501         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63502         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63503         unconditional.
63504         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63505         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63506         unconditional.
63507         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63508         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63509         unconditional.
63510         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63511         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63512         unconditional.
63513         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63515 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63517         [BZ #12140]
63518         * manual/memory.texi (Malloc Tunable Parameters): Add note
63519         about free list pointers overwriting some perturb bytes.
63520         Wording suggested by Roland McGrath.
63522 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63524         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63525         (lgamma_test): Likewise.
63526         (tgamma_test): Likewise.
63528 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63530         [BZ #14700]
63531         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63532         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63534 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63536         * NEWS: Mention BZ #14716.
63537         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63538         when removing AVAILABLE1_USES_J macro.
63540 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63542         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63543         (__bswap_64): __uint64_t for unsigned 64-bit int.
63545 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63547         * include/string.h (memmem): Declare libc hidden alias.
63548         * string/memmem.c (memmem): Define libc hidden alias.
63549         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63550         __read, __close instead of open, read, close.
63552 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63555         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63556         global and hidden.
63557         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63558         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63559         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63560         Likewise.
63561         (__rawmemchr_sse2): Likewise.
63562         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63563         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63564         (__strchr_sse2): Likewise.
63565         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63566         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63567         (__strcasecmp_sse2): Likewise.
63568         (__strncasecmp_sse2): Likewise.
63569         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63570         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63571         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63572         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63573         (__strrchr_sse2): Likewise.
63574         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63575         ifunc-impl-list.c.
63576         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63577         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63578         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63579         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63580         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63581         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63582         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63583         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63584         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63585         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63586         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63587         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63588         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63589         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63590         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63591         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63592         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63593         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63594         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63595         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63596         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63597         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63598         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63599         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63600         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63601         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63602         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63603         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63604         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63605         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63607         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63608         global and hidden.
63609         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63610         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63611         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63612         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63613         Likewise.
63614         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63615         Likewise.
63616         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63617         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63618         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63619         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63620         ifunc-impl-list.c.
63621         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63622         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63623         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63624         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63625         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63626         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63627         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63628         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63629         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63630         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63631         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63632         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63633         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63634         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63635         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63636         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63637         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63638         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63639         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63640         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63641         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63642         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63643         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63644         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63645         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63646         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63647         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63648         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63649         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63650         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63651         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63652         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63653         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63654         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63655         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63656         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63657         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63658         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63659         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63660         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63661         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63663         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63664         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63665         * include/ifunc-impl-list.h: New file.
63666         * misc/ifunc-impl-list.c: Likewise.
63667         * misc/Makefile (routines): Add ifunc-impl-list.
63668         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63669         * string/test-string.h: Include <ifunc-impl-list.h>.
63670         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63671         TEST_NAME]: New variables.
63672         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63673         are defined.
63674         (test_init): Call __libc_ifunc_impl_list to initialize
63675         func_list if TEST_IFUNC and TEST_NAME are defined.
63677         * string/Makefile (strop-tests): Add bcopy and bzero.
63678         * string/test-bcopy.c: New file.
63679         * string/test-bzero.c: Likewise.
63680         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63681         defined.
63682         * string/test-memset.c: Support bzero test if TEST_BZERO is
63683         defined.
63684         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63685         __libc_memmove.
63686         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63687         __libc_memset.
63688         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63689         of memset.
63691 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63693         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63694         * configure: Regenerated.
63696         * Makeconfig (+link-static-before-libc): Don't include
63697         $(link-static-libc).
63699         * libio/libio.h (_IO_pos_t): Remove.
63701 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63703         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63704         McGrath.
63706 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63708         * crypt/crypt-entry.c: Include fips-private.h.
63709         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63710         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63711         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63712         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63714 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63716         * crypt/crypt-private.h: Include stdbool.h.
63717         (_ufc_setup_salt_r): Return bool.
63718         * crypt/crypt-entry.c: Include errno.h.
63719         (__crypt_r): Return NULL with EINVAL for bad salt.
63720         * crypt/crypt_util.c (bad_for_salt): New.
63721         (_ufc_setup_salt_r): Check that salt is long enough and within
63722         the specified alphabet.
63723         * crypt/badsalttest.c: New file.
63724         * crypt/Makefile (tests): Add it.
63725         ($(objpfx)badsalttest): New.
63727 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63729         * NEWS: Add entry for BZ #14602.
63731 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63733         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63734         type-generic.
63735         * math/libm-test.inc: Update comment listing what functions and
63736         macros are tested.
63737         (isgreater_test): New function.
63738         (isgreaterequal_test): Likewise.
63739         (isless_test): Likewise.
63740         (islessequal_test): Likewise.
63741         (islessgreater_test): Likewise.
63742         (isunordered_test): Likewise.
63743         (main): Call the new functions.
63745 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63747         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63748         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63749         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63750         * sysdeps/i386/configure: Regenerated.
63751         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63752         * sysdeps/mach/configure: Regenerated.
63753         * sysdeps/mach/hurd/configure: Regenerated.
63754         * sysdeps/powerpc/configure: Regenerated.
63755         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63756         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63757         * sysdeps/s390/s390-32/configure: Regenerated.
63758         * sysdeps/s390/s390-64/configure: Regenerated.
63759         * sysdeps/sh/configure: Regenerated.
63760         * sysdeps/sparc/configure: Regenerated.
63761         * sysdeps/unix/sysv/linux/configure: Regenerated.
63762         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63763         * sysdeps/x86_64/configure: Regenerated.
63765         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63766         defined.  Don't check if MAP is NULL.
63768 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63770         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63771         (_G_stat64): Likewise.
63772         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63773         (_G_stat64): Likewise.
63774         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63775         instead of struct _G_stat64.
63776         * libio/fileops.c (mmap_remap_check): Likewise.
63777         (decide_maybe_mmap): Likewise.
63778         (_IO_new_file_seekoff): Likewise.
63779         (_IO_file_stat): Likewise.
63780         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63781         _G_off64_t.
63782         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63783         instead of struct _G_stat64.
63784         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63786 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63788         [BZ #14602]
63789         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63790         Replace with ...
63791         (CHECK_EOL): New macro.
63792         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63793         CHECK_EOL.
63794         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63795         Replace with CHECK_EOL.
63796         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63797         Replace with CHECK_EOL.
63799 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63801         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63802         type-generic.
63803         * math/libm-test.inc: Update comment listing what functions and
63804         macros are tested.
63805         (finite_test): New function.
63806         (isinf_test): Likewise.
63807         (isnan_test): Likewise.
63808         (fpclassify_test): Test subnormal input.
63809         (isfinite_test): Likewise.
63810         (isnormal_test): Likewise.
63811         (main): Call the new functions.
63813 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63815         [BZ #14660]
63816         * Makerules (%.dynsym): Force C locale when running
63817         $(OBJDUMP) --dynamic-syms.
63819 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63821         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63822         <stdint.h>.
63824 2012-10-06  David S. Miller  <davem@davemloft.net>
63826         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63827         upper 32-bits of the length value in %o2 since we use branch-on-register
63828         tests which consider the entire 64-bit register.
63830 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63832         * string/test-strstr.c (check2): Add a test for page boundary.
63834 2012-10-05  David S. Miller  <davem@davemloft.net>
63836         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63837         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63838         file.
63839         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63840         sysdep_routines.
63841         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63842         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63843         and bzero when HWCAP_SPARC_CRYPTO is present.
63845 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63847         [BZ #14602]
63848         * string/test-strstr.c (check2): New function.
63849         (test_main): Call check2.
63851         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63852         and bug-strchr1.
63853         * string/bug-strcasestr1.c (do_test): Moved to ...
63854         * string/test-strcasestr.c (check1): Here.  New function.
63855         (do_one_test): Break out result checking code into ...
63856         (check_result): This.  New function.
63857         (do_one_test): Call check_result.
63858         (test_main): Call check1.
63859         * string/bug-strchr1.c (do_test): Moved to ...
63860         * string/test-strchr.c (check1): Here.  New function.
63861         (do_one_test): Break out result checking code into ...
63862         (check_result): This.  New function.
63863         (do_one_test): Call check_result.
63864         (test_main): Call check1.
63865         * string/bug-strstr1.c (main): Moved to ...
63866         * string/test-strstr.c (check1): Here.  New function.
63867         (do_one_test): Break out result checking code into ...
63868         (check_result): This.  New function.
63869         (do_one_test): Call check_result.
63870         (test_main): Call check1.
63871         * string/bug-strcasestr1.c: Removed.
63872         * string/bug-strchr1.c: Likewise.
63873         * string/bug-strstr1.c: Likewise.
63875         * elf/Makefile (dl-routines): Add hwcaps.
63876         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63877         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63878         (_dl_important_hwcaps): Moved to ...
63879         * elf/dl-hwcaps.c: Here.  New file.
63880         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63882         [BZ #14557]
63883         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63884         if IS_IN_rtld isn't defined.
63886         * elf/dl-support.c (_dl_sysinfo_map): New.
63887         Include "get-dynamic-info.h" and "setup-vdso.h".
63888         (_dl_non_dynamic_init): Call setup_vdso.
63889         * elf/dynamic-link.h: Don't include <assert.h>.
63890         (elf_get_dynamic_info): Moved to ...
63891         * elf/get-dynamic-info.h: Here.  New file.
63892         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63893         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63894         * elf/setup-vdso.h: Here.  New file.
63895         * elf/rtld.c: Include "setup-vdso.h".
63896         (dl_main): Call setup_vdso.
63898 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63900         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63901         creal in comment listing functions tested.  List finite, isinf,
63902         isnan, isless, islessequal, isgreater, isgreaterequal,
63903         islessgreater, isunordered, lgamma_r and pow10 as functions and
63904         macros not tested.  Mention which functions not tested are aliases
63905         for other functions.  Fix typo.  Note that signs of NaNs are not
63906         tested.
63908         * scripts/config.guess: Update from config.git.
63909         * scripts/config.sub: Likewise.
63911 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63913         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63914         * misc/madvise.c (madvise): Renamed to __madvise.
63915         Make madvise a weak alias.
63916         * include/sys/mman.h: Declare __madvise.
63917         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63918         * sysdeps/unix/syscalls.list
63919         (madvise): Make __madvise the strong name, and madvise a weak alias.
63920         * sysdeps/unix/sysv/linux/syscalls.list
63921         (madvise, mmap): Remove redundant entries.
63922         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63923         * malloc/malloc.c (mtrim): Likewise.
63924         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63926 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63928         * sysdeps/mach/hurd/dl-cache.c: File removed.
63929         * config.h.in (USE_LDCONFIG): New #undef.
63930         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63931         * configure: Regenerated.
63932         * elf/Makefile (dl-routines): Add dl-cache only under
63933         [$(use-ldconfig) = yes].
63934         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63935         cache on [USE_LDCONFIG].
63936         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63937         [USE_LDCONFIG].
63938         * elf/rtld.c (dl_main): Likewise.
63940 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63942         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63943         _SC_LEVEL4_CACHE_LINESIZE.
63945 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63947         * sysdeps/unix/bsd/confstr.h: File removed.
63949 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63951         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63952         sys/sdt-config.h.
63954 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63956         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63957         Make 'mapoff' field ElfW(Off) rather than off_t.
63959 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63961         * nscd/Makefile: Remove nscd-cflags and all its users.
63962         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63963         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63965         [BZ #10631]
63966         * malloc.c (malloc_printerr): Clarify error message.
63968 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63970         [BZ #14648]
63971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63972         Set bit_FMA_Usable if FMA is supported.
63973         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63974         macro.
63975         (bit_FMA4_Usable): Updated.
63976         (index_FMA_Usable): New macro.
63977         (CPUID_FMA): Likewise.
63978         (HAS_FMA): Defined with bit_FMA_Usable.
63980 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63982         * bits/types.h (__swblk_t): Type removed.
63983         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63984         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63985         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63986         (__SWBLK_T_TYPE): Likewise.
63987         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63988         (__SWBLK_T_TYPE): Likewise.
63989         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63990         (__SWBLK_T_TYPE): Likewise.
63991         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63992         (__SWBLK_T_TYPE): Likewise.
63994 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63995             Honza Horak <hhorak@redhat.com>
63997         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63998         (xdr_mapname): Use YPMAXMAP as maxsize.
63999         (xdr_peername): Use YPMAXPEER as maxsize.
64000         (xdr_keydat): Use YPAXRECORD as maxsize.
64001         (xdr_valdat): Use YPMAXRECORD as maxsize.
64003 2012-10-01  Roland McGrath  <roland@hack.frob.com>
64005         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
64007         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
64008         * csu/init-first.c: ... here.
64009         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
64010         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
64011         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
64012         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
64013         * sysdeps/i386/init-first.c: File removed.
64014         * sysdeps/sh/init-first.c: File removed.
64016 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
64018         [BZ #14645]
64019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
64020         if x * y might underflow to zero and z is zero.
64021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64022         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64023         * math/libm-test.inc (min_subnorm_value): New variable.
64024         (fma_test): Add more tests.
64025         (fma_test_towardzero): Likewise.
64026         (fma_test_downward): Likewise.
64027         (fma_test_upward): Likewise.
64028         (initialize): Set min_subnorm_value.
64030 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
64032         [BZ #14638]
64033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
64034         0 + 0.
64035         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
64036         mode for addition resulting in exact zero.
64037         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
64038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
64039         exact 0 + 0.
64040         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64041         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64042         * math/libm-test.inc (fma_test): Add more tests.
64043         (fma_test_towardzero): New function.
64044         (fma_test_downward): Likewise.
64045         (fma_test_upward): Likewise.
64046         (main): Call the new functions.
64048 2012-09-28  David S. Miller  <davem@davemloft.net>
64050         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
64052 2012-09-28  Roland McGrath  <roland@hack.frob.com>
64054         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
64055         instead of SIGALRM.
64057         * sysdeps/gnu/_G_config.h: Moved to ...
64058         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
64059         * sysdeps/mach/hurd/_G_config.h: Moved to ...
64060         * sysdeps/generic/_G_config.h: ... here.
64062         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
64064         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
64066         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
64067         Conditionalize target on [libnss_test1.so-version].
64069         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
64071         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
64072         (elfobjdir): Move out of conditionals.
64074         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
64075         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
64076         (__nss_lookup_function): Conditionalize label remove_from_tree on
64077         [!DO_STATIC_NSS || SHARED], matching its only use.
64079 2012-09-28  David S. Miller  <davem@davemloft.net>
64081         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
64082         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
64083         file.
64084         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64085         sysdep_routines.
64086         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64087         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
64088         when HWCAP_SPARC_CRYPTO is present.
64090 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64092         * io/tst-mknodat.c: Create a FIFO instead of a socket.
64094 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
64096         [BZ #6530]
64097         * stdio-common/vfprintf.c (process_string_arg): Revert
64098         2000-07-22 change.
64100 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
64102         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
64103         for testcase.
64104         * stdio-common/tst-sprintf.c: Include <locale.h>
64105         (main): Test sprintf's handling of incomplete multibyte
64106         characters.
64108 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
64110         * elf/dl-runtime.c (VERSYMIDX): Removed.
64111         * elf/dl-version.c (VERSYMIDX): Likewise.
64112         * elf/do-rel.h (VERSYMIDX): Likewise.
64113         (VALIDX): Likewise.
64114         * elf/dynamic-link.h (VERSYMIDX): Likewise.
64115         * elf/rtld.c (VALIDX): Likewise.
64116         (ADDRIDX): Likewise.
64117         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
64118         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
64119         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
64120         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
64121         (VALIDX): Likewise.
64122         (ADDRIDX): Likewise.
64124 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64126         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
64128 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
64130         [BZ #11438]
64131         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
64132         to global scope.
64133         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
64134         addresses are in the same scope as 192.0.2/24.
64135         * posix/gai.conf: Document new scope table defaults.
64137 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64139         [BZ #5298]
64140         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
64141         for ftell.  Compute offsets from write pointers instead.
64142         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
64144 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64146         [BZ #14543]
64147         * libio/Makefile (tests): New test case tst-fseek.
64148         * libio/tst-fseek.c: New test case to verify that fseek/ftell
64149         combination works in wide mode.
64150         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
64151         state when the external buffer state changes.
64153 2012-09-27  David S. Miller  <davem@davemloft.net>
64155         [BZ #14376]
64156         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
64157         pass reloc->r_addend in as the 'high' argument to
64158         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
64160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64162 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64164         * rt/tst-aio2.c: Include <pthread.h>.
64165         * rt/tst-aio3.c: Likewise.
64167 2012-09-27  Steve Ellcey  <sellcey@mips.com>
64169         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
64171 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
64173         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
64174         contents on [SHARED].
64176 2012-09-26  Marek Polacek  <polacek@redhat.com>
64178         [BZ #14530]
64179         [BZ #13741]
64180         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
64181         for C++ and GCC <4.3 as well as for non GCC compilers.
64183 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64187 2012-09-25  Roland McGrath  <roland@hack.frob.com>
64189         * Makefile.in (all, install): Declare with .PHONY.
64190         Reported by Michael Hope <michael.hope@linaro.org>.
64192 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64194         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
64195         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
64196         system header.
64197         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
64198         Likewise.
64199         (sydep_routines): Add the new and the internal functions.
64200         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
64201         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
64202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
64203         (GLIBC_2.17): Add the new function.
64204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64205         (GLIBC_2.17): Likewise.
64206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
64207         (GLIBC_2.17): Likewise.
64208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
64209         (GLIBC_2.17): Likewise.
64210         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
64212 2012-09-25  Alan Modra  <amodra@gmail.com>
64214         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
64215         Add release barrier before setting once_control to say
64216         initialisation is done.  Add hints on lwarx.  Use macro in
64217         place of isync.
64218         (clear_once_control): Add release barrier.
64220 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64222         [BZ #13629]
64223         * math/s_clog.c (__clog): Handle more values close to |z| = 1
64224         specially.
64225         * math/s_clog10.c (__clog10): Likewise.
64226         * math/s_clog10f.c (__clog10f): Likewise.
64227         * math/s_clog10l.c (__clog10l): Likewise.
64228         * math/s_clogf.c (__clogf): Likewise.
64229         * math/s_clogl.c (__clogl): Likewise.
64230         * math/Makefile (libm-calls): Add x2y2m1.
64231         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
64232         (__x2y2m1): Likewise.
64233         (__x2y2m1l): Likewise.
64234         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
64235         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
64236         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
64237         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
64238         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
64239         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
64240         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
64241         * sysdeps/i386/fpu/libm-test-ulps: Update.
64242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64244         [BZ #14621]
64245         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
64246         int as type of variable DEPTH.
64247         (glob): Use size_t instead of int as type of variables NEWCOUNT
64248         and OLD_PATHC.
64250 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64252         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64253         Add s_sincosf-sse2.
64254         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
64255         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
64256         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
64257         macros for using routine as __sincosf_ia32.
64258         Use macro for function declaration and weak_alias.
64259         * sysdeps/i386/fpu/libm-test-ulps: Update.
64261         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
64262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64264         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
64265         subnormal argument.
64266         * math/s_cexpf.c (__cexpf): Likewise.
64267         * math/s_csinf.c (__csinf): Likewise.
64268         * math/s_csinhf.c (__csinhf): Likewise.
64269         * math/s_ctanf.c (__ctanf): Likewise.
64270         * math/s_ctanhf.c (__ctanhf): Likewise.
64271         * math/s_ccosh.c (__ccoshf): Likewise.
64272         * math/s_cexp.c (__cexpl): Likewise.
64273         * math/s_csin.c (__csin): Likewise.
64274         * math/s_csinh.c (__csinh): Likewise.
64275         * math/s_ctan.c (__ctan): Likewise.
64276         * math/s_ctanh.c (ctanh): Likewise.
64277         * math/s_ccoshl.c (__ccoshl): Likewise.
64278         * math/s_cexpl.c (__cexpl): Likewise.
64279         * math/s_csinl.c (__csinl): Likewise.
64280         * math/s_csinhl.c (__csinhl): Likewise.
64281         * math/s_ctanl.c (__ctanl): Likewise.
64282         * math/s_ctanhl.c (__ctanhl): Likewise.
64284 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64286         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
64287         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
64288         (_IO_off_t): Define to __off_t, not _G_off_t.
64289         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
64290         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64291         (_IO_wint_t): Define to wint_t, not _G_wint_t.
64292         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64293         type of __dummy and __dummy2 fields.
64294         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64295         (_G_ssize_t): Likewise.
64296         (_G_off_t): Likewise.
64297         (_G_pid_t): Likewise.
64298         (_G_uid_t): Likewise.
64299         (_G_wchar_t): Likewise.
64300         (_G_wint_t): Likewise.
64301         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64302         (_G_ssize_t): Likewise.
64303         (_G_off_t): Likewise.
64304         (_G_pid_t): Likewise.
64305         (_G_uid_t): Likewise.
64306         (_G_wchar_t): Likewise.
64307         (_G_wint_t): Likewise.
64308         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64309         (_G_ssize_t): Likewise.
64310         (_G_off_t): Likewise.
64311         (_G_pid_t): Likewise.
64312         (_G_uid_t): Likewise.
64313         (_G_wchar_t): Likewise.
64314         (_G_wint_t): Likewise.
64316 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64318         * malloc/arena.c: Include malloc-sysdep.h.
64319         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64320         is sufficient to shrink the heap or an unmap is needed.
64321         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64322         new function check_may_shrink_heap.
64323         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64324         new function check_may_shrink_heap.
64326 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64328         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64329         comments.
64331 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64333         * catgets/test-gencat.sh: Add "set -e".
64334         * elf/tst-pathopt.sh: Likewise.
64335         * grp/tst_fgetgrent.sh: Likewise.
64336         * iconvdata/run-iconv-test.sh: Likewise.
64337         * intl/tst-gettext.sh: Likewise.
64338         * intl/tst-gettext2.sh: Likewise.
64339         * intl/tst-gettext4.sh: Likewise.
64340         * intl/tst-gettext6.sh: Likewise.
64341         * intl/tst-translit.sh: Likewise.
64342         * io/ftwtest-sh: Likewise.
64343         * libio/test-freopen.sh: Likewise.
64344         * malloc/tst-mtrace.sh: Likewise.
64345         * posix/globtest.sh: Likewise.
64346         * posix/tst-getconf.sh: Likewise.
64347         * posix/wordexp-tst.sh: Likewise.
64348         * stdio-common/tst-printf.sh: Likewise.
64349         * stdio-common/tst-unbputc.sh: Likewise.
64350         * stdlib/tst-fmtmsg.sh: Likewise.
64351         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64352         * catgets/Makefile: Do not specify -e option when running
64353         testsuite shell scripts.
64354         * elf/Makefile: Likewise.
64355         * grp/Makefile: Likewise.
64356         * iconvdata/Makefile: Likewise.
64357         * intl/Makefile: Likewise.
64358         * io/Makefile: Likewise.
64359         * libio/Makefile: Likewise.
64360         * malloc/Makefile: Likewise.
64361         * posix/Makefile: Likewise.
64362         * stdio-common/Makefile: Likewise.
64363         * stdlib/Makefile: Likewise.
64364         * sysdeps/x86_64/Makefile: Likewise.
64366         * io/ftwtest-sh: Add copyright header.
64367         * posix/globtest.sh: Likewise.
64368         * posix/tst-getconf.sh: Likewise.
64369         * posix/wordexp-tst.sh: Likewise.
64370         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64372 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64374         [BZ #13679]
64375         * Makeconfig (+link): Defined as $(+link-static) if
64376         $(build-shared) isn't yes.
64377         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64378         isn't yes.
64379         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64381         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64383         [BZ #14562]
64384         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64385         new chunk size with MALLOC_ALIGN_MASK.
64387 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64389         [BZ #5044]
64390         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64391         <rounding-mode.h>.
64392         (__printf_fphex): Determine rounding using get_rounding_mode and
64393         round_away.
64394         * stdio-common/tst-printf-round.c (struct hex_test): New
64395         structure.
64396         (hex_tests): New variable.
64397         (test_hex_in_one_mode): New function.
64398         (do_test): Also run tests for hex float output.
64400 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64402         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64403         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64404         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64405         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64406         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64407         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64408         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64409         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64411 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64413         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64414         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64415         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64416         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64418 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64420         [BZ #14579]
64421         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64422         mode only.
64423         * elf/tst-rtld-load-self.sh: New test.
64424         * elf/Makefile: Run it.
64426 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64428         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64429         (tst-writev-ENV): Remove.
64430         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64432 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64434         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64436 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64438         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64439         unconditional.
64440         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64441         Likewise.
64442         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64443         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64444         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64445         Likewise.
64447 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64449         [BZ #14587]
64450         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64451         * config.make.in (have-cpp-asm-debuginfo): Removed.
64452         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64453         * configure: Regenerated.
64455 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64457         [BZ #5044]
64458         * stdio-common/printf_fp.c: Include <stdbool.h> and
64459         <rounding-mode.h>.
64460         (___printf_fp): Determine rounding using get_rounding_mode and
64461         round_away.
64462         * stdio-common/tst-printf-round.c: New file.
64463         * stdio-common/Makefile (tests): Add tst-printf-round.
64464         (link-libm): New variable.
64465         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64467 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64469         [BZ #14576]
64470         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64471         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64472         Likewise.
64473         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64474         Likewise.
64476 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64478         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64479         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64480         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64481         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64483 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64485         [BZ #14518]
64486         * include/rounding-mode.h: New file.
64487         * sysdeps/generic/get-rounding-mode.h: Likewise.
64488         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64489         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64490         (MAX_VALUE): New macro.
64491         (MIN_VALUE): Likewise.
64492         (overflow_value): New function.
64493         (underflow_value): Likewise.
64494         (round_and_return): Use overflow_value and underflow_value to
64495         determine return values in overflow and underflow cases.  Use
64496         round_away to determine rounding depending on rounding mode.
64497         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64498         determine return values in overflow and underflow cases.
64499         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64500         (struct test_results): New structure.
64501         (struct test): Use struct test_results to store expected results
64502         for all rounding modes.
64503         (TEST): Include expected results for all rounding modes.
64504         (test_in_one_mode): New function.
64505         (do_test): Use test_in_one_mode to compute and check results.
64506         Check results for all rounding modes.
64507         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64508         $(link-libm).
64510 2012-12-09  Allan McRae  <allan@archlinux.org>
64512         * sysdeps/i386/fpu/libm-test-ulps: Update
64514 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64516         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64517         (_G_int32_t): Likewise.
64518         (_G_uint16_t): Likewise.
64519         (_G_uint32_t): Likewise.
64520         (_G_HAVE_BOOL): Likewise.
64521         (_G_HAVE_ATEXIT): Likewise.
64522         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64523         (_G_HAVE_IO_FILE_OPEN): Likewise.
64524         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64525         (_G_int32_t): Likewise.
64526         (_G_uint16_t): Likewise.
64527         (_G_uint32_t): Likewise.
64528         (_G_HAVE_BOOL): Likewise.
64529         (_G_HAVE_ATEXIT): Likewise.
64530         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64531         (_G_HAVE_IO_FILE_OPEN): Likewise.
64532         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64533         (_G_int32_t): Likewise.
64534         (_G_uint16_t): Likewise.
64535         (_G_uint32_t): Likewise.
64536         (_G_HAVE_BOOL): Likewise.
64537         (_G_HAVE_ATEXIT): Likewise.
64538         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64539         (_G_HAVE_IO_FILE_OPEN): Likewise.
64541 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64543         * csu/libc-tls.c: Update copyright years.
64545 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64547         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64548         [!_G_USING_THUNKS]: Remove conditional code.
64549         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64550         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64552         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64553         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64554         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64555         (_G_VTABLE_LABEL_PREFIX): Likewise.
64556         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64557         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64558         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64559         (_G_VTABLE_LABEL_PREFIX): Likewise.
64560         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64561         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64562         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64563         (_G_VTABLE_LABEL_PREFIX): Likewise.
64564         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64566 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64568         * libio/Makefile: Include ../Makeconfig before tests.
64569         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64570         only if $(build-shared) is yes.
64572         * iconv/gconv_db.c: Update copyright years.
64574 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64576         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64577         unwind info if defined PIC. Fix special cases description.
64578         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64580         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64581         DP_HI_MASK entry.
64582         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64584 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64586         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64588         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64589         is NULL.
64591         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64592         (LDLIBS-tst-chk4): This.
64593         (LDFLAGS-tst-chk5): Renamed to ...
64594         (LDLIBS-tst-chk5): This.
64595         (LDFLAGS-tst-chk6): Renamed to ...
64596         (LDLIBS-tst-chk6): This.
64597         (LDFLAGS-tst-lfschk4): Renamed to ...
64598         (LDLIBS-tst-lfschk4): This.
64599         (LDFLAGS-tst-lfschk5): Renamed to ...
64600         (LDLIBS-tst-lfschk5): This.
64601         (LDFLAGS-tst-lfschk6): Renamed to ...
64602         (LDLIBS-tst-lfschk6): This.
64604         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64605         on $(common-objpfx)soversions.mk.
64607 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64609         [BZ #10014]
64610         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64611         example host name.
64613 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64615         * malloc/arena.c (arena_get_retry): New function that gets
64616         another arena for the caller to try its request on.
64617         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64618         current arena cannot fulfill the request.
64619         (__libc_memalign): Likewise.
64620         (__libc_memalign): Likewise.
64621         (__libc_pvalloc): Likewise.
64622         (__libc_calloc): Likewise.
64624 2012-09-05  John Tobey  <john.tobey@gmail.com>
64626         [BZ #13542]
64627         * manual/arith.texi (Operations on Complex): Fix description
64628         of carg branch cut.
64630 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64632         [BZ #10014]
64633         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64634         host name.
64636         [BZ #10038]
64637         * manual/memory.texi (Memory): Make order of menu items match
64638         order of sections.
64640 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64642         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64643         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64644         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64646 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64648         * csu/libc-tls.c (static_dtv): Renamed to ...
64649         (_dl_static_dtv): This.  Make it global.
64650         (_dl_initial_dtv): Removed.
64651         (__libc_setup_tls): Updated.
64652         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64653         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64654         DL_INITIAL_DTV.
64656 2012-09-06  Petr Machata  <pmachata@redhat.com>
64658         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64659         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64660         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64661         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64663 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64665         [BZ #14545]
64666         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64667         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64668         freeing dtv[-1].
64670 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64672         [BZ #14544]
64673         * Makeconfig (link-static-before-libc): Replace $(+prector)
64674         with $(+prectorT).
64675         (link-static-after-libc): Replace $(+postctor) with
64676         $(+postctorT).
64677         (link-bounded): Replace $(+prector)/$(+postctor) with
64678         $(+prectorT)/$(+postctorT).
64679         (+prectorT): New macro.
64680         (+postctorT): Likewise.
64682 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64684         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64685         (round_str): Handle values above the maximum for IBM long double
64686         as inexact.
64687         * stdlib/tst-strtod-round.c (tests): Regenerated.
64689 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64691         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64692         assembler flag.
64693         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64694         zarch_nohighgprs around the zarch optimized routines.
64695         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64696         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64697         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64698         for zarch.
64700 2012-09-05  David S. Miller  <davem@davemloft.net>
64702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64704         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64705         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64706         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64707         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64708         entries.
64710 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64712         * malloc/arena.c: Fold copyright years.
64713         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64715 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64717         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64719 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64721         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64723 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64725         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64726         change internal state upon failure.
64728 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64730         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64731         * malloc/memusage.c (mmap): Likewise.
64732         (mmap64, mremap): Likewise.  Adjust name in comment.
64734 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64736         * libio/fileops.c: Fix typos in comments.
64737         * libio/oldfileops.c: Likewise.
64738         * libio/wfileops.c: Likewise.
64740 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64742         [BZ #1349]
64743         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64744         (tst-malloc-usable-ENV): Set environment for test case.
64745         * malloc/hooks.c (malloc_check_get_size): New function to get
64746         requested size.
64747         * malloc/malloc.c (musable): Use malloc_check_get_size.
64748         * malloc/tst-malloc-usable.c: New test case.
64750 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64752         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64754 2012-09-05  Allan McRae  <allan@archlinux.org>
64756         [BZ #13966]
64757         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64758         determine header location.
64759         * configure: Regenerated.
64761 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64763         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64764         float format.
64765         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64766         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64767         format.
64768         (test): Regenerate.
64770 2012-09-04  David S. Miller  <davem@davemloft.net>
64772         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64773         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64774         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64776 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64778         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64779         failures.
64781         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64783 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64785         [BZ #9914]
64786         * libio/iogetdelim.c: Include <limits.h>.
64787         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64788         + len + 1 would overflow.
64790 2012-09-03  Andreas Jaeger  <aj@suse.de>
64792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64793         * sysdeps/i386/fpu/libm-test-ulps: Update.
64795 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64797         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64798         Add s_sinf-sse2, s_conf-sse2.
64800         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64801         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64802         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64803         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64805         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64806         for using routine as __sinf_ia32.
64807         Use macro for function declaration and weak_alias.
64808         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64809         for using routine as __cosf_ia32.
64810         Use macro for function declaration and weak_alias.
64812         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64813         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64815         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64816         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64819         * math/libm-test.inc (cos_test): Add more test cases.
64820         (sin_test): Likewise.
64821         (sincos_test): Likewise.
64823 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64825         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64826         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64827         hidden.
64828         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64830 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64832         [BZ #14538]
64833         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64834         first element of the GOT.
64835         (elf_machine_load_address): Return the difference between
64836         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64838 2012-09-01  Allan McRae  <allan@archlinux.org>
64840         [BZ #13412]
64841         * configure.in (AWK): Require gawk version 3.0 or later.
64842         * configure: Regenerated.
64844 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64846         * sysdeps/unix/sysv/linux/kernel-features.h
64847         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64848         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64849         [__NR_clock_getres]: Make code unconditional.
64850         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64851         (clock_getcpuclockid): Remove code left unreachable by removal of
64852         conditionals.
64853         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64854         code unconditional.
64855         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64856         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64857         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64858         Make code unconditional.
64859         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64860         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64861         * sysdeps/unix/sysv/linux/clock_settime.c
64862         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64863         conditional code.
64864         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64865         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64867 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64869         [BZ #14476]
64870         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64871         scripts/test-installation.pl.
64873         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64874         and $ld_so_version if it is set.
64876 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64878         [BZ #14516]
64879         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64880         failure if reading from procfs failed.
64881         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64883 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64885         * sysdeps/unix/sysv/linux/kernel-features.h
64886         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64887         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64888         Remove conditional code.
64889         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64890         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64891         Remove conditional code.
64892         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64893         * sysdeps/unix/sysv/linux/i386/fxstat.c
64894         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64895         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64896         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64897         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64898         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64899         * sysdeps/unix/sysv/linux/i386/lxstat.c
64900         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64901         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64902         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64903         Remove conditional code.
64904         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64905         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64906         Remove conditional code.
64907         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64908         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64909         <kernel-features.h>.
64910         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64911         Remove.
64912         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64913         Remove conditional code.
64914         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64915         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64916         Remove conditional.
64918 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64920         [BZ #5400]
64921         * NEWS: Add fixed bug number.
64923 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64925         [BZ #14519]
64926         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64927         underflowing exponent in case of negative sign.
64928         * stdlib/tst-strtod-round-data: Add more tests.
64929         * stdlib/tst-strtod-round.c (tests): Regenerated.
64931         [BZ #3479]
64932         * stdlib/strtod_l.c (NDIG): Remove.
64933         (HEXNDIG): Likewise.
64934         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64935         smallest representable value.
64936         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64937         lie within an exact representation of 1/2 ulp of the result.
64938         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64939         unconditionally.
64940         (TENS_P9_IDX): Define unconditionally.
64941         (TENS_P9_SIZE): Likewise.
64942         (TENS_P10_IDX): Likewise.
64943         (TENS_P10_SIZE): Likewise.
64944         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64945         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64946         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64947         entries for 10^2^13 and 10^2^14.
64948         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64949         (TENS_P13_IDX): Define.
64950         (TENS_P13_SIZE): Likewise.
64951         (TENS_P14_IDX): Likewise.
64952         (TENS_P14_SIZE): Likewise.
64953         (_fpioconst_pow10): Change array size to
64954         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64955         unconditional.
64956         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64957         1024]: Add entries for 10^2^13 and 10^2^14.
64958         [LAST_POW10 > _LAST_POW10]: Remove #error.
64959         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64960         (_fpioconst_pow10): Change array size to
64961         FPIOCONST_POW10_ARRAY_SIZE.
64962         * stdlib/gen-fpioconst.c: New file.
64963         * stdlib/gen-tst-strtod-round.c: Likewise.
64964         * stdlib/tst-strtod-round-data: Likewise.
64965         * stdlib/tst-strtod-round.c: Likewise.
64966         * stdlib/Makefile (tests): Add tst-strtod-round.
64968         [BZ #14459]
64969         * stdlib/strtod_l.c: Include <stdint.h>.
64970         (NDEBUG): Do not define.
64971         (round_and_return): Change EXPONENT parameter to type intmax_t.
64972         Rearrange calculations to avoid internal overflow possibilities.
64973         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64974         Rearrange calculations to avoid internal overflow possibilities.
64975         Assert that number fits inside MPNSIZE limbs.
64976         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64977         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64978         calculations and add assertions to avoid internal overflow
64979         possibilities.  Add casts to avoid signed/unsigned operations.
64980         * stdlib/tst-strtod-overflow.c: New file.
64981         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64983 2012-08-25  Marek Polacek  <polacek@redhat.com>
64985         * time/time.h: Fix some typos in comments.
64987 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64989         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64990         * posix/tst-rfc3484-2.c: Likewise.
64991         * posix/tst-rfc3484-3.c: Likewise.
64993 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64995         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64996         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64998 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
65000         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
65001         #include of fxstatat64.c.
65003 2012-08-22  Roland McGrath  <roland@hack.frob.com>
65005         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
65006         * shadow/getspent_r.c: Likewise.
65007         * shadow/getspnam.c: Likewise.
65008         * shadow/getspnam_r.c: Likewise.
65009         * gshadow/getsgent.c: Likewise.
65010         * gshadow/getsgent_r.c: Likewise.
65011         * gshadow/getsgnam.c: Likewise.
65012         * gshadow/getsgnam_r.c: Likewise.
65013         * inet/getnetbyad.c: Likewise.
65014         * inet/getnetbyad_r.c: Likewise.
65015         * inet/getnetbynm.c: Likewise.
65016         * inet/getnetbynm_r.c: Likewise.
65017         * inet/getnetent.c: Likewise.
65018         * inet/getnetent_r.c: Likewise.
65019         * inet/getproto.c: Likewise.
65020         * inet/getproto_r.c: Likewise.
65021         * inet/getprtent.c: Likewise.
65022         * inet/getprtent_r.c: Likewise.
65023         * inet/getprtname.c: Likewise.
65024         * inet/getprtname_r.c: Likewise.
65025         * inet/getrpcbyname.c: Likewise.
65026         * inet/getrpcbyname_r.c: Likewise.
65027         * inet/getrpcbynumber.c: Likewise.
65028         * inet/getrpcbynumber_r.c: Likewise.
65029         * inet/getrpcent.c: Likewise.
65030         * inet/getrpcent_r.c: Likewise.
65031         * inet/getaliasent.c: Likewise.
65032         * inet/getaliasent_r.c: Likewise.
65033         * inet/getaliasname.c: Likewise.
65034         * inet/getaliasname_r.c: Likewise.
65035         * nscd/getgrgid_r.c: Likewise.
65036         * nscd/getgrnam_r.c: Likewise.
65037         * nscd/gethstbyad_r.c: Likewise.
65038         * nscd/gethstbynm3_r.c: Likewise.
65039         * nscd/getpwnam_r.c: Likewise.
65040         * nscd/getpwuid_r.c: Likewise.
65041         * nscd/getsrvbynm_r.c: Likewise.
65042         * nscd/getsrvbypt_r.c: Likewise.
65043         * nscd/gai.c: Likewise.
65045         * configure.in (build_nscd): New substituted variable, set
65046         by --disable-build-nscd and defaults to $use_nscd.
65047         * configure: Regenerated.
65048         * config.make.in (build-nscd): New substituted variable.
65049         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
65050         Change conditional to require [$(build-nscd) = yes] as well.
65051         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
65053         [BZ# 13696]
65054         * configure.in (use_nscd): New substituted variable, set by
65055         --disable-nscd.  If enabled, define USE_NSCD.
65056         * configure: Regenerated.
65057         * config.h.in: Add USE_NSCD.
65058         * config.make.in (use-nscd): New substituted variable.
65059         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
65060         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
65061         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
65062         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
65063         (CFLAGS-getgrnam_r.c): Likewise.
65064         (CFLAGS-initgroups.c): Likewise.
65065         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
65066         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
65067         Variables removed.
65068         * inet/getnetgrent_r.c
65069         (nscd_setnetgrent): New function, broken out of ...
65070         (setnetgrent): ... here.  Call it.
65071         (innetgr): Conditionalize nscd bits on [USE_NSCD].
65072         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
65073         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
65074         * nscd/Makefile (routines, aux): Move definitions after include of
65075         Makeconfig.  Conditionalize on [$(use-nscd) != no].
65076         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
65077         Conditionalize on [USE_NSCD].
65078         (is_nscd, nscd_init_cb): Likewise.
65079         (nss_load_library): Conditionalize init callback on [USE_NSCD].
65080         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
65081         * nss/nss_db/db-init.c: Likewise.
65082         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
65083         [USE_NSCD].
65084         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
65085         (make_request): Use it.
65086         (cache_valid_p): New function.
65087         (__check_pf): Use it.
65088         * NEWS: Add item for --disable-nscd.
65090 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
65092         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
65093         to support sed >= 4.2.1-20-ga9bf076.
65094         * configure: Regenerated.
65096 2012-08-22  Roland McGrath  <roland@hack.frob.com>
65098         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
65099         Conditionalize whole body on [IREL].
65101 2012-08-22  Jeff Law <law@redhat.com>
65103         [BZ #14505]
65104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
65105         if the family is PF_UNSPEC.
65107 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
65109         * Makerules (lib-version): Rename from V.
65110         (install-lib-nosubdir): Change V to lib-version.
65112 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
65114         [BZ #14252]
65115         * powerpc32/power6/wcschr.c: New file.
65116         * powerpc32/power6/wcscpy.c: New file.
65117         * powerpc32/power6/wcsrchr.c: New file.
65118         * powerpc64/power6/wcschr.c: New file.
65119         * powerpc64/power6/wcscpy.c: New file.
65120         * powerpc64/power6/wcsrchr.c: New file.
65122 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
65124         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
65125         (two_way_short_needle): Use it.
65126         * string/strstr.c (AVAILABLE1_USES_J): Define.
65127         * string/strcasestr.c: Likewise.
65129         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
65130         array references.
65131         * string/strcasestr.c (TOLOWER): Make side-effect safe.
65133         [BZ #11607]
65134         * NEWS: Add an entry.
65135         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
65136         define their defaults.
65137         (two_way_short_needle): Detect end-of-string on-the-fly.
65138         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
65139         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
65140         * string/bug-strcasestr1.c: New test.
65141         * string/Makefile: Run it.
65143 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
65145         [BZ #11607]
65146         * string/str-two-way.h (two_way_short_needle): Optimize matching of
65147         the first character.
65149 2012-08-21  Roland McGrath  <roland@hack.frob.com>
65151         * csu/elf-init.c (__libc_csu_irel): Function removed.
65152         * csu/libc-start.c (apply_irel): New function.
65153         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
65155 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
65157         * sysdeps/unix/sysv/linux/kernel-features.h
65158         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
65159         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65160         <kernel-features.h>.
65161         [__NR_fadvise64_64]: Make code unconditional.
65162         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
65163         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65164         !__NR_fadvise64_64)]: Likewise.
65165         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65166         !__NR_fadvise64_64))]: Likewise.
65167         [__NR_fadvise64]: Make code unconditional.
65168         [!__NR_fadvise64]: Remove conditional code.
65169         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
65170         <kernel-features.h>.
65171         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65172         unconditional.
65173         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65174         conditional code.
65175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
65176         not include <kernel-features.h>.
65177         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65178         unconditional.
65179         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65180         conditional code.
65181         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
65182         include <kernel-features.h>.
65183         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65184         unconditional.
65185         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65186         conditional code.
65188 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65190         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
65191         slight instruction rearrangements per scrollpipe analysis.
65192         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65194 2012-08-20  Roland McGrath  <roland@hack.frob.com>
65196         * manual/syslog.texi (syslog; vsyslog, closelog):
65197         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
65198         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
65200         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
65201         DSOCAPS to match condition on defining it.
65203 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
65205         * sysdeps/unix/sysv/linux/kernel-features.h
65206         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
65207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
65208         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65209         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
65211         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65212         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
65214         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65215         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65217         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
65218         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
65220         * sysdeps/unix/sysv/linux/kernel-features.h
65221         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
65222         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
65223         unconditional.
65224         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65225         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
65226         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65227         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65228         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
65229         Make code unconditional.
65230         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65231         (__mmap64) [!__NR_mmap2]: Likewise.
65232         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
65233         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65234         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65235         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
65236         [__NR_mmap2]: Make code unconditional.
65237         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65238         (__mmap64) [!__NR_mmap2]: Likewise.
65240 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65242         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
65244 2012-08-18  Andreas Jaeger  <aj@suse.de>
65246         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
65248 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65250         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
65251         * include/unistd.h (__have_sock_cloexec): Likewise.
65252         (__have_pipe2): Likewise.
65253         (__have_dup3): Likewise.
65255 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65257         [BZ #9685]
65258         * include/unistd.h (__have_pipe2): Change define into an extern int.
65259         (__have_dup3): Likewise.
65260         * socket/have_sock_cloexec.c: Include fcntl.h.
65261         (__have_pipe2): New variable.
65262         (__have_dup3): Likewise.
65264 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
65266         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
65268 2012-08-17  Marek Polacek  <polacek@redhat.com>
65270         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
65271         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
65273 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65275         * configure.in: Add AC_SUBST for sysheaders.
65276         * configure: Regenerated.
65277         * config.make.in (sysheaders): New substituted variable.
65279         * sysdeps/unix/mkfifo.c: Moved ...
65280         * sysdeps/posix/mkfifo.c: ... here.
65281         * sysdeps/unix/mkfifoat.c: Moved ...
65282         * sysdeps/posix/mkfifoat.c: ... here.
65284         * sysdeps/unix/utime.c: Moved ...
65285         * sysdeps/posix/utime.c: ... here.
65287         * sysdeps/unix/time.c: Moved ...
65288         * sysdeps/posix/time.c: ... here.
65289         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
65290         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65292         * sysdeps/unix/nice.c: Moved ...
65293         * sysdeps/posix/nice.c: ... here.
65295         * sysdeps/unix/alarm.c: Moved ...
65296         * sysdeps/posix/alarm.c: ... here.
65298         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65300 2012-08-17  Jeff Law <law@redhat.com>
65302         * intl/Makefile (codeset_mo): New variable.
65303         ($(codeset_mo)): New target.
65304         (tst-codeset.out): Depend on that.  Remove explicit rule.
65305         (tst-gettext3.out, tst-gettext5.out): Likewise.
65306         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65307         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65308         * intl/tst-codeset.sh: Remove.
65309         * intl/tst-gettext3.sh: Likewise.
65310         * intl/tst-gettext5.sh: Likewise.
65312 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65314         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65315         * sysdeps/unix/syscalls.list: ... here.
65317         * sysdeps/posix/getaddrinfo.c
65318         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65319         (gaiconf_init, gaiconf_reload): Use them.
65320         [!_STATBUF_ST_NSEC]
65321         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65322         Define using time_t rather than struct timespec.
65324         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65325         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65326         Macros removed.
65327         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65328         [!NO_THREADS].
65329         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65330         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65331         Likewise.
65333         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65334         __libc_cleanup_push argument.
65336         * bits/param.h: New file.
65337         * misc/sys/param.h: New file.
65338         * include/sys/param.h: New file.
65339         * misc/Makefile (headers): Add bits/param.h.
65340         * sysdeps/generic/sys/param.h: File removed.
65341         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65342         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65343         * sysdeps/mach/hurd/bits/param.h: New file.
65344         * sysdeps/mach/hurd/sys/param.h: File removed.
65346         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65347         last change.
65349         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65350         [_IO_MTSAFE_IO].
65351         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65352         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65353         New macros.
65355         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65356         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65357         rather than -D_IO_MTSAFE_IO conditionally.
65358         * stdio-common/Makefile (CPPFLAGS): Likewise.
65359         * wcsmbs/Makefile (CPPFLAGS): Likewise.
65360         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65361         Use $(libio-mtsafe).
65362         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65363         of -D_IO_MTSAFE_IO.
65364         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65365         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65366         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65367         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65368         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65369         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65370         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65371         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65372         (CFLAGS-fread_u_chk.c): Likewise.
65373         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65374         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65375         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65376         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65377         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65378         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65379         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65380         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65381         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65383         * libio/Makefile: Test [$(libc-reentrant) = yes]
65384         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65386         * Makeconfig
65387         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65388         * sysdeps/pthread/configure: File removed.
65389         * sysdeps/pthread/Makeconfig: New file.
65390         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65391         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65393 2012-08-16  Gary Benson  <gbenson@redhat.com>
65395         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65396         unmapping the first object in a namespace.
65398 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65400         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65401         (__internal_setnetgrent): ... this.  Add internal_function to
65402         definition.  Add libc_hidden_def.
65403         (setnetgrent): Update caller.
65404         (internal_endnetgrent): Renamed to ...
65405         (__internal_endnetgrent): ... this.  Add internal_function to
65406         definition.  Add libc_hidden_def.
65407         (endnetgrent): Update caller.
65408         (internal_getnetgrent_r): Renamed to ...
65409         (__internal_getnetgrent_r): ... this.  Add internal_function to
65410         definition.  Add libc_hidden_def.
65411         (__getnetgrent_r): Update caller.
65412         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65414 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65416         * stdlib/longlong.h: Update from GCC.
65418 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65420         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65421         on _QL, which is set by umul_ppmm but never used.
65422         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65423         variables, which are set by GMP macros but never used.
65424         * stdio-common/_itowa.c (_itowa): Likewise.
65425         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65426         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65428 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65430         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65431         struct La_sh_regs is not constant.
65432         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65433         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65434         and struct La_sparc64_regs are not constant.
65436 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65438         * sysdeps/unix/sysv/linux/kernel-features.h
65439         (__ASSUME_POSIX_TIMERS): Remove.
65440         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65441         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65442         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65443         Make code unconditional.
65444         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65445         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65446         Make code unconditional.
65447         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65448         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65449         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65450         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65451         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65452         Make code unconditional.
65453         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65454         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65455         (__libc_missing_posix_timers): Remove.
65457 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65459         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65460         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65462         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65464         * elf/dl-sym.c: Include <stdlib.h>.
65466         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65467         constants, which avoids warnings in 32-bit builds.
65469         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65470         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65472         * misc/lseek.c: File moved to ...
65473         * io/lseek.c: ... here.
65475         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65477         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65478         shifting LEN more than 31 bits at once.
65480 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65482         [BZ #14195]
65483         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65484         segmentation fault for a case of two empty input strings.
65485         * string/test-strncasecmp.c (check1): Renamed to...
65486         (bz12205): ...this.
65487         (bz14195): Add new testcase for two empty input strings and N > 0.
65488         (test_main): Call new testcase, adapt for renamed function.
65490 2012-08-15  Andreas Jaeger  <aj@suse.de>
65492         [BZ #14090]
65493         * crypt/md5test2.c: New test, based on test supplied by Serge
65494         Belyshev <belyshev@depni.sinp.msu.ru>.
65495         * crypt/Makefile (xtests): Add md5test-giant..
65496         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65498 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65500         [BZ #14090]
65501         * crypt/md5.c (md5_process_block): Don't assume the buffer
65502         length is less than 2**32.
65503         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65504         length is less than 2**64.
65506 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65508         * string/str-two-way.h: Include <sys/param.h>.
65509         (MAX): Macro removed.
65511         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65512         Move #define and #undef of memmove to just before and after
65513         including <string.h>.
65515         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65516         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65517         and after including <string.h>.  Move declarations of
65518         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65519         to before #include "string/memmove.c".
65521         * include/dirent.h: Declare __getdirentries.
65523         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65524         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65526 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65528         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65529         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65530         * sysdeps/i386/configure: Regenerated.
65531         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65532         STABS_CURRENT_FILE, and STABS_FUN.
65533         (END): Remove call to STABS_FUN_END.
65534         (STABS_CURRENT_FILE1): Delete.
65535         (STABS_CURRENT_FILE): Likewise.
65536         (STABS_FUN): Likewise.
65537         (STABS_FUN_END): Likewise.
65538         (STABS_FUN2): Likewise.
65539         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65540         * sysdeps/x86_64/configure: Regenerated.
65542 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65544         * elf/dl-open.c: Include <atomic.h>.
65545         * elf/dl-lookup.c: Likewise.
65547 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65549         * sysdeps/unix/sysv/linux/kernel-features.h
65550         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65551         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65552         unconditionally.
65553         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65554         unconditionally.
65555         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65556         condition on __ASSUME_CLONE_THREAD_FLAGS.
65558 2012-08-14  Andreas Jaeger  <aj@suse.de>
65560         * sysdeps/i386/fpu/libm-test-ulps: Update.
65562 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65564         * include/atomic.h (atomic_exchange_and_add): Split into ...
65565         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65566         New atomic macros.
65568 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65572 2012-08-13  Jeff Law <law@redhat.com>
65574         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65575         null byte in the output string.
65577 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65579         * sysdeps/unix/sysv/linux/kernel-features.h
65580         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65581         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65582         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65583         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65584         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65585         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65586         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65588 2012-08-09  Jeff Law <law@redhat.com>
65590         [BZ #13939]
65591         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65592         When avoid_arena is set, don't retry in the that arena.  Pick the
65593         next one, whatever it might be.
65594         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65595         (arena_lock): Pass in new parameter to arena_get2.
65596         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65597         arena_get2.
65598         (__libc_malloc): Unify retrying after main arena failure with
65599         __libc_memalign version.
65600         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65602 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65604         [BZ #14166]
65605         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65606         to __redirect_strstr.
65607         (__strstr_sse42): Use typeof __redirect_strstr.
65608         (__strstr_ia32): Likewise.
65609         (__libc_strstr): New prototype.
65610         (strstr): Renamed to ...
65611         (__libc_strstr): This.
65612         (strstr): New strong alias of __libc_strstr.
65613         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65614         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65615         __redirect_time.
65616         Include <time.h>.
65617         (__libc_time): New prototype.
65618         (time_ifunc): Replace time with __libc_time.
65619         (time): New strong alias and hidden definition of __libc_time.
65620         (__GI_time): Remove strong alias.
65621         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65622         Include <stddef.h>.
65623         (memmove): Redefined to __redirect_memmove.
65624         (__memmove_sse2): Use typeof __redirect_memmove.
65625         (__memmove_ssse3): Likewise.
65626         (__memmove_ssse3_back): Likewise.
65627         (__libc_memmove): New prototype.
65628         (memmove): Renamed to ...
65629         (__libc_memmove): This.
65630         (memmove): New strong alias of __libc_memmove.
65632 2012-08-08  Mark Salter  <msalter@redhat.com>
65634         * elf/elf.h
65635         (R_MN10300_TLS_GD): Define.
65636         (R_MN10300_TLS_LD): Likewise.
65637         (R_MN10300_TLS_LDO): Likewise.
65638         (R_MN10300_TLS_GOTIE): Likewise.
65639         (R_MN10300_TLS_IE): Likewise.
65640         (R_MN10300_TLS_LE): Likewise.
65641         (R_MN10300_TLS_DTPMOD): Likewise.
65642         (R_MN10300_TLS_DTPOFF): Likewise.
65643         (R_MN10300_TLS_TPOFF): Likewise.
65644         (R_MN10300_SYM_DIFF): Likewise.
65645         (R_MN10300_ALIGN): Likewise.
65646         (R_MN10300_NUM): Update.
65648 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65651         Remove.
65653 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65655         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65657         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65658         sysdeps/unix -> sysdeps/posix move.
65659         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65661 2012-08-07      Allan McRae     <allan@archlinux.org>
65663         [BZ #14303]
65664         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65665         (SUNOS_CPP): Likewise.
65666         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65667         not found.
65668         (open_input): Call CPP using execvp.
65670 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65672         * sysdeps/unix/sysv/linux/kernel-features.h
65673         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65674         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65675         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65676         (__ASSUME_WAITID_SYSCALL): Likewise.
65677         * sysdeps/unix/sysv/linux/dl-execstack.c
65678         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65679         code unconditional.
65680         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65681         conditional code.
65682         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65683         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65684         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65685         code.
65686         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65687         unconditional.
65688         [__ASSUME_WAITID_SYSCALL]: Likewise.
65689         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65691 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65693         * sysdeps/unix/closedir.c: Renamed to ...
65694         * sysdeps/posix/closedir.c: ... here.
65695         * sysdeps/unix/dirfd.c: Renamed to ...
65696         * sysdeps/posix/dirfd.c: ... here.
65697         * sysdeps/unix/dirstream.h: Renamed to ...
65698         * sysdeps/posix/dirstream.h: ... here.
65699         * sysdeps/unix/fdopendir.c: Renamed to ...
65700         * sysdeps/posix/fdopendir.c: ... here.
65701         * sysdeps/unix/opendir.c: Renamed to ...
65702         * sysdeps/posix/opendir.c: ... here.
65703         * sysdeps/unix/readdir.c: Renamed to ...
65704         * sysdeps/posix/readdir.c: ... here.
65705         * sysdeps/unix/readdir_r.c: Renamed to ...
65706         * sysdeps/posix/readdir_r.c: ... here.
65707         * sysdeps/unix/rewinddir.c: Renamed to ...
65708         * sysdeps/posix/rewinddir.c: ... here.
65709         * sysdeps/unix/seekdir.c: Renamed to ...
65710         * sysdeps/posix/seekdir.c: ... here.
65711         * sysdeps/unix/telldir.c: Renamed to ...
65712         * sysdeps/posix/telldir.c: ... here.
65713         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65714         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65715         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65716         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65718         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65719         * bits/fcntl.h: ... here.
65721         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65722         not 0.
65723         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65724         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65725         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65726         (struct flock): Move l_start, l_len to the beginning.
65727         Use __pid_t for l_pid.
65728         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65729         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65730         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65731         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65732         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65733         [__USE_LARGEFILE64] (struct flock64): New type.
65734         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65736         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65737         * bits/dirent.h: ... here.
65739         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65740         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65742 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65744         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65745         Change from 2.6.0 to 2.6.16.
65746         * sysdeps/unix/sysv/linux/configure: Regenerated.
65747         * sysdeps/unix/sysv/linux/kernel-features.h
65748         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65749         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65750         version.
65751         (__ASSUME_UTIMES): Likewise.
65752         (__ASSUME_CLONE_STOPPED): Remove.
65753         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65754         architectures, not kernel version.
65755         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65756         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65757         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65758         (__ASSUME_WAITID_SYSCALL): Likewise.
65759         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65760         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65761         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65762         refer to older versions.
65764 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65766         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65767         Define alphasort64 as an alias.
65768         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65769         Define versionsort64 as an alias.
65770         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65771         Define scandir64 as an alias.
65772         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65773         Define scandirat64 as an alias.
65774         * dirent/alphasort64.c (alphasort64):
65775         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65776         * dirent/versionsort64.c: Likewise.
65777         * dirent/scandir64.c: Likewise.
65778         * dirent/scandirat64.c: Likewise.
65779         * sysdeps/wordsize-64/alphasort.c: File removed.
65780         * sysdeps/wordsize-64/alphasort64.c: File removed.
65781         * sysdeps/wordsize-64/scandir.c: File removed.
65782         * sysdeps/wordsize-64/scandir64.c: File removed.
65783         * sysdeps/wordsize-64/scandirat.c: File removed.
65784         * sysdeps/wordsize-64/scandirat64.c: File removed.
65785         * sysdeps/wordsize-64/versionsort.c: File removed.
65786         * sysdeps/wordsize-64/versionsort64.c: File removed.
65787         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65788         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65789         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65790         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65791         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65792         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65793         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65794         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65796         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65798         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65800         [defined __arch64__ || defined __sparcv9]
65801         (__INO_T_MATCHES_INO64_T): New macro.
65802         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65803         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65804         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65805         * sysdeps/unix/sysv/linux/bits/dirent.h
65806         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65807         (_DIRENT_MATCHES_DIRENT64): New macro.
65809         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65810         Define lockf64 as an alias.
65811         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65812         Define fseeko64 as an alias.
65813         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65814         Define ftello64 as an alias.
65815         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65816         Define _IO_fgetpos64 and fgetpos64 as aliases.
65817         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65818         Define _IO_fsetpos64 and fsetpos64 as aliases.
65819         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65820         Conditionalize body on this.
65821         * libio/fseeko64.c: Likewise.
65822         * libio/ftello64.c: Likewise.
65823         * libio/iofgetpos64.c: Likewise.
65824         * libio/iofsetpos64.c: Likewise.
65825         * sysdeps/wordsize-64/lockf.c: File removed.
65826         * sysdeps/wordsize-64/lockf64.c: File removed.
65827         * sysdeps/wordsize-64/fseeko.c: File removed.
65828         * sysdeps/wordsize-64/fseeko64.c: File removed.
65829         * sysdeps/wordsize-64/ftello.c: File removed.
65830         * sysdeps/wordsize-64/ftello64.c: File removed.
65831         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65832         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65833         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65834         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65835         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65836         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65837         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65838         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65839         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65840         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65841         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65842         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65843         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65844         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65846         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65847         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65848         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65850         [defined __arch64__ || defined __sparcv9]
65851         (__OFF_T_MATCHES_OFF64_T): New macro.
65852         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65853         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65855         (__OFF_T_MATCHES_OFF64_T): New macro.
65857 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65859         * stdlib/secure-getenv.c (__secure_getenv): Replace
65860         GLIBC_2_16 with GLIBC_2_17.
65862 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65864         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65865         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65867 2012-08-03  David S. Miller  <davem@davemloft.net>
65869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65871 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65873         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65874         Remove.
65875         (__ASSUME_CORRECT_SI_PID): Likewise.
65876         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65877         (__ASSUME_TMPFS_NAME): Likewise.
65878         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65879         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65880         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65881         (HAVE_AUX_SECURE): Make definition unconditional.
65882         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65883         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65885 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65887         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65888         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65889         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65890         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65891         __eloop_threshold instead of SYMLOOP_MAX.
65893         * sysdeps/generic/eloop-threshold.h: New file.
65894         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65895         of MAXSYMLINKS.
65896         * elf/chroot_canon.c (chroot_canon): Likewise.
65898 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65900         [BZ #13717]
65901         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65902         Change to 2.6.0 everywhere.
65903         * sysdeps/unix/sysv/linux/configure: Regenerated.
65904         * sysdeps/unix/sysv/linux/kernel-features.h
65905         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65906         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65907         kernel versions.
65908         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65909         (__ASSUME_FUTEX_REQUEUE): Remove.
65910         (__ASSUME_STATFS64): Define unconditionally.
65911         (__ASSUME_AT_SECURE): Likewise.
65912         (__ASSUME_CORRECT_SI_PID): Likewise.
65913         (__ASSUME_TGKILL): Define without depending on kernel version for
65914         i386.
65915         (__ASSUME_UTIMES): Likewise.
65916         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65917         kernel version.
65918         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65919         (__ASSUME_TMPFS_NAME): Likewise.
65920         * README: Update reference to Linux kernel versions.
65922 2012-08-02  Marek Polacek  <polacek@redhat.com>
65924         [BZ# 14150]
65925         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65926         libc_cv_asm_type_prefix with %.
65927         * configure: Regenerated.
65928         * include/libc-symbols.h: Remove comment about
65929         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65930         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65931         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65932         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65933         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65934         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65935         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65936         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65937         * elf/tst-unique2mod1.c: Likewise.
65938         * elf/tst-unique1mod2.c: Likewise.
65939         * elf/tst-unique1mod1.c: Likewise.
65940         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65941         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65942         Replace ASM_TYPE_DIRECTIVE with .type.
65943         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65944         * sysdeps/i386/sysdep.h: Likewise.
65945         * sysdeps/x86_64/sysdep.h: Likewise.
65946         * sysdeps/sh/sysdep.h: Likewise.
65947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65948         Do not define ASM_TYPE_DIRECTIVE.
65949         * sysdeps/powerpc/sysdep.h: Likewise.
65950         * sysdeps/powerpc/powerpc32/sysdep.h:
65951         Replace ASM_TYPE_DIRECTIVE with .type.
65952         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65953         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65954         * sysdeps/i386/fpu/e_powf.S: Likewise.
65955         * sysdeps/i386/fpu/e_expl.S: Likewise.
65956         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65957         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65958         * sysdeps/i386/fpu/e_pow.S: Likewise.
65959         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65960         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65961         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65962         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65963         * sysdeps/i386/fpu/e_log2.S: Likewise.
65964         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65965         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65966         * sysdeps/i386/fpu/e_powl.S: Likewise.
65967         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65968         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65969         * sysdeps/i386/fpu/e_logl.S: Likewise.
65970         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65971         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65972         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65973         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65974         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65975         * sysdeps/i386/fpu/e_log.S: Likewise.
65976         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65977         * sysdeps/i386/fpu/e_logf.S: Likewise.
65978         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65979         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65980         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65981         * sysdeps/i386/fpu/e_log10.S: Likewise.
65982         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65983         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65984         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65985         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65986         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65987         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65988         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65989         * sysdeps/i386/i686/strtok.S: Likewise.
65990         * sysdeps/i386/i386-mcount.S: Likewise.
65991         * sysdeps/i386/strtok.S: Likewise.
65992         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65993         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65994         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65995         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65996         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65997         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65998         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65999         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66000         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66001         * sysdeps/x86_64/_mcount.S: Likewise.
66002         * sysdeps/x86_64/strtok.S: Likewise.
66003         * sysdeps/sh/_mcount.S: Likewise.
66005 2012-08-01  Roland McGrath  <roland@hack.frob.com>
66007         * libio/iofopen.c: Include <fcntl.h>.
66008         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
66009         (_IO_fopen64, fopen64): Define as aliases.
66010         * libio/iofopen64.c: Include <fcntl.h>.
66011         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
66012         Conditionalize body on this.
66013         * sysdeps/wordsize-64/iofopen.c: File removed.
66014         * sysdeps/wordsize-64/iofopen64.c: File removed.
66016 2012-08-01  Marek Polacek  <polacek@redhat.com>
66018         * libc/Makeconfig: Use elf in place of binfmt-subdir.
66019         Use dlfcn directly instead of a variable.
66020         (binfmt-subdir): Do not define.
66021         (dlfcn): Likewise.
66023 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
66025         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
66026         Remove all definitions.
66027         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
66028         <kernel-features.h>.
66029         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66030         (miss_F_GETOWN_EX): Remove all definitions.
66031         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
66032         macro definition.
66033         [!__ASSUME_FCNTL64]: Remove conditional code.
66034         [__ASSUME_FCNTL64]: Make code unconditional.
66035         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
66036         <kernel-features.h>.
66037         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66038         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
66039         (lockf64) [__NR_fcntl64]: Make code unconditional.
66040         (lockf64) [__ASSUME_FCNTL64]: Likewise.
66042         * sysdeps/unix/sysv/linux/kernel-features.h
66043         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
66044         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
66045         Make code unconditional.
66046         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66047         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
66049         [__NR_vfork]: Make code unconditional.
66050         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66051         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
66053         [__NR_vfork]: Make code unconditional.
66054         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66055         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66057 2012-08-01  Roland McGrath  <roland@hack.frob.com>
66059         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
66060         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
66062         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66063         Define mkstemp64 as an alias.
66064         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66065         Define mkstemps64 as an alias.
66066         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66067         Define mkostemp64 as an alias.
66068         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66069         Define mkostemps64 as an alias.
66070         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
66071         Conditionalize body on this.
66072         * misc/mkostemp64.c: Likewise.
66073         * misc/mkostemps64.c: Likewise.
66074         * misc/mkstemps64.c: Likewise.
66075         * sysdeps/wordsize-64/mkstemp64.c: File removed.
66076         * sysdeps/wordsize-64/mkostemp64.c: File removed.
66077         * sysdeps/wordsize-64/mkostemp.c: File removed.
66078         * sysdeps/wordsize-64/mkstemp.c: File removed.
66079         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
66080         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
66081         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
66082         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
66084         [BZ #14138]
66085         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
66086         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
66087         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
66088         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
66090         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
66091         compat_symbol macros from <shlib-compat.h> rather than the underlying
66092         default_symbol_version and symbol_version macros, so that DEFAULT
66093         lines in shlib-versions are respected.
66094         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
66096 2012-08-01  Florian Weimer  <fweimer@redhat.com>
66098         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
66099         Declare with warn_unused_result.
66100         (setgid, setregid, setegid, setresgid): Likewise.
66101         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
66102         Likewise.
66103         * WUR-REPORT: Remove set*id functions.
66105 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
66107         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
66109 2012-07-31  Roland McGrath  <roland@hack.frob.com>
66111         [BZ #10191]
66112         * include/sys/socket.h (__libc_accept, __libc_accept4):
66113         Add attribute_hidden.
66114         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
66116         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
66117         use of PTR_MANGLE.
66118         * inet/getnetgrent_r.c (setup): Likewise.
66120         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
66122 2012-07-31  David S. Miller  <davem@davemloft.net>
66124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66126 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
66128         [BZ #13629]
66129         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
66130         value between 1.0 and 2.0 and smaller part has absolute value less
66131         than 1.0.
66132         * math/s_clog10.c (__clog10): Likewise.
66133         * math/s_clog10f.c (__clog10f): Likewise.
66134         * math/s_clog10l.c (__clog10l): Likewise.
66135         * math/s_clogf.c (__clogf): Likewise.
66136         * math/s_clogl.c (__clogl): Likewise.
66137         * math/libm-test.inc (clog_test): Add more tests.
66138         (clog10_test): Likewise.
66139         * sysdeps/i386/fpu/libm-test-ulps: Update.
66140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66142 2012-07-31  Florian Weimer  <fweimer@redhat.com>
66144         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
66145         Exit with zero in case no suitable GID is found, and write a
66146         message to standard error.
66148 2012-07-30  Roland McGrath  <roland@hack.frob.com>
66150         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
66151         rather than to 1.
66152         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
66153         (MAXPATHLEN): Removed.
66154         (NOGROUP, NODEV): New macros.
66155         (setbit, clrbit, isset, isclr): New macros.
66156         (howmany, roundup, powerof2): New macros.
66157         (DEV_BSIZE): New macro.
66159         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
66160         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
66162         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
66163         definition on [!__NO_LONG_DOUBLE_MATH].
66165         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
66166         PTR_MANGLE and PTR_DEMANGLE.
66168         * socket/accept4.c (accept4): Rename to __libc_accept4.
66169         Define accept4 as a weak alias.
66171         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
66172         on [_DIRENT_HAVE_D_TYPE].
66173         * io/ftw.c (ftw_dir): Likewise.
66175         * io/xmknod.c (__xmknod): Don't check PATH for being null.
66177         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
66179         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
66180         Use the BSD numbers rather than the arbitrary ones we had.
66181         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
66182         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
66183         (SIGXCPU, SIGXFSZ): New macros.
66184         (_NSIG): Now 32.
66186         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
66187         initializer on [_LIBC_REENTRANT].
66189         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
66190         definitions inside [_POSIX_MAPPED_FILES].
66192         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
66194         * dirent/opendir.c: Include <fcntl.h>.
66196         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
66197         (__libc_getspecific): Likewise.
66198         (__libc_key_create): Likewise.
66200         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
66201         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
66202         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
66203         (tmpfile64): Define as alias.
66204         * sysdeps/wordsize-64/tmpfile.c: File removed.
66205         * sysdeps/wordsize-64/tmpfile64.c: File removed.
66206         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
66207         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
66209         * stdio-common/vfscanf.c: Include <stdbool.h>.
66210         * nss/makedb.c: Likewise.
66211         * stdio-common/_i18n_number.h: Likewise.
66212         * argp/argp-help.c: Likewise.
66213         * posix/wordexp.c: Likewise.
66214         * sysdeps/posix/spawni.c: Likewise.
66215         * nss/nss_files/files-initgroups.c: Likewise.
66216         * stdio-common/reg-modifier.c: Include <stdlib.h>.
66217         * nss/nss_files/files-initgroups.c: Likewise.
66218         * nss/nss_db/db-netgrp.c: Likewise.
66219         * nss/nss_db/db-initgroups.c: Likewise.
66220         * io/fchmodat.c: Include <sys/stat.h>.
66222         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
66223         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
66225         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
66226         [HAVE_MMAP].
66228         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
66229         Add multiple inclusion protection.
66231 2012-07-27  David S. Miller  <davem@davemloft.net>
66233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66235 2012-07-27  Gary Benson  <gbenson@redhat.com>
66237         [BZ #14298]
66238         * elf/rtld.c: Include <stap-probe.h>.
66239         (dl_main): Added static probes "init_start" and "init_complete".
66240         * elf/dl-load.c: Include <stap-probe.h>.
66241         (lose): Take new parameter "nsid".
66242         Added static probe "map_failed".
66243         (_dl_map_object_from_fd): Pass namespace id to lose.
66244         Added static probe "map_start".
66245         (open_verify): Pass namespace id to lose.
66246         * elf/dl-open.c: Include <stap-probe.h>.
66247         (dl_open_worker) Added static probes "map_complete", "reloc_start"
66248         and "reloc_complete".
66249         * elf/dl-close.c: Include <stap-probe.h>.
66250         (_dl_close_worker): Added static probes "unmap_start" and
66251         "unmap_complete".
66252         * elf/rtld-debugger-interface.txt: New file documenting the above.
66254 2012-07-26  Roland McGrath  <roland@hack.frob.com>
66256         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
66257         rather than a string variable.
66258         * sunrpc/rpc_main.c (h_output): Likewise.
66259         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
66261 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
66263         * inet/check_native.c: New file.
66265 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
66267         [BZ #13629]
66268         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
66269         if larger part has absolute value 1.0.
66270         * math/s_clog10.c (__clog10): Likewise.
66271         * math/s_clog10f.c (__clog10f): Likewise.
66272         * math/s_clog10l.c (__clog10l): Likewise.
66273         * math/s_clogf.c (__clogf): Likewise.
66274         * math/s_clogl.c (__clogl): Likewise.
66275         * math/libm-test.inc (clog_test): Add more tests.
66276         (clog10_test): Likewise.
66277         * sysdeps/i386/fpu/libm-test-ulps: Update.
66278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66280         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
66281         (pltexit): Likewise.
66282         (La_regs): Likewise.
66283         (La_retval): Likewise.
66284         (int_retval): Likewise.
66285         Update #error for removed macros to refer only to definitions in
66286         tst-audit.h.
66287         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
66288         macro.
66289         (pltexit): Likewise.
66290         (La_regs): Likewise.
66291         (La_retval): Likewise.
66292         (int_retval): Likewise.
66293         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
66294         macro.
66295         (pltexit): Likewise.
66296         (La_regs): Likewise.
66297         (La_retval): Likewise.
66298         (int_retval): Likewise.
66299         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66300         macro.
66301         (pltexit): Likewise.
66302         (La_regs): Likewise.
66303         (La_retval): Likewise.
66304         (int_retval): Likewise.
66305         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66306         macro.
66307         (pltexit): Likewise.
66308         (La_regs): Likewise.
66309         (La_retval): Likewise.
66310         (int_retval): Likewise.
66311         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66312         macro.
66313         (pltexit): Likewise.
66314         (La_regs): Likewise.
66315         (La_retval): Likewise.
66316         (int_retval): Likewise.
66317         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66318         macro.
66319         (pltexit): Likewise.
66320         (La_regs): Likewise.
66321         (La_retval): Likewise.
66322         (int_retval): Likewise.
66323         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66324         macro definitions in tst-audit.h.
66325         * sysdeps/i386/tst-audit.h: New file.
66326         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66327         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66328         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66329         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66330         * sysdeps/sh/tst-audit.h: Likewise.
66331         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66332         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66333         * sysdeps/x86_64/tst-audit.h: Likewise.
66335 2012-07-26  Andreas Jaeger  <aj@suse.de>
66337         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66338         ptrace.
66340         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66341         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66342         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66343         PTRACE_O_MASK.
66344         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66345         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66346         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66348         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66349         value.
66351         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66352         _sigsys.
66353         (si_call_addr, si_syscall, si_arch): Define new macro.
66354         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66355         _sigsys.
66356         (si_call_addr, si_syscall, si_arch): Define new marcro.
66357         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66358         _sigsys.
66359         (si_call_addr, si_syscall, si_arch): Define new macro.
66360         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66361         _sigsys.
66362         (si_call_addr, si_syscall, si_arch): Define new macro.
66364 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66366         [BZ #13717]
66367         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66368         Change to 2.4.21 where previously 2.4.1.
66369         * sysdeps/unix/sysv/linux/configure: Regenerated.
66370         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66371         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66372         Linux kernel version.
66373         (__ASSUME_STD_AUXV): Remove.
66374         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66375         kernel version.
66376         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66377         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66378         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66379         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66380         (__ASSUME_NETLINK_SUPPORT): Likewise.
66381         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66382         (__no_netlink_support): Remove conditional definition.
66383         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66384         Remove.
66385         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66386         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66387         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66388         (if_nameindex_ioctl): Remove.
66389         (if_nameindex_netlink): Do not handle __no_netlink_support.
66390         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66391         code.
66392         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66393         Remove conditional code.
66394         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66395         code.
66396         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66397         unconditional.
66398         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66399         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66400         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66401         Remove.
66402         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66403         [!__ASSUME_STD_AUXV]: Remove conditional code.
66404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66405         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66406         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66408         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66409         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66410         code.
66411         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66413         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66414         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66415         conditional code.
66416         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66418         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66419         code.
66420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66421         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66422         conditional code.
66423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66424         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66425         code unconditional.
66426         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66427         conditional code.
66428         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66429         unconditional.
66430         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66431         conditional code.
66432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66433         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66434         unconditional.
66435         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66436         conditional code.
66437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66438         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66439         code unconditional.
66440         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66441         conditional code.
66442         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66443         unconditional.
66444         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66445         conditional code.
66446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66447         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66448         code unconditional.
66449         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66450         conditional code.
66451         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66452         unconditional.
66453         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66454         conditional code.
66456 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66458         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66459         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66460         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66461         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66462         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66463         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66464         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66465         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66466         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66467         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66468         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66469         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66470         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66471         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66472         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66473         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66474         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66475         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66476         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66478         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66479         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66480         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66482 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66484         * Versions.def: Add GLIBC_2.17.
66485         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66486         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66487         Introduce __libc_secure_getenv.
66488         * stdlib/Versions (2.17): Add secure_getenv
66489         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66490         * stdlib/secure-getenv.c: Rename __secure_getenv to
66491         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66492         symbol __secure_getenv for GLIBC_2.0.
66493         * stdlib/tst-secure-getenv.c: New.
66494         * stdlib/Makefile (tests): Add testcase.
66495         * manual/startup.texi (Environment Access): Document
66496         secure_getenv.
66497         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66498         __libc_secure_getenv.
66499         * inet/ruserpass.c (ruserpass): Likewise.
66500         * malloc/mtrace.c (mtrace): Likewise.
66501         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66502         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66503         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66504         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66505         HAVE_SECURE_GETENV.
66506         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66507         __secure_getenv to __libc_secure_getenv.
66508         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66510         Likewise.
66511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66512         Likewise.
66513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66515         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66521 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66523         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66524         (struct La_i86_retval): Likewise.
66525         (struct La_x86_64_regs): Likewise.
66526         (struct La_x86_64_retval): Likewise.
66527         (struct La_x32_regs): Likewise.
66528         (struct La_x32_retval): Likewise.
66529         (struct La_ppc32_regs): Likewise.
66530         (struct La_ppc32_retval): Likewise.
66531         (struct La_ppc64_regs): Likewise.
66532         (struct La_ppc64_retval): Likewise.
66533         (struct La_sh_regs): Likewise.
66534         (struct La_sh_retval): Likewise.
66535         (struct La_s390_32_regs): Likewise.
66536         (struct La_s390_32_retval): Likewise.
66537         (struct La_s390_64_regs): Likewise.
66538         (struct La_s390_64_retval): Likewise.
66539         (struct La_sparc32_regs): Likewise.
66540         (struct La_sparc32_retval): Likewise.
66541         (struct La_sparc64_regs): Likewise.
66542         (struct La_sparc64_retval): Likewise.
66543         (struct audit_ifaces): Remove architecture-specific pltenter and
66544         pltexit members.
66545         * sysdeps/i386/ldsodefs.h: New file.
66546         * sysdeps/powerpc/ldsodefs.h: Likewise.
66547         * sysdeps/s390/ldsodefs.h: Likewise.
66548         * sysdeps/sh/ldsodefs.h: Likewise.
66549         * sysdeps/sparc/ldsodefs.h: Likewise.
66550         * sysdeps/x86_64/ldsodefs.h: Likewise.
66552 2012-07-25  Marek Polacek  <polacek@redhat.com>
66554         [BZ #6808]
66555         * math/libm-test.inc (yn_test): Add another test.
66556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66557         to ERANGE when the result is +-Inf.
66558         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66559         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66560         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66561         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66563 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66565         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66566         equal to 0.
66567         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66568         clock_t.
66569         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66571 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66573         * configure.in <sysdeps resolving>: Correct printing
66574         Implies_before.
66575         * configure: Regenerate.
66577 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66579         * math/w_ilogb.c: Include <limits.h>.
66580         * math/w_ilogbl.c: Likewise.
66582 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66584         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66585         va_copy.  Document allowing for unavailable va_copy only as
66586         pre-C99 compatibility.
66587         * manual/string.texi (Copying and Concatenation): Use va_copy
66588         instead of __va_copy in concat example.
66590 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66592         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66593         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66594         it if not null.
66596         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66597         with O_NOLINK passed to __file_name_lookup.
66599         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66600         with O_NOLINK passed to __file_name_lookup.
66602         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66603         negative N or less than NGIDS.
66605         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66606         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66607         enough.  Use memcpy instead of strncpy.
66609 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66611         * elf/Makefile (check-data): Remove.
66612         (localplt.data): New vpath directive.
66613         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66614         instead of $(check-data).
66615         * scripts/data/localplt-generic.data: Move to ...
66616         * sysdeps/generic/localplt.data: ... here.
66617         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66618         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66619         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66621         ... here.
66622         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66624         ... here.
66625         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66627         ... here.
66628         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66630         ... here.
66631         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66633         ... here.
66634         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66636         ... here.
66638 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66640         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66641         PPC32 and PPC64 files.
66642         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66643         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66645 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66647         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66648         __makecontext_ret to ...
66649         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66650         ... here and call exit if uc_link is NULL.  New file.
66651         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66652         __makecontext_ret.S.
66653         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66654         __makecontext_ret to ...
66655         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66656         ... here and call exit if uc_link is NULL.  New file.
66657         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66658         __makecontext_ret.S.
66660 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66662         * elf/elf.h (R_390_IRELATIVE): New definition.
66663         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66664         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66665         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66666         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66667         (elf_machine_lazy_rel): Likewise.
66668         * sysdeps/s390/dl-irel.h: New file.
66669         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66670         * sysdeps/s390/s390-64/memset.S: New asm code.
66671         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66672         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66673         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66674         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66675         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66676         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66677         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66678         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66679         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66680         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66681         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66682         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66683         * sysdeps/s390/s390-32/memset.S: New asm code.
66684         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66686 2012-07-17  Marek Polacek  <polacek@redhat.com>
66688         [BZ #14349]
66689         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66690         * sysdeps/s390/s390-64/configure.in: Likewise.
66691         * sysdeps/sparc/configure.in: Likewise.
66692         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66693         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66694         * sysdeps/i386/configure.in: Likewise.
66695         * sysdeps/x86_64/configure.in: Likewise.
66696         * sysdeps/sh/configure.in: Likewise.
66697         * sysdeps/s390/s390-32/configure: Regenerated.
66698         * sysdeps/s390/s390-64/configure: Likewise.
66699         * sysdeps/x86_64/configure: Likewise.
66700         * sysdeps/sh/configure: Likewise.
66701         * sysdeps/powerpc/powerpc64/configure: Likewise.
66702         * sysdeps/powerpc/powerpc32/configure: Likewise.
66703         * sysdeps/sparc/configure: Likwise.
66704         * sysdeps/i386/configure: Likewise.
66706         * elf/dl-open.c: Comment fixes.
66708 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66710         * Makefile [CXX] (check-data): Remove.
66711         [CXX] (c++-types.data): New vpath directive.
66712         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66713         vpath.  Do not allow for C++ type data being missing.
66714         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66715         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66716         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66717         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66718         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66719         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66720         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66722         ... here.
66723         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66725         ... here.
66726         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66728         ... here.
66729         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66731         ... here.
66732         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66734         ... here.
66735         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66737         ... here.
66738         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66740         ... here.
66741         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66744         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66745         definitions to architecture-specific files.
66746         (TLS_IE): Likewise.
66747         (TLS_LD): Likewise.
66748         (TLS_GD): Likewise.
66749         * sysdeps/i386/tls-macros.h: New file.
66750         * sysdeps/powerpc/tls-macros.h: Likewise.
66751         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66752         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66753         * sysdeps/sh/tls-macros.h: Likewise.
66754         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66755         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66756         * sysdeps/x86_64/tls-macros.h: Likewise.
66758 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66760         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66761         zero value for regular exit case.
66763         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66764         (__start_context): Preserve zero value for regular exit case.
66766 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66767             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66769         * manual/setjmp.texi (setcontext): Clarify normal process
66770         termination when uc_link is the null pointer.
66771         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66772         exit call.
66774 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66776         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66777         preprocessor.  Test for each exception mask separately.
66779 2012-07-16  Andreas Jaeger  <aj@suse.de>
66781         * po/ru.po: Update from translation team.
66783 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66785         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66786         equal to 0.
66787         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66788         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66789         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66790         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66791         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66793 2012-07-13  Andreas Jaeger  <aj@suse.de>
66795         * po/fr.po: Update from translation team.
66797 2012-07-12  Marek Polacek  <polacek@redhat.com>
66799         [BZ #14173]
66800         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66801         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66802         loop condition.
66804 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66806         [BZ #13717]
66807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66808         Change to 2.4.1 where previously 2.4.0.
66809         * sysdeps/unix/sysv/linux/configure: Regenerated.
66810         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66811         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66812         version.
66813         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66814         (__ASSUME_AT_CLKTCK): Remove.
66815         (__ASSUME_AT_PAGESIZE): Likewise.
66816         (__ASSUME_AT_XID): Likewise.
66817         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66818         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66819         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66820         unconditionally.
66821         (HAVE_AUX_PAGESIZE): Likewise.
66822         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66823         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66824         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66826 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66828         [BZ #14307]
66829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66830         the temporary buffer used to invoke __gethostbyname2_r,
66831         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66832         host_data / struct gaih_addrtuple.
66833         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66834         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66835         header file nss/nsswitch.h.
66836         * nss/nsswitch.h (global scope): Add definition of implementation
66837         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66838         resolv/nss_dns/dns-host.c).
66840 2012-07-11  Andreas Jaeger  <aj@suse.de>
66842         * po/fr.po: Update from translation team.
66844         * po/sv.po: Update from translation team
66845         * po/fr.po: Another update from translation team.
66847 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66849         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66850         for subnormals or multiply small sinh result by itself.
66851         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66854 2012-07-11  David S. Miller  <davem@davemloft.net>
66856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66858 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66860         [BZ #14347]
66861         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66862         (INTERNAL_MARK): Shift it here.
66864 2012-07-10  Marek Polacek  <polacek@redhat.com>
66866         [BZ #14151]
66867         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66868         libc_cv_asm_global_directive with .globl.
66869         * configure: Regenerated.
66870         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66871         with .globl.
66872         * sysdeps/i386/configure: Regenerated.
66873         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66874         with .globl.
66875         * sysdeps/x86_64/configure: Regenerated.
66876         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66877         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66878         * elf/tst-unique2mod2.c: Likewise.
66879         * elf/tst-unique2mod1.c: Likewise.
66880         * elf/tst-unique1mod2.c: Likewise.
66881         * elf/tst-unique1mod1.c: Likewise.
66882         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66883         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66884         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66885         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66886         * sysdeps/mach/sysdep.h: Likewise.
66887         * sysdeps/i386/sysdep.h: Likewise.
66888         * sysdeps/i386/i386-mcount.S: Likewise.
66889         * sysdeps/x86_64/_mcount.S: Likewise.
66890         * sysdeps/x86_64/sysdep.h: Likewise.
66891         * sysdeps/sh/_mcount.S: Likewise.
66892         * sysdeps/sh/sysdep.h: Likewise.
66893         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66894         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66895         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66896         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66897         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66898         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66899         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66900         * locale/localeinfo.h: Likewise.
66901         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66902         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66904 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66906         [BZ #14336]
66907         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66908         system".
66909         * manual/message.texi (The Uniforum approach): Likewise.
66910         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66911         (glibc iconv Implementation): Likewise.
66913 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66915         [BZ #14337]
66916         * math/s_clog.c (__clog): Avoid scaling a value down where that
66917         could result in underflow.
66918         * math/s_clog10.c (__clog10): Likewise.
66919         * math/s_clog10f.c (__clog10f): Likewise.
66920         * math/s_clog10l.c (__clog10l): Likewise.
66921         * math/s_clogf.c (__clogf): Likewise.
66922         * math/s_clogl.c (__clogl): Likewise.
66923         * math/libm-test.inc (clog_test): Add more tests.
66924         (clog10_test): Likewise.
66925         * sysdeps/i386/fpu/libm-test-ulps: Update.
66926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66928 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66930         [BZ #14283]
66931         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66932         by 7 not 8 to examine high bit of fractional part.
66934         [BZ #14042]
66935         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66936         for call to __mcount_internal.
66937         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66938         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66939         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66941 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66943         [BZ #14154]
66944         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66945         approximation for values within 0x1p-13f of an odd multiple of
66946         pi/4.
66947         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66948         exception.  Add more tests.
66949         * sysdeps/i386/fpu/libm-test-ulps: Update.
66951         [BZ #6778]
66952         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66953         inputs and return -1 for them.  Do not check for +Inf in case not
66954         reachable for +Inf.
66955         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66956         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66957         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66958         and return -1 for them.  Do not check for +Inf in case not
66959         reachable for +Inf.
66960         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66961         define.
66962         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66963         and return -1 for them.  Do not check for +Inf in case not
66964         reachable for +Inf.
66965         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66966         spurious underflow.
66967         * sysdeps/i386/fpu/libm-test-ulps: Update.
66968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66970 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66972         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66974 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66976         [BZ #14157]
66977         [BZ #14331]
66978         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66979         could result in spurious underflow.  Scale down values above
66980         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66981         * math/s_csqrtf.c (__csqrtf): Likewise.
66982         * math/s_csqrtl.c (__csqrtl): Likewise.
66983         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66984         spurious underflow.
66985         * sysdeps/i386/fpu/libm-test-ulps: Update.
66986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66988 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66990         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66991         xopen-msg.sed.
66992         * catgets/xopen-msg.awk: New file.
66993         * catgets/xopen-msg.sed: Removed.
66995         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66996         po2text.sed.
66997         * intl/po2test.awk: New file.
66998         * intl/po2test.sed: Removed.
67000 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
67002         [BZ #14328]
67003         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
67004         or multiply small sinh result by itself.
67005         * math/s_ctanf.c (__ctanf): Likewise.
67006         * math/s_ctanh.c (__ctanh): Likewise.
67007         * math/s_ctanhf.c (__ctanhf): Likewise.
67008         * math/s_ctanhl.c (__ctanhl): Likewise.
67009         * math/s_ctanl.c (__ctanl): Likewise.
67010         * math/libm-test.inc (ctan_test_tonearest): New function.
67011         (ctan_test_towardzero): Likewise.
67012         (ctan_test_downward): Likewise.
67013         (ctan_test_upward): Likewise.
67014         (ctanh_test_tonearest): Likewise.
67015         (ctanh_test_towardzero): Likewise.
67016         (ctanh_test_downward): Likewise.
67017         (ctanh_test_upward): Likewise.
67018         (main): Call these new functions.
67019         * sysdeps/i386/fpu/libm-test-ulps: Update.
67020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67022 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
67024         * .gitignore: Delete /ports entry.
67026 2012-07-03  Andreas Jaeger  <aj@suse.de>
67028         * po/bg.po: Update from translation team.
67029         * po/cs.po: Likewise.
67030         * po/de.po: Likewise.
67031         * po/hr.po: Likewise.
67032         * po/nl.pl: Likewise.
67033         * po/pl.po: Likewise.
67034         * po/vi.po: Likewise.
67036 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
67038         * Makeconfig [!+link] (+link-before-libc): New variable.
67039         [!+link] (+link-after-libc): Likewise.
67040         [!+link] (+link-tests): Likewise.
67041         [!+link] (+link): Define in terms of $(+link-before-libc) and
67042         $(+link-after-libc).
67043         [!+link-static] (+link-static-before-libc): New variable.
67044         [!+link-static] (+link-static-after-libc): Likewise.
67045         [!+link-static] (+link-static-tests): Likewise.
67046         [!+link-static] (+link-static): Define in terms of
67047         $(+link-static-before-libc) and $(+link-static-after-libc).
67048         [build-shared] (link-libc-before-gnulib): New variable.
67049         [build-shared] (link-libc-tests): Likewise.
67050         [build-shared] (link-libc): Define in terms of
67051         $(link-libc-before-gnulib).
67052         [!build-shared] (link-libc-tests): New variable.
67053         (link-libc-static-tests): New variable.
67054         [!gnulib] (gnulib-arch): New variable.
67055         [!gnulib] (gnulib-tests): Likewise.
67056         [!gnulib] (static-gnulib-arch): Likewise.
67057         [!gnulib] (static-gnulib-tests): Likewise.
67058         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
67059         Define with "=" instead of ":=".
67060         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
67061         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
67062         * Rules (binaries-all-notests): New variable.
67063         (binaries-all-tests): Likewise.
67064         (binaries-static-notests): Likewise.
67065         (binaries-static-tests): Likewise.
67066         (binaries-all): Define using $(binaries-all-notests) and
67067         $(binaries-all-tests).
67068         (binaries-static): Define using $(binaries-static-notests) and
67069         $(binaries-static-tests).
67070         (binaries-shared-tests): New variable.
67071         (binaries-shared-notests): Likewise.
67072         (binaries-shared): Remove variable.
67073         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
67074         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
67075         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
67076         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
67077         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
67078         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
67079         * elf/Makefile (sln-modules): New variable.
67080         (extra-objs): Add $(sln-modules:=.o).
67081         (ldconfig-modules): Add static-stubs.
67082         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
67083         * elf/static-stubs.c: New file.
67085         [BZ #14283]
67086         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
67087         by 7 not 8 to examine high bit of fractional part.  Use volatile
67088         variables when splitting into final array of floats if
67089         __FLT_EVAL_METHOD__ != 0.
67090         * math/libm-test.inc (cos_test): Add another test.
67091         (sin_test): Likewise.
67092         * sysdeps/i386/fpu/libm-test-ulps: Update.
67094         [BZ #14273]
67095         * math/libm-test.inc (cosh_test): Add more tests.
67097         * version.h (RELEASE): Set to "development".
67098         (VERSION): Set to "2.16.90".
67100 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
67102         * NEWS: Update copyright. Remove last-updated date.
67103         Mention math library bug fixes and timezone data changes.
67104         * README: Mention GNU/Hurd, x32, and HPPA support status.
67106 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
67108         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
67110 2012-06-27  Andreas Jaeger  <aj@suse.de>
67112         * manual/contrib.texi (Contributors): Add Samuel Thibault.
67114 2012-06-25  Andreas Jaeger  <aj@suse.de>
67116         * sysdeps/s390/fpu/libm-test-ulps: Update.
67118 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
67119             Thomas Schwinge  <thomas@codesourcery.com>
67121         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
67122         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
67123         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
67124         fanotify_mark.
67126 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
67128         * sysdeps/mach/start.c: Remove file.
67129         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
67130         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
67131         * sysdeps/sh/init-first.c: Likewise.
67133         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
67134         registers for frame unwinding purposes, add CFI directives.
67135         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67136         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
67137         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
67138         Likewise.
67140         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
67141         __fortify_fail returning.
67142         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67144         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
67145         sysdeps/sh/____longjmp_chk.S.
67146         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
67147         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
67148         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
67149         (gen-as-const-headers): Append sigaltstack-offsets.sym.
67151         * sysdeps/sh/abort-instr.h: New file.
67152         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
67153         process in case exit returns.
67155         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
67156         initialize the GOT register before use.
67158         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
67159         calculation of ARGC > 4.
67161         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
67162         meaningful names to some local labels.
67164 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67165             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67167         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
67168         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
67169         (__arch_compare_and_exchange_val_16_acq): Likewise.
67170         (__arch_compare_and_exchange_val_32_acq): Likewise.
67171         (atomic_exchange_and_add): Fix gUSA sequence.
67172         (atomic_add): Likewise.
67173         (atomic_add_negative): Likewise.
67174         (atomic_add_zero): Likewise.
67175         (atomic_bit_test_set): Likewise.
67177 2012-06-22  Andreas Schwab  <schwab@redhat.com>
67179         [BZ #13579]
67180         * include/link.h (struct link_map): Add l_free_initfini.
67181         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
67182         l_initfini.
67183         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
67184         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
67185         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
67186         set.
67188 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
67190         * configure.in: Use AC_LANG_SOURCE.
67191         * configure: Regenerate.
67193 2012-06-22  Roland McGrath  <roland@hack.frob.com>
67195         * configure.in (libc_cv_localstatedir): New substituted variable.
67196         * configure: Regenerated.
67197         * config.make.in (localstatedir): New variable, substituted from
67198         libc_cv_localstatedir.
67199         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
67200         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
67201         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
67202         * sysdeps/gnu/configure: Regenerated.
67204 2012-06-21  Jeff Law  <law@redhat.com>
67206         [BZ #14277]
67207         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
67208         free.  Simplify list management for _LIBC case.
67210 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
67212         [BZ #14273]
67213         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
67214         Clear sign bit of 64-bit integer value before comparing against
67215         overflow value.
67217         * sysdeps/mach/configure: Regenerated.
67219 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
67221         [BZ #14278]
67222         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
67224 2012-06-21  Jeff Law  <law@redhat.com>
67226         [BZ #13882]
67227         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
67228         uint16_t for elements in the "seen" array to avoid char overflows.
67229         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67230         * elf/dl-open.c (dl_open_worker): Likewise.
67232 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
67234         * scripts/list-sources.sh: Scan PORTS for translations.
67235         * po/libc.pot: Regenerated.
67237 2012-06-21  Andreas Jaeger  <aj@suse.de>
67239         [BZ #12194]
67240         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
67241         warning.
67242         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
67243         * bits/byteswap-16.h (__bswap_16): Likewise.
67244         * bits/byteswap.h (__bswap_constant_16): Likewise.
67246 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
67248         [BZ #14117]
67249         * sysdeps/i386/fpu_control.h: Removed.
67250         * sysdeps/x86_64/fpu_control.h: Moved to ...
67251         * sysdeps/x86/fpu_control.h: Here.
67253         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
67254         (_FPU_SETCW): Likewise.
67256 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
67258         [BZ #14117]
67259         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
67260         * sysdeps/x86/fpu/bits/mathinline.h: This.
67261         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
67263         [BZ #14050]
67264         [BZ #14117]
67265         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
67266         functions if __x86_64__ is defined.
67268 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
67270         * string/endian.h: Add !__ASSEMBLER__ condition for including
67271         conversion interfaces.
67273 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
67275         [BZ #14241]
67276         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
67277         of ABS(x) in calculating zero to negative powers other than odd
67278         integers.
67279         * math/libm-test.inc (pow_test): Add more tests.
67281 2012-06-15  Andreas Jaeger  <aj@suse.de>
67283         * manual/contrib.texi (Contributors): Update entry of Liubov
67284         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
67285         Machado Filho.
67287 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
67289         * string/string.h: Add __wur to GNU version of strerror_r.
67291 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
67293         [BZ #14229]
67294         * string/Makefile (tests): Add tst-strtok_r.
67295         * string/tst-strtok_r.c: New file.
67296         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67297         RAX_LP/RDX_LP on SAVE_PTR.
67299 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67301         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67303 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67305         * libm_test.inc (csqrt_test): Allow more spurious underflow
67306         exceptions.
67307         (j0_test): Likewise.
67308         (j1_test): Likewise.
67309         (y0_test): Likewise.
67310         (y1_test): Likewise.
67312 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67314         * po/Makefile (libc.pot): Use UTF-8 charset.
67316 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67318         [BZ #14210]
67319         Suppress sign-conversion warning from FD_SET.
67320         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67321         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67322         not unsigned long int.
67323         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67325 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67327         [BZ #14050]
67328         [BZ #14117]
67329         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67330         __extern_always_inline instead of __extern_inline.
67331         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67332         (__signbit): Likewise.
67333         (__signbitl): Support C++ namespace.
67334         (lrintf): New inline function.
67335         (lrint): Likewise.
67336         (llrintf): Likewise.
67337         (llrint): Likewise.
67338         (fmaxf): Likewise.
67339         (fmax): Likewise.
67340         (fminf): Likewise.
67341         (fmin): Likewise.
67342         (rint): Likewise.
67343         (rintf): Likewise.
67344         (ceil): Likewise.
67345         (ceilf): Likewise.
67346         (floor): Likewise.
67347         (floorf): Likewise.
67348         (nearbyint): Likewise.
67349         (nearbyintf): Likewise.
67351 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
67353         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67354         non-default versions.
67356 2012-06-11  Roland McGrath  <roland@hack.frob.com>
67358         [BZ #14218]
67359         * manual/argp.texi (Argp): Reword argp_parse description slightly.
67361 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67363         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67364         (FE_UPWARD, FE_DOWNWARD): Don't define.
67365         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67366         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67368         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67369         reading it.
67370         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67371         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67373 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67375         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67376         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67377         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67378         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67380 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67382         [BZ #14117]
67383         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67384         * sysdeps/i386/fpu/Implies: New file.
67385         * sysdeps/x86_64/fpu/Implies: Likewise.
67386         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67387         * sysdeps/x86/fpu/bits/fenv.h: This.
67389         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67390         __SSE_MATH__.
67392 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67394         [BZ #14134]
67395         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67396         character 0xffff that matches the last element of the
67397         conversion table.
67399 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67401         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67402         fmodl commit.
67404 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67406         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67407         values higher than 25.6283.
67409 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67411         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67412         subnormal exponent extraction and add some __builtin_expect.
67413         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67414         Fix for subnormal mantissa calculation.
67416 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67418         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67419         cpu2 is -1 and errno is not ENOSYS.
67421 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67423         [BZ #14117]
67424         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67425         * sysdeps/x86/bits/string.h: This.
67426         * sysdeps/x86_64/bits/string.h: Removed.
67428         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67429         if not compiling for x86-64, but compiling for >= i486.
67431         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67432         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67434         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67435         New macro from Linux kernel 3.4.0.
67436         (FP_XSTATE_MAGIC2): Likewise.
67437         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67438         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67439         (struct _fpx_sw_bytes): New struct.
67440         (struct _xsave_hdr): Likewise.
67441         (struct _ymmh_state): Likewise.
67442         (struct _xstate): Likewise.
67444         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67445         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67446         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67447         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67448         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67449         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67451         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67452         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67453         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67454         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67455         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67456         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67458 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67460         [BZ #13743]
67461         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67462         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67463         (sysdep_headers): Include sys/platform/ppc.h.
67464         * sysdeps/powerpc/test-gettimebase.c: Test for
67465         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67466         * manual/Makefile (appendices): Include platform.texi.
67467         * manual/contrib.texi (Contributors): Update @node pointers.
67468         * manual/maint.texi (Maintenance): Likewise.
67469         (Platform): New node.
67470         * manual/platform.texi: New file.  Document the new features.
67472 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67473             Jakub Jelinek  <jakub@redhat.com>
67475         [BZ #14188]
67476         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67477         where __builtin_expect is unavailable.
67479 2012-06-03  David S. Miller  <davem@davemloft.net>
67481         * stdlib/longlong.h: Updated from GCC.
67483 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67485         [BZ #14042]
67486         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67487         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67488         __mcount_internal.
67489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67490         (GLIBC_2.16): Likewise.
67492 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67494         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67496 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67499         (default-abi): New variable.
67500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67501         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67502         variable.
67503         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67504         Likewise.
67505         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67506         Likewise.
67507         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67508         Likewise.
67510         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67511         definition.  Document in comment.
67513 2012-06-01  David S. Miller  <davem@davemloft.net>
67515         * stdlib/longlong.h: Updated from GCC.
67517 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67519         [BZ #14117]
67520         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67521         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67522         sys/debugreg.h sys/io.h here.
67523         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67524         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67525         sys/io.h.
67526         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67527         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67528         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67529         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67530         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67531         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67533         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67534         Define only if __x86_64__ is defined.
67536 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67538         [BZ #14048]
67539         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67540         Use int64_t for variable i.
67541         * math/libm-test.inc (fmod_test): Add more tests.
67543         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67544         z computation is not scheduled after fetestexcept.
67545         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67546         Use math_force_eval instead of asm to ensure calculation scheduled
67547         before exception test.
67548         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67549         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67551 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67554         computation is not scheduled after fetestexcept.
67556 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67558         [BZ #14117]
67559         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67560         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67562 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67564         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67565         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67567 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67569         [BZ #14117]
67570         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67571         <bits/wordsize.h>.
67572         (__WCHAR_MIN): Support __WORDSIZE == 64.
67573         (__WCHAR_MAX): Likewise.
67575         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67576         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67578         [BZ #14183]
67579         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67580         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67582         [BZ #14117]
67583         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67584         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67586         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67587         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67589         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67590         Defined to 1 if __x86_64__ isn't defined.
67591         (_STAT_VER_LINUX_OLD): New.
67592         (st_atime): Remove duplicate.
67593         (st_mtime): Likewise.
67594         (st_ctime): Likewise.
67596 2012-05-31  David S. Miller  <davem@davemloft.net>
67598         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67599         entries.
67601 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67603         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67604         gen-libm-test.pl.
67606         [BZ #14132]
67607         * elf/dl-reloc.c: Include <_itoa.h>.
67608         (_dl_reloc_bad_type): Remove use of INTUSE.
67609         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67610         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67611         * stdio-common/psiginfo.c (psiginfo): Likewise.
67612         * stdio-common/psignal.c (psignal): Likewise.
67613         * string/strsignal.c (strsignal): Likewise.
67614         * include/signal.h (_sys_siglist): Declare hidden proto.
67615         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67616         INTVARDEF with libc_hidden_data_def.
67617         * stdio-common/itoa-udigits.c: Likewise.
67618         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67619         (_itoa_lower_digits_internal): Remove declaration.
67620         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67621         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67622         (_sys_sigabbrev_internal): Remove aliases.
67623         (_sys_siglist): Define hidden alias.
67625 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67628         bits/sysctl.h.
67630 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67632         [BZ #14117]
67633         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67634         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67636         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67637         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67638         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67639         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67640         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67641         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67643         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67644         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67645         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67647         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67648         with __addr.
67649         (insw): Likewise.
67650         (insl): Likewise.
67651         (outsb): Likewise.
67652         (outsw): Likewise.
67653         (outsl): Likewise.
67655         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67656         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67657         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67659         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67660         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67661         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67662         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67663         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67664         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67666         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67667         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67669         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67670         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67672         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67673         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67674         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67676         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67677         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67678         to ...
67679         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67681         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67682         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67683         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67685         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67686         for x86-64.
67687         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67689 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67691         * math/math.h (M_El): Use two more decimal places.
67692         (M_LOG2El): Likewise.
67693         (M_LOG10El): Likewise.
67694         (M_LN2l): Likewise.
67695         (M_LN10l): Likewise.
67696         (M_PIl): Likewise.
67697         (M_PI_2l): Likewise.
67698         (M_PI_4l): Likewise.
67699         (M_1_PIl): Likewise.
67700         (M_2_PIl): Likewise.
67701         (M_2_SQRTPIl): Likewise.
67702         (M_SQRT2l): Likewise.
67703         (M_SQRT1_2l): Likewise.
67705 2012-05-31  David S. Miller  <davem@davemloft.net>
67707         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67708         values between float registers.
67709         * sysdeps/sparc/sparc64/memset.S: Likewise.
67710         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67712 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67714         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67715         -D_FORTIFY_SOURCE=1.
67716         (CPPFLAGS-tst-longjmp_chk.c): Define.
67717         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67718         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67719         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67720         CFLAGS-tst-wchar-h.c.
67722 2012-05-31  Marek Polacek  <polacek@redhat.com>
67724         [BZ #14132]
67725         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67726         __endmntent_internal): Remove declaration.
67727         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67728         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67729         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67731 2012-05-30  David S. Miller  <davem@davemloft.net>
67733         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67734         (___Q_simulate_exceptions): Use real FP ops rather than writing
67735         into the %fsr.
67736         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67737         Likewise.
67739 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67741         [BZ #14117]
67742         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67743         * sysdeps/x86/bits/xtitypes.h: This.
67745         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67746         * sysdeps/x86/bits/wordsize.h: This.
67748         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67749         * sysdeps/x86/bits/huge_vall.h: This.
67751         * sysdeps/i386/bits/select.h: Removed.
67752         * sysdeps/x86_64/bits/select.h: Renamed to ...
67753         * sysdeps/x86/bits/select.h: This.
67755         * sysdeps/i386/bits/setjmp.h: Removed.
67756         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67757         * sysdeps/x86/bits/setjmp.h: This.
67759         * sysdeps/i386/bits/mathdef.h: Removed.
67760         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67761         * sysdeps/x86/bits/mathdef.h: This.
67763 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67765         [BZ #14132]
67766         * include/sys/socket.h (__connect_internal)
67767         (__libc_sa_len_internal): Remove declaration.
67768         (__connect, __libc_sa_len): Declare hidden_proto.
67769         (SA_LEN): Remove use of INTUSE.
67770         * socket/connect.c: Add libc_hidden_def.
67771         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67772         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67773         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67774         alias.
67775         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67776         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67777         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67778         of adding _internal alias.
67780 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67782         [BZ #14117]
67783         * sysdeps/i386/bits/link.h: Removed.
67784         * sysdeps/i386/bits/linkmap.h: Likewise.
67785         * sysdeps/x86_64/bits/link.h: Renamed to ...
67786         * sysdeps/x86/bits/link.h: This.
67787         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67788         * sysdeps/x86/bits/linkmap.h: This.
67790         * sysdeps/i386/bits/endian.h: Removed.
67791         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67792         * sysdeps/x86/bits/endian.h: This.
67794         * sysdeps/i386/bits/byteswap.h: Removed.
67795         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67796         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67797         * sysdeps/x86/bits/byteswap.h: This.
67798         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67799         * sysdeps/x86/bits/byteswap-16.h: This.
67800         * sysdeps/i386/Implies: Add x86.
67801         * sysdeps/x86_64/Implies: Likewise.
67803 2012-05-30  David S. Miller  <davem@davemloft.net>
67805         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67806         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67807         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67808         (FP_TRAPPING_EXCEPTIONS): Define.
67809         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67810         (FP_TRAPPING_EXCEPTIONS): Define.
67811         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67812         subnormals only when inexact has been signalled or underflow
67813         exceptions are enabled.
67814         (_FP_PACK_CANONICAL): Likewise.
67816 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67818         [BZ #14183]
67819         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67820         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67822 2012-05-30  Richard Henderson  <rth@twiddle.net>
67824         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67825         with #ifndef NOT_IN_libc.
67827         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67828         marked to avoid plt entry.
67830 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67832         [BZ #14112]
67833         * Makeconfig (default-abi): New macro.
67834         (abi-includes): Likewise.
67835         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67836         $(abi-$(default-abi)-lib-soname) for soname if defined.
67837         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67838         abi-variants.
67839         * Makefile (installed-stubs): Likewise.
67840         * include/stubs-biarch.h: Removed.
67841         * scripts/lib-names.awk: Only handle one library at a time.
67842         * scripts/soversions.awk: Remove WORDSIZE support.
67843         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67844         entries.
67845         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67846         Removed.
67847         (syscall-list-default-condition): Likewise.
67848         (syscall-list-default-condition): Likewise.
67849         (syscall-list-includes): Likewise.
67850         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67851         syscall-list-* with abi-*.  Handle undefined abi-variants.
67852         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67853         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67854         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67855         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67856         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67857         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67858         Removed.
67859         (syscall-list-32-options): Likewise.
67860         (syscall-list-32-condition): Likewise.
67861         (syscall-list-64-options): Likewise.
67862         (syscall-list-64-condition): Likewise.
67863         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67864         macro.
67865         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67866         Renamed to ...
67867         (abi-*): This.
67868         (abi-64-ld-soname): New macro.
67869         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67870         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67871         Renamed to ...
67872         (abi-*): This.
67873         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67874         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67876 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67878         * sysdeps/unix/sysv/linux/kernel-features.h
67879         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67880         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67881         include <kernel-features.h>.
67882         [!__NR_ftruncate64]: Remove conditional code.
67883         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67884         [__NR_ftruncate64]: Make code unconditional.
67885         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67886         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67887         include <kernel-features.h>.
67888         [!__NR_ftruncate64]: Remove conditional code.
67889         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67890         [__NR_ftruncate64]: Make code unconditional.
67891         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67893         include <kernel-features.h>.
67894         [!__NR_ftruncate64]: Remove conditional code.
67895         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67896         [__NR_ftruncate64]: Make code unconditional.
67897         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67899         include <kernel-features.h>.
67900         [!__NR_ftruncate64]: Remove conditional code.
67901         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67902         [__NR_ftruncate64]: Make code unconditional.
67903         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67905         * configure.in (libc_cv_fpie): Weaken to a compile test using
67906         LIBC_TRY_CC_OPTION.
67907         * configure: Regenerated.
67909 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67915         Refreshed.
67916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67922         Refreshed.
67924 2012-05-27  David S. Miller  <davem@davemloft.net>
67926         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67927         (___Q_zero): New.
67928         (__Q_simulate_exceptions): Return void.  Change to simulate
67929         exceptions by writing into the %fsr.
67930         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67931         (__Qp_handle_exceptions): Likewise.
67932         (numbers): Delete.
67933         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67934         __Qp_handle_exceptions.
67935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67936         __Qp_handle_exceptions.
67937         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67938         as unused and give dummy FP_RND_NEAREST initializer.
67939         (FP_INHIBIT_RESULTS): Define.
67940         (___Q_simulate_exceptions): Update declaration.
67941         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67942         formatting.
67943         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67944         as unused and give dummy FP_RND_NEAREST initializer.
67945         (__Qp_handle_exceptions): Update declaration.
67946         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67947         formatting.
67949 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67951         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67952         the temporary FPU control word.
67953         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67954         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67955         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67956         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67957         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67958         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67959         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67960         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67961         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67962         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67963         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67965 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67967         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67968         fields.
67970 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67972         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67973         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67974         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67975         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67976         Likewise.
67977         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67978         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67979         Likewise.
67981 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67983         * po/h.po: Update from translation team.
67985 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67987         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67989         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67990         handling of denormals.
67991         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67992         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67993         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67994         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67995         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67996         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67997         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67998         Likewise.
68000 2012-05-26  Marek Polacek  <polacek@redhat.com>
68002         [BZ #14152]
68003         * math/libm-test.inc (fma_test): Don't always expect underflow
68004         exception.
68006 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68008         [BZ #12416]
68009         * elf/tst-execstack.c: Include stackinfo.h.
68010         (do_test): Adjust test case to ensure that pthread_getattr_np
68011         behaviour remains the same after marking stack executable.
68013 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
68015         * sysdeps/unix/sysv/linux/kernel-features.h
68016         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
68017         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
68018         kernel-features.h.
68019         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68020         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68021         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
68022         kernel-features.h.
68023         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68024         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68026 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
68028         * configure.in: Define the default includes to being none.
68029         * configure: Regenerated.
68031 2012-05-25  Roland McGrath  <roland@hack.frob.com>
68033         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
68034         * sysdeps/x86_64/setjmp.S: Likewise.
68035         * sysdeps/i386/bsd-setjmp.S: Likewise.
68036         * sysdeps/i386/bsd-_setjmp.S: Likewise.
68037         * sysdeps/i386/setjmp.S: Likewise.
68038         * sysdeps/i386/__longjmp.S: Likewise.
68039         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68040         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
68042         * include/stap-probe.h: New file.
68043         * configure.in: Handle --enable-systemtap.
68044         * configure: Regenerated.
68045         * config.h.in (USE_STAP_PROBE): New #undef.
68046         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
68047         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
68048         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
68050 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
68052         [BZ #13717]
68053         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68054         to 2.4.0 where earlier.
68055         * sysdeps/unix/sysv/linux/configure: Regenerated.
68056         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68057         <kernel-features.h>.
68058         [__ASSUME_32BITUIDS]: Make code unconditional.
68059         [!__ASSUME_32BITUIDS]: Remove conditional code.
68060         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
68061         <kernel-features.h>.
68062         [__ASSUME_32BITUIDS]: Make code unconditional.
68063         [!__ASSUME_32BITUIDS]: Remove conditional code.
68064         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
68065         [__ASSUME_32BITUIDS]: Make code unconditional.
68066         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
68067         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
68068         <kernel-features.h>.
68069         [__ASSUME_32BITUIDS]: Make code unconditional.
68070         [!__ASSUME_32BITUIDS]: Remove conditional code.
68071         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
68072         <kernel-features.h>.
68073         [__ASSUME_32BITUIDS]: Make code unconditional.
68074         [!__ASSUME_32BITUIDS]: Remove conditional code.
68075         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
68076         <kernel-features.h>.
68077         [__ASSUME_32BITUIDS]: Make code unconditional.
68078         [!__ASSUME_32BITUIDS]: Remove conditional code.
68079         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
68080         <kernel-features.h>.
68081         [__ASSUME_32BITUIDS]: Make code unconditional.
68082         [!__ASSUME_32BITUIDS]: Remove conditional code.
68083         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68084         <kernel-features.h>.
68085         [__ASSUME_32BITUIDS]: Make code unconditional.
68086         [!__ASSUME_32BITUIDS]: Remove conditional code.
68087         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68088         <kernel-features.h>.
68089         [__ASSUME_32BITUIDS]: Make code unconditional.
68090         [!__ASSUME_32BITUIDS]: Remove conditional code.
68091         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
68092         <kernel-features.h>.
68093         [__ASSUME_32BITUIDS]: Make code unconditional.
68094         [!__ASSUME_32BITUIDS]: Remove conditional code.
68095         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68096         <kernel-features.h>.
68097         [__ASSUME_32BITUIDS]: Make code unconditional.
68098         [!__ASSUME_32BITUIDS]: Remove conditional code.
68099         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68100         <kernel-features.h>.
68101         [__ASSUME_32BITUIDS]: Make code unconditional.
68102         [!__ASSUME_32BITUIDS]: Remove conditional code.
68103         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
68104         <kernel-features.h>.
68105         [__ASSUME_32BITUIDS]: Make code unconditional.
68106         [!__ASSUME_32BITUIDS]: Remove conditional code.
68107         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
68108         <kernel-features.h>.
68109         [__NR_setresgid] (__setresgid): Do not declare.
68110         [__ASSUME_32BITUIDS]: Make code unconditional.
68111         [!__ASSUME_32BITUIDS]: Remove conditional code.
68112         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
68113         <kernel-features.h>.
68114         [__NR_setresuid] (__setresuid): Do not declare.
68115         [__ASSUME_32BITUIDS]: Make code unconditional.
68116         [!__ASSUME_32BITUIDS]: Remove conditional code.
68117         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
68118         <kernel-features.h>.
68119         [__ASSUME_32BITUIDS]: Make code unconditional.
68120         [!__ASSUME_32BITUIDS]: Remove conditional code.
68121         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
68122         <kernel-features.h>.
68123         [__ASSUME_32BITUIDS]: Make code unconditional.
68124         [!__ASSUME_32BITUIDS]: Remove conditional code.
68125         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
68126         <kernel-features.h>.
68127         [__ASSUME_32BITUIDS]: Make code unconditional.
68128         [!__ASSUME_32BITUIDS]: Remove conditional code.
68129         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
68130         <kernel-features.h>.
68131         [__ASSUME_32BITUIDS]: Make code unconditional.
68132         [!__ASSUME_32BITUIDS]: Remove conditional code.
68133         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
68134         <kernel-features.h>.
68135         [__ASSUME_32BITUIDS]: Make code unconditional.
68136         [!__ASSUME_32BITUIDS]: Remove conditional code.
68137         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
68138         <kernel-features.h>.
68139         [__ASSUME_32BITUIDS]: Make code unconditional.
68140         [!__ASSUME_32BITUIDS]: Remove conditional code.
68141         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
68142         <kernel-features.h>.
68143         [__ASSUME_32BITUIDS]: Make code unconditional.
68144         [!__ASSUME_32BITUIDS]: Remove conditional code.
68145         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
68146         <kernel-features.h>.
68147         [__ASSUME_32BITUIDS]: Make code unconditional.
68148         [!__ASSUME_32BITUIDS]: Remove conditional code.
68149         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
68150         <kernel-features.h>.
68151         [__ASSUME_32BITUIDS]: Make code unconditional.
68152         [!__ASSUME_32BITUIDS]: Remove conditional code.
68153         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68154         <kernel-features.h>.
68155         [__ASSUME_32BITUIDS]: Make code unconditional.
68156         [!__ASSUME_32BITUIDS]: Remove conditional code.
68157         * sysdeps/unix/sysv/linux/kernel-features.h
68158         (__ASSUME_SETRESUID_SYSCALL): Remove.
68159         (__ASSUME_SETRESGID_SYSCALL): Likewise.
68160         (__ASSUME_32BITUIDS): Likewise.
68161         (__ASSUME_LDT_WORKS): Likewise.
68162         (__ASSUME_O_DIRECTORY): Likewise.
68163         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
68164         architecture but not kernel version.
68165         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
68166         (__ASSUME_MMAP2_SYSCALL): Likewise.
68167         (__ASSUME_STAT64_SYSCALL): Likewise.
68168         (__ASSUME_IPC64): Likewise.
68169         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
68170         <kernel-features.h>.
68171         [__ASSUME_32BITUIDS]: Make code unconditional.
68172         [!__ASSUME_32BITUIDS]: Remove conditional code.
68173         * sysdeps/unix/sysv/linux/opendir.c: Do not include
68174         <kernel-features.h>.
68175         [__ASSUME_O_DIRECTORY]: Make code unconditional.
68176         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
68177         132096]: Remove conditional code.
68178         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
68179         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68180         <kernel-features.h>.
68181         [__ASSUME_32BITUIDS]: Make code unconditional.
68182         [!__ASSUME_32BITUIDS]: Remove conditional code.
68183         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68184         <kernel-features.h>.
68185         [__ASSUME_32BITUIDS]: Make code unconditional.
68186         [!__ASSUME_32BITUIDS]: Remove conditional code.
68187         * sysdeps/unix/sysv/linux/setegid.c: Do not include
68188         <kernel-features.h>.
68189         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
68190         unconditional.
68191         (__setresgid): Do not declare.
68192         [__ASSUME_32BITUIDS]: Make code unconditional.
68193         [!__ASSUME_32BITUIDS]: Remove conditional code.
68194         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
68195         <kernel-features.h>.
68196         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
68197         unconditional.
68198         (__setresuid): Do not declare.
68199         [__ASSUME_32BITUIDS]: Make code unconditional.
68200         [!__ASSUME_32BITUIDS]: Remove conditional code.
68201         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68202         <kernel-features.h>.
68203         [__ASSUME_32BITUIDS]: Make code unconditional.
68204         [!__ASSUME_32BITUIDS]: Remove conditional code.
68205         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
68206         <kernel-features.h>.
68207         [__ASSUME_32BITUIDS]: Make code unconditional.
68208         [!__ASSUME_32BITUIDS]: Remove conditional code.
68210 2012-05-25  Richard Henderson  <rth@twiddle.net>
68212         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
68213         dl_hwcap to ifunc resolver.
68214         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
68215         elf_ifunc_invoke.
68216         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
68217         dl_hwcap to ifunc resolver.
68218         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
68220 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68222         [BZ #14153]
68223         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
68224         for |x| <= 2**-26, not 2**-57.
68225         * math/libm-test.inc (acos_test): Do not allow spurious underflow
68226         exception.
68228 2012-05-24  Jeff Law  <law@redhat.com>
68230         * stdio-common/Makefile (tests): Add bug25.
68231         * stdio-common/bug25.c: New test.
68233 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68235         [BZ #13576]
68236         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
68237         multiple of MALLOC_ALIGNMENT in size.
68238         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
68240 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68242         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
68243         Require >= 256.
68244         (FILENAME_MAX): Use macro-int-constant.
68245         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
68246         (_IOFBF): Use macro-int-constant.
68247         (_IOLBF): Likewise.
68248         (_IONBF): Likewise.
68249         (SEEK_CUR): Likewise.
68250         (SEEK_END): Likewise.
68251         (SEEK_SET): Likewise.
68252         (TMP_MAX): Likewise.
68253         (EOF): Use macro-int-constant.  Require < 0.
68254         (NULL): Use macro-constant.  Require == 0.
68255         (stdin): Require type to be FILE *.
68256         (stdout): Likewise.
68257         (stderr): Likewise.
68258         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
68259         macro-int-constant.
68260         (EXIT_SUCCESS): Likewise.
68261         (NULL): Use macro-constant.  Require == 0.
68262         (RAND_MAX): Use macro-int-constant.
68263         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
68264         [C99-based standards] (strtof): Require function.
68265         [C99-based standards] (strtold): Likewise.
68266         [C99-based standards] (strtoll): Likewise.
68267         [C99-based standards] (strtoull): Likewise.
68268         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68269         [ISO || ISO99 || ISO11] (limits.h): Likewise.
68270         [ISO || ISO99 || ISO11] (math.h): Likewise.
68271         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
68272         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68273         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68275 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
68277         [BZ #14132]
68278         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
68279         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
68280         * intl/dgettext.c (DCGETTEXT): Likewise.
68281         * intl/gettext.c (DCGETTEXT): Likewise.
68282         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
68283         * posix/regex_internal.h (gettext): Likewise.
68284         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
68285         Remove declaration.
68286         * include/argz.h (__argz_count_internal)
68287         (__argz_stringify_internal): Remove declaration.
68288         (__argz_count, __argz_stringify): Declare hidden proto.
68289         * intl/dcgettext.c: Remove use of INTDEF.
68290         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68291         * string/argz-stringify.c: Likewise.
68292         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68293         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68294         Declare hidden proto.
68295         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68296         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68297         Declare hidden proto.
68298         * include/stdio.h (__asprintf_internal): Don't declare.
68299         (__asprintf): Don't define as macro.  Declare hidden proto.
68300         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68301         (__fsetlocking): Declare hidden proto.
68302         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68303         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68304         hidden proto.
68305         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68306         (_IO_setlinebuf): Remove use of INTUSE.
68307         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68308         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68309         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68310         Remove declaration.
68311         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68312         (_IO_do_flush): Remove use of INTUSE.
68313         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68314         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68315         (_IO_adjust_column, _IO_least_wmarker)
68316         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68317         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68318         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68319         (_IO_default_doallocate, _IO_wdefault_doallocate)
68320         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68321         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68322         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68323         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68324         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68325         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68326         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68327         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68328         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68329         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68330         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68331         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68332         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68333         proto.
68334         (_IO_flush_all_internal, _IO_adjust_column_internal)
68335         (_IO_default_uflow_internal, _IO_default_finish_internal)
68336         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68337         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68338         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68339         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68340         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68341         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68342         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68343         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68344         (_IO_file_close_internal, _IO_file_close_it_internal)
68345         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68346         (_IO_file_init_internal, _IO_file_attach_internal)
68347         (_IO_file_fopen_internal, _IO_file_read_internal)
68348         (_IO_file_sync_internal, _IO_file_seek_internal)
68349         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68350         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68351         (_IO_str_underflow_internal, _IO_str_overflow_internal)
68352         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68353         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68354         (_IO_list_all_internal, _IO_link_in_internal)
68355         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68356         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68357         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68358         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68359         (_IO_do_write_internal, _IO_padn_internal)
68360         (_IO_getline_info_internal, _IO_getline_internal)
68361         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68362         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68363         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68364         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68365         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68366         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68367         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68368         with libc_hidden_ver, remove use of INTUSE.
68369         * libio/genops.c: Likewise.
68370         * libio/freopen.c: Likewise.
68371         * libio/freopen64.c: Likewise.
68372         * libio/iofclose.c: Likewise.
68373         * libio/iofdopen.c: Likewise.
68374         * libio/iofflush.c: Likewise.
68375         * libio/iofflush_u.c: Likewise.
68376         * libio/iofgets.c: Likewise.
68377         * libio/iofgets_u.c: Likewise.
68378         * libio/iofopen.c: Likewise.
68379         * libio/iofopncook.c: Likewise.
68380         * libio/iofread.c: Likewise.
68381         * libio/iofread_u.c: Likewise.
68382         * libio/ioftell.c: Likewise.
68383         * libio/iofwrite.c: Likewise.
68384         * libio/iogetline.c: Likewise.
68385         * libio/iogets.c: Likewise.
68386         * libio/iogetwline.c: Likewise.
68387         * libio/iopadn.c: Likewise.
68388         * libio/iopopen.c: Likewise.
68389         * libio/ioseekoff.c: Likewise.
68390         * libio/ioseekpos.c: Likewise.
68391         * libio/iosetbuffer.c: Likewise.
68392         * libio/iosetvbuf.c: Likewise.
68393         * libio/ioungetc.c: Likewise.
68394         * libio/ioungetwc.c: Likewise.
68395         * libio/iovdprintf.c: Likewise.
68396         * libio/iovsprintf.c: Likewise.
68397         * libio/iovsscanf.c: Likewise.
68398         * libio/memstream.c: Likewise.
68399         * libio/obprintf.c: Likewise.
68400         * libio/oldfileops.c: Likewise.
68401         * libio/oldiofclose.c: Likewise.
68402         * libio/oldiofdopen.c: Likewise.
68403         * libio/oldiofopen.c: Likewise.
68404         * libio/oldiopopen.c: Likewise.
68405         * libio/oldstdfiles.c: Likewise.
68406         * libio/putc.c: Likewise.
68407         * libio/setbuf.c: Likewise.
68408         * libio/setlinebuf.c: Likewise.
68409         * libio/stdfiles.c: Likewise.
68410         * libio/strops.c: Likewise.
68411         * libio/vasprintf.c: Likewise.
68412         * libio/vscanf.c: Likewise.
68413         * libio/vsnprintf.c: Likewise.
68414         * libio/vswprintf.c: Likewise.
68415         * libio/wfiledoalloc.c: Likewise.
68416         * libio/wfileops.c: Likewise.
68417         * libio/wgenops.c: Likewise.
68418         * libio/wmemstream.c: Likewise.
68419         * libio/wstrops.c: Likewise.
68420         * libio/__fpurge.c: Likewise.
68421         * libio/__fsetlocking.c: Likewise.
68422         * assert/assert.c: Likewise.
68423         * debug/fgets_chk.c: Likewise.
68424         * debug/fgets_u_chk.c: Likewise.
68425         * debug/fread_chk.c: Likewise.
68426         * debug/fread_u_chk.c: Likewise.
68427         * debug/gets_chk.c: Likewise.
68428         * debug/obprintf_chk.c: Likewise.
68429         * debug/vasprintf_chk.c: Likewise.
68430         * debug/vdprintf_chk.c: Likewise.
68431         * debug/vsnprintf_chk.c: Likewise.
68432         * debug/vsprintf_chk.c: Likewise.
68433         * malloc/mtrace.c: Likewise.
68434         * misc/error.c: Likewise.
68435         * misc/syslog.c: Likewise.
68436         * stdio-common/asprintf.c: Likewise.
68437         * stdio-common/fxprintf.c: Likewise.
68438         * stdio-common/getw.c: Likewise.
68439         * stdio-common/isoc99_fscanf.c: Likewise.
68440         * stdio-common/isoc99_scanf.c: Likewise.
68441         * stdio-common/isoc99_vfscanf.c: Likewise.
68442         * stdio-common/isoc99_vscanf.c: Likewise.
68443         * stdio-common/isoc99_vsscanf.c: Likewise.
68444         * stdio-common/printf-prs.c: Likewise.
68445         * stdio-common/printf_fp.c: Likewise.
68446         * stdio-common/printf_fphex.c: Likewise.
68447         * stdio-common/printf_size.c: Likewise.
68448         * stdio-common/putw.c: Likewise.
68449         * stdio-common/scanf.c: Likewise.
68450         * stdio-common/sprintf.c: Likewise.
68451         * stdio-common/tmpfile.c: Likewise.
68452         * stdio-common/vfprintf.c: Likewise.
68453         * stdio-common/vfscanf.c: Likewise.
68454         * stdlib/strfmon_l.c: Likewise.
68455         * sunrpc/openchild.c: Likewise.
68456         * sunrpc/xdr_stdio.c: Likewise.
68457         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68458         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68460 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68462         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68464         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68465         in the third column, to generate for the shared library an IFUNC
68466         that uses _dl_vdso_vsym.
68467         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68468         * Makeconfig (object-suffixes-noshared): New variable.
68470         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68471         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68472         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68473         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68475         [BZ #14132]
68476         * include/sys/time.h (__gettimeofday): Remove macro.
68477         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68478         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68479         Remove INTDEF.
68480         (__gettimeofday): Add libc_hidden_def.
68481         (gettimeofday): Add libc_hidden_weak.
68482         * sysdeps/mach/gettimeofday.c: Likewise.
68483         * sysdeps/posix/gettimeofday.c: Likewise.
68484         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68485         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68487         (__gettimeofday_internal): Remove strong_alias.
68488         (__gettimeofday): Add libc_hidden_def.
68489         (gettimeofday): Add libc_hidden_weak.
68490         * sysdeps/unix/syscalls.list (gettimeofday):
68491         Remove __gettimeofday_internal alias.
68493 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68494             H.J. Lu  <hongjiu.lu@intel.com>
68496         [BZ #12495]
68497         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68498         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68499         (largebin_index_32_big): New.
68500         (largebin_index): Use it for 16-byte alignment.
68501         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68502         correction with front_misalign.
68504 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68508         Likewise.
68509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68510         Likewise.
68511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68512         Likewise.
68513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68514         Likewise.
68515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68516         Likewise.
68517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68518         Likewise.
68519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68520         Likewise.
68521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68522         Likewise.
68523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68524         Likewise.
68525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68526         Likewise.
68527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68528         Likewise.
68529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68530         Likewise.
68532         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68533         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68535 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68537         [BZ #10846]
68538         [BZ #14036]
68539         * math/libm-test.inc (exp_test): Add test from bug 14036.
68540         (pow_test): Add test from bug 10846.
68542         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68543         and other flags.
68544         (special_function): Do not include flags in test name.
68545         (parse_args): Likewise.
68546         * sysdeps/i386/fpu/libm-test-ulps: Update.
68547         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68548         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68549         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68552         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68553         exceptions.
68554         * math/libm-test.inc ("Philosophy"): Update comment about
68555         exception testing.
68556         (UNDERFLOW_EXCEPTION): New macro.
68557         (UNDERFLOW_EXCEPTION_OK): Likewise.
68558         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68559         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68560         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68561         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68562         (INVALID_EXCEPTION_OK): Update value.
68563         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68564         (OVERFLOW_EXCEPTION_OK): Likewise.
68565         (IGNORE_ZERO_INF_SIGN): Likewise.
68566         (test_exceptions): Handle underflow exceptions.
68567         (acos_test): Update for underflow exception expectations.
68568         (cexp_test): Likewise.
68569         (clog_test): Likewise.
68570         (clog10_test): Likewise.
68571         (csqrt_test): Likewise.
68572         (ctan_test): Likewise.
68573         (ctanh_test): Likewise.
68574         (exp_test): Likewise.
68575         (exp10_test): Likewise.
68576         (exp2_test): Likewise.
68577         (expm1_test): Likewise.
68578         (fma_test): Likewise.
68579         (j0_test): Likewise.
68580         (jn_test): Likewise.
68581         (nexttoward_test): Likewise.
68582         (pow_test): Likewise.
68583         (scalbn_test): Likewise.
68584         (scalbln_test): Likewise.
68585         (tan_test): Likewise.
68586         (y1_test): Likewise.
68587         * sysdeps/i386/fpu/libm-test-ulps: Update.
68588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68590 2012-05-23  David S. Miller  <davem@davemloft.net>
68592         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68593         (__libc_sigaction): Remove unused local variables.
68595 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68597         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68599 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68601         mktime: avoid signed integer overflow
68602         * time/mktime.c (__mktime_internal): Do not mishandle the case
68603         where diff == INT_MIN.
68605         mktime: simplify computation of average
68606         * time/mktime.c (ranged_convert): Use new time_t_avg function
68607         instead of rolling our own (probably-slower) code.
68609         mktime: do not assume signed right shift propagates sign bit
68610         * time/mktime.c (isdst_differ): New static function.
68611         (__mktime_internal): No need to normalize tm_isdst now.
68612         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68613         tm_isdst values.
68615         mktime: merge another wrapv change from gnulib
68616         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68617         from some compilers.
68619         mktime: remove incorrect attempt at unusual arithmetics
68620         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68621         The code didn't really work on such machines anyway.
68622         (TYPE_MINIMUM): Assume two's complement.
68623         (twos_complement_arithmetic): Verify that long_int and time_t
68624         are two's complement (or unsigned, in the latter case).
68626         mktime: check signed shifts on long_int and time_t, too
68627         * time/mktime.c (SHR): Check that shifts work as desired
68628         on the types long_int and time_t too, as SHR is used on
68629         such types.
68631         mktime: do not assume 'long' is wide enough
68632         * time/mktime.c (verify): Move decl up.
68633         (long_int): New type.
68634         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68635         to remove assumption in the code that 'long' is wide enough to
68636         store year values.  This assumption is not true on x32 and on
68637         some non-glibc platforms.
68639         mktime: merge wrapv change from gnulib
68640         * time/mktime.c (WRAPV): New macro.
68641         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68642         (guess_time_tm, __mktime_internal): Do not assume that signed
68643         integer overflow wraps around; modern compilers generate code
68644         where this assumption is no longer valid.
68646 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68648         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68649         Replace "jmp L(pseudo_end)" with "ret".
68650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68651         Likewise.
68653 2012-05-23  Andreas Jaeger  <aj@suse.de>
68655         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68656         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68658 2012-05-23  Andreas Jaeger  <aj@suse.de>
68659             Maximilian Attems  <max@stro.at>
68661         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68662         New macros.
68664 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68666         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68667         code so that pseudo_end is just ret and the stack pointer is
68668         correct also for static library in error case.
68670 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68672         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68673         move to syscalls.list.
68674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68679         * manual/install.texi (Running make install): Do not mention Linux
68680         kernel version for which pt_chown is not needed.
68681         (Linux): Do not mention problems with nscd with 2.0 kernels.
68682         * INSTALL: Regenerated.
68684 2012-05-23  Andreas Jaeger  <aj@suse.de>
68686         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68687         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68688         macro.
68689         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68690         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68691         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68692         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68693         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68694         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68695         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68696         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68697         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68698         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68699         * sysdeps/unix/sysv/linux/bits/in.h
68700         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68702 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68704         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68705         (PREPARE_VERSION): Just use assert instead, it will be elided
68706         under [NDEBUG] anyway.
68708 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68710         * sysdeps/unix/sysv/linux/Makefile: Include
68711         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68712         (sysdep_routines): Remove sysctl.
68713         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68714         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68715         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68716         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68717         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68719 2012-05-22  Andreas Jaeger  <aj@suse.de>
68721         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68722         that pseudo_end is just ret and the stack pointer is correct also
68723         for static library in error case.
68725 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68727         [BZ #14122]
68728         * nss/nsswitch.c (defconfig_entries): New variable.
68729         (__nss_database_lookup): Don't leak defconfig entries.
68730         (nss_parse_service_list): Don't leak on error paths.
68731         (free_database_entries): New function.
68732         (free_defconfig): New function.
68733         (free_mem): Move common code to free_database_entries.
68735 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68737         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68738         Add arch_prctl.
68739         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68741         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68742         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68744         New macro.
68745         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68746         (INTERNAL_SYSCALL_TYPES): Likewise.
68747         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68748         (LOAD_REGS_TYPES_[1-6]): Likewise.
68749         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68750         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68752 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68754         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68755         copysignl for GLIBC_2_0.
68756         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68757         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68758         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68759         logbl for GLIBC_2_0.
68760         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68761         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68763 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68765         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68766         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68768         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68769         Use "neg %eax".
68771         * time/mktime.c: Update copyright years.
68773 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68775         mktime: merge comment-quoting-style change from gnulib
68776         * time/mktime.c: Quote 'like this' in comments.
68777         The GNU coding standards suggest that we no longer quote `like this',
68778         as "`" and "'" are typically rendered asymmetrically nowadays.
68779         The typical gnulib style is to quote 'like this' when quoting
68780         code, and "like this" when quoting English.
68782         * time/mktime.c (compile-command): Add "-I.".
68784         mktime: merge mktime-internal.h change from gnulib
68785         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68787         mktime: merge time_r change from gnulib
68788         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68790         mktime: merge DEBUG change from gnulib
68791         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68792         case system <time.h> has a #define.
68794         mktime: merge <sys/types.h> change from gnulib
68795         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68796         since <time.t> is now guaranteed to define time_t.
68798         mktime: merge HAVE_CONFIG_H change from gnulib
68799         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68801 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68804         Use "neg %eax".
68806         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68807         __rlim_t cast.
68808         (struct rusage): Use anonymous union to pad each field to
68809         __syscall_slong_t.
68811 2012-05-21  David S. Miller  <davem@davemloft.net>
68813         * Makefules (o-iterator): Remove .s cases.
68814         (compile-command.s): Delete.
68815         (COMPILE.s): Delete.
68816         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68818 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68820         * configure.in (libc_cv_predef_stack_protector): Only consider
68821         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68822         * configure: Regenerated.
68824 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68826         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68827         New macro.  Use R*LP on int and pointer.
68828         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68829         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68830         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68831         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68833         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68834         [__WORDSIZE_TIME64_COMPAT32] instead of
68835         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68836         (struct utmp): Likewise.
68837         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68838         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68839         Renamed to ...
68840         (__WORDSIZE_TIME64_COMPAT32): This.
68841         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68842         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68843         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68844         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68845         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68846         (__WORDSIZE_TIME64_COMPAT32): New macro.
68848 2012-05-21  Andreas Jaeger  <aj@suse.de>
68850         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68851         only if [SHARED]. Add prototype for __wcschr_ia32.
68853 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68855         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68856         of %rbp unmolested in the jmp_buf while mangling the low bits.
68857         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68858         unmolested high bits of %rbp while demangling the low bits.
68859         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68861 2012-05-21  Andreas Jaeger  <aj@suse.de>
68863         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68864         * sunrpc/svc_simple.c: Use it for registerrpc.
68865         * sunrpc/xcrypt.c: Use it for passwd2des.
68867         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68869 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68871         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68872         Don't define if [__SYSCALL_WORDSIZE != 32].
68873         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68874         New macro.
68876 2012-05-21  Bruno Haible  <bruno@clisp.org>
68877             Andreas Jaeger  <aj@suse.de>
68879         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68880         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68881         inptr and inend for must_buffer_ch.
68882         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68883         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68884         * stdio-common/Makefile (tests): Remove bug15.
68885         (bug15-ENV): Remove macro.
68886         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68887         anymore.
68889 2012-05-19  Andreas Jaeger  <aj@suse.de>
68890             Roland McGrath  <roland@hack.frob.com>
68892         * manual/contrib.texi: Completely rewritten. It contains now an
68893         alphabetical list of contributors and their contributions.
68895 2012-05-21  Richard Henderson  <rth@twiddle.net>
68897         * misc/getauxval.c (__getauxval): Use unsigned long int.
68898         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68899         (getauxval): Use unsigned long int.
68901 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68903         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68905 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68907         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68908         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68909         __alignof__ (long double).
68911 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68915 2012-05-20  Richard Henderson  <rth@twiddle.net>
68917         * misc/getauxval.c: New file.
68918         * misc/sys/auxv.h: New file.
68919         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68920         (routines): Add getauxval.
68921         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68922         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68923         * elf/dl-sysdep.c (_dl_auxv): Remove.
68924         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68925         * elf/dl-support.c (_dl_auxv): New variable.
68926         (_dl_aux_init): Initialize it.
68927         * manual/startup.texi (Auxiliary Vector): New node.
68928         * sysdeps/generic/bits/hwcap.h: New file.
68929         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68930         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68931         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68932         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68933         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68934         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68936         Update.
68937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68940         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68946 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68950 2012-05-19  David S. Miller  <davem@davemloft.net>
68952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68954 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68956         [BZ #14123]
68957         * math/s_ccosh.c: Include <float.h>
68958         (__ccosh): Avoid internal overflow calculating sinh and cosh
68959         values before multiplying by sin and cos values.
68960         * math/s_ccoshf.c: Likewise.
68961         * math/s_ccoshl.c: Likewise.
68962         * math/s_csin.c: Likewise.
68963         * math/s_csinf.c: Likewise.
68964         * math/s_csinl.c: Likewise.
68965         * math/s_csinh.c: Likewise.
68966         * math/s_csinhf.c: Likewise.
68967         * math/s_csinhl.c: Likewise.
68968         * math/libm-test.inc (ccos_test): Add more tests.
68969         (ccosh_test): Likewise.
68970         (csin_test): Likewise.
68971         (csinh_test): Likewise.
68972         * sysdeps/i386/fpu/libm-test-ulps: Update.
68973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68975 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68977         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68978         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68980         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68982 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68984         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68985         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68986         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68987         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68988         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68989         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68990         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68991         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68992         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68993         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68994         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68995         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68996         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68997         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68998         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68999         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
69000         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
69001         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
69002         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
69003         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
69004         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
69005         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
69006         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
69007         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
69008         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
69009         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
69010         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
69011         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
69012         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
69013         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
69014         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
69016 2012-05-18  Andreas Jaeger  <aj@suse.de>
69018         * csu/.gitignore: Delete.
69020 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69022         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
69023         (timex): Use __syscall_slong_t.
69025 2012-05-18  Andreas Jaeger  <aj@suse.de>
69026             Carlos O'Donell  <carlos_odonell@mentor.com>
69028         * manual/install.texi (Configuring and compiling): Update
69029         description about files modified in the source directory.
69030         * INSTALL: Regenerated.
69032 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69034         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
69035         value.  Use "or" to set return value to -1.
69036         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
69037         negate return value.
69039 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69041         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
69042         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
69043         failure if the compiler has Graphite support disabled.
69044         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
69045         Likewise.
69046         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
69047         (CFLAGS-memmove.c): Likewise.
69048         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
69049         Likewise.
69051 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69053         * sysdeps/x86_64/x32/_itoa.h: New file.
69055         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
69056         getdents system call only if kernel and user dirents have the
69057         same d_ino and d_off.
69059         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69060         LLONG_MAX != LONG_MAX.
69061         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69062         (_fitoa_word): Likewise.
69064         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
69065         years.
69066         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
69067         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
69068         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
69070         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
69071         include <bits/wordsize.h>.  Check __x86_64__ instead of
69072         __WORDSIZE.
69073         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
69074         if __x86_64__ is defined.  Use anonymous union on fpstate.
69076         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
69077         anonymous union.
69079 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
69081         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
69082         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
69083         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
69084         Refer to _rtld_local_ro instead of _rtld_global_ro.
69085         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
69086         Likewise.
69087         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
69088         Likewise.
69089         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
69090         Likewise.
69091         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
69092         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
69093         of _rtld_global, and rtld_progname instead of _dl_argv[0].
69095         [BZ #10882]
69096         * sysdeps/powerpc/powerpc32/dl-machine.c
69097         (__elf_machine_runtime_setup) [PROF]: Don't reference
69098         _dl_prof_resolve.
69100 2012-05-18  Andreas Jaeger  <aj@suse.de>
69102         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
69103         function only available for GCCs before 3.4 since GCC 3.4
69104         introduced a builtin.
69105         (lrint): Likewise.
69106         (llrintf): Likewise.
69107         (llrint): Likewise.
69108         (fmaxf): Likewise.
69109         (fmax): Likewise.
69110         (fminf): Likewise.
69111         (fmin): Likewise.
69112         (rint): Likewise.
69113         (rintf): Likewise.
69114         (nearbyint): Likewise.
69115         (nearbyintf): Likewise.
69116         (ceil): Likewise.
69117         (ceilf): Likewise.
69118         (floor): Likewise.
69119         (floorf): Likewise.
69121 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69123         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
69124         on both fields and cast pointer to __syscall_ulong_t.
69126         * bits/types.h (__fsword_t): New type.
69127         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
69128         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
69129         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69130         (__FSWORD_T_TYPE): Likewise.
69131         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69132         (__FSWORD_T_TYPE): Likewise.
69133         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69134         (__FSWORD_T_TYPE): Likewise.
69135         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
69136         (__FSWORD_T_TYPE): Likewise.
69137         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
69138         __SWORD_TYPE with __fsword_t.
69139         (statfs64): Likewise.
69141 2012-05-17  David S. Miller  <davem@davemloft.net>
69143         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
69145 2012-05-17  Andreas Jaeger  <aj@suse.de>
69147         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
69148         warning.
69150 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69152         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
69154 2012-05-17  Andreas Jaeger  <aj@suse.de>
69156         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
69157         when it is used.
69159 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
69161         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
69163 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69165         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
69166         * sysdeps/x86_64/tst-mallocalign1.c: New file.
69168 2012-05-17  Andreas Jaeger  <aj@suse.de>
69169             Carlos O'Donell  <carlos_odonell@mentor.com>
69171         [BZ #14059]
69172         * sysdeps/x86_64/multiarch/init-arch.h
69173         (bit_YMM_Usable): Rename to...
69174         (bit_AVX_Usable): ... this.
69175         (bit_FMA4_Usable): New macro.
69176         (bit_XMM_state): New macro.
69177         (bit_YMM_state): New macro.
69178         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
69179         [__ASSEMBLER__] (index_AVX_Usable): ... this.
69180         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
69181         (CPUID_OSXSAVE): New macro.
69182         (CPUID_AVX): New macro.
69183         (CPUID_FMA4): New macro.
69184         (index_YMM_Usable): Rename to...
69185         (index_AVX_Usable): ... this.
69186         (HAS_AVX): Use HAS_ARCH_FEATURE.
69187         (HAS_FMA4): Likewise.
69188         (HAS_YMM_USABLE): Remove.
69189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69190         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
69191         are present.
69192         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
69193         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
69194         * sysdeps/x86_64/multiarch/Makefile: Likewise.
69195         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
69196         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
69198 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
69200         * math/libm-test.c: Support platforms without multiple rounding modes.
69201         * math/bug-nextafter.c: Support platforms without FP exceptions.
69202         * math/bug-nexttoward.c: Likewise.
69203         * math/test-fenv.c: Likewise.
69204         * math/test-misc.c: Likewise.
69205         * stdlib/bug-getcontext.c: Likewise.
69207 2012-05-17  Andreas Jaeger  <aj@suse.de>
69209         * manual/examples/search.c (critter_cmp): Change signature to
69210         avoid warnings.
69211         * manual/string.texi (Collation Functions): Likewise.
69213 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69215         * bits/types.h: Fold copyright years.
69216         * bits/typesizes.h: Likewise.
69217         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
69218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
69219         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
69220         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
69221         * time/time.h: Likewise.
69223 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
69225         [BZ #208]
69226         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
69227         in instead of returning them.  Return void.
69228         (__libc_mallinfo): Accumulate over all arenas.
69229         (__malloc_stats): Adjust for change in int_mallinfo interface.
69231 2012-05-16  Roland McGrath  <roland@hack.frob.com>
69233         [BZ #10375]
69234         * configure.in (NM): Add AC_CHECK_TOOL for it.
69235         (libc_extra_cflags): New substituted variable.
69236         Check for -fstack-protector being used implicitly.
69237         * configure: Regenerated.
69238         * config.make.in (config-extra-cflags): New variable,
69239         gets @libc_extra_cflags@.
69240         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
69242         [BZ #10375]
69243         * configure.in: Check for _FORTIFY_SOURCE being predefined.
69244         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
69245         * configure: Regenerated.
69246         * config.make.in (CPPUNDEFS): New substituted variable.
69247         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
69248         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
69249         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
69251 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69253         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
69254         (mq_attr): Use __syscall_slong_t.
69256 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69258         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
69259         Check __x86_64__ instead of __WORDSIZE.
69260         (_STAT_VER_LINUX): Likewise.
69261         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
69262         __syscall_ulong_t and __syscall_slong_t.
69263         (stat64): Likewise.
69265 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69267         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
69269 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69271         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
69273 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69275         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
69276         __syscall_ulong_t.
69278         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
69279         include <bits/wordsize.h>.  Check __x86_64__ instead of
69280         __WORDSIZE.
69281         (greg_t): Use "__extension__ long long int" if __x86_64__ is
69282         defined.
69283         (mcontext_t): Replace "unsigned long" with "unsigned long long".
69285         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
69286         include <bits/wordsize.h>.  Check __x86_64__ instead of
69287         __WORDSIZE.
69288         (user_regs_struct): Use "__extension__ unsigned long long"
69289         instead of "unsigned long" if __x86_64__ is defined.
69290         (user): Likewise.  Pad after pointer field if __ILP32__ is
69291         defined.
69293 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
69295         * configure.in (makeinfo): Require version 4.5 or later.  Allow
69296         versions 5 to 9.
69297         * configure: Regenerated.
69298         * manual/install.texi (texinfo): Increase version requirement to
69299         4.5 or later.
69300         * INSTALL: Regenerated.
69302         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69304 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69306         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69308         * sysdeps/x86_64/x32/ffs.c: New file.
69310         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69311         __syscall_ulong_t.
69312         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69313         defined.  Use __syscall_ulong_t.
69314         (shminfo): Use __syscall_ulong_t.
69315         (shm_info): Likewise.
69317         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69318         __syscall_ulong_t.
69320         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69321         <bits/wordsize.h>.
69322         (msgqnum_t): Use __syscall_ulong_t.
69323         (msglen_t): Likewise.
69324         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69325         __syscall_ulong_t.
69327         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69328         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69330         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69332         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69333         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69335         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69336         __syscall_slong_t.
69338         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69339         include <bits/wordsize.h>.  Check __x86_64__ instead of
69340         __WORDSIZE.
69342         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69343         "unsigned long long int" if __x86_64__ is defined.
69344         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69346         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69347         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69348         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69350         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69351         <stdint.h>.
69352         (GET_PC): Cast to uintptr_t first.
69353         (GET_FRAME): Likewise.
69354         (GET_STACK): Likewise.
69356         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69357         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69358         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69359         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69360         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69361         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69362         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69363         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69364         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69365         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69366         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69367         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69368         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69369         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69370         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69371         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69372         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69373         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69374         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69375         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69377         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69378         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69379         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69380         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69381         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69382         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69383         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69384         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69386 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69388         * Makerules (+depfiles): Also collect depfiles from .oS in
69389         $(extra-objs).
69390         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69391         .oS, $(libnldbl-routines)).
69393         * Makerules (native-compile-mkdep-flags): Define.
69394         * sunrpc/Makefile (extra-objs): Add $(addprefix
69395         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69396         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69397         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69398         calling $(make-target-directory).
69400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69402         * bits/types.h (__snseconds_t): Removed.
69403         * time/time.h (struct timespec): Replace __snseconds_t with
69404         __syscall_slong_t.
69405         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69406         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69407         Likewise.
69408         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69409         (__SNSECONDS_T_TYPE): Likewise.
69410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69411         (__SNSECONDS_T_TYPE): Likewise.
69412         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69413         (__SNSECONDS_T_TYPE): Likewise.
69415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69417         * sysdeps/mach/hurd/bits/typesizes.h
69418         (__SYSCALL_SLONG_TYPE): New macro.
69419         (__SYSCALL_ULONG_TYPE): Likewise.
69421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69423         * bits/types.h (__syscall_slong_t): New type.
69424         (__syscall_ulong_t): Likewise.
69426         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69427         (__SYSCALL_ULONG_TYPE): Likewise.
69428         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69429         (__SYSCALL_SLONG_TYPE): Likewise.
69430         (__SYSCALL_ULONG_TYPE): Likewise.
69431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69432         (__SYSCALL_SLONG_TYPE): Likewise.
69433         (__SYSCALL_ULONG_TYPE): Likewise.
69434         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69435         (__SYSCALL_SLONG_TYPE): Likewise.
69436         (__SYSCALL_ULONG_TYPE): Likewise.
69438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69440         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69441         Add sigaltstack-offsets.sym.
69442         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69443         <sigaltstack-offsets.h>.
69444         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69445         longjmp_msg pointer.
69446         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69447         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69448         signal stack.
69449         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69451 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69453         * elf/stackguard-macros.h: Remove file.
69454         * sysdeps/generic/stackguard-macros.h: New file.
69455         * sysdeps/i386/stackguard-macros.h: Likewise.
69456         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69457         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69458         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69459         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69460         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69461         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69462         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69463         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69464         <elf/stackguard-macros.h>.
69466         [BZ #14109]
69467         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69468         __aligned__ in attribute.
69469         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69470         (gregset_t): Likewise.
69472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69474         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69475         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69476         * sysdeps/x86_64/x32/Implies-after: New file.
69478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69480         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69481         and access return value for _dl_profile_fixup.  Use R10_LP to
69482         load frame size.
69484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69486         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69490         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69491         * sysdeps/x86_64/x32/sysdep.h: New file.
69493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69495         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69496         * sysdeps/x86_64/setjmp.S: Likewise.
69498 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69500         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69501         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69502         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69503         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69504         remove unused global constant.
69506 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69508         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69509         include of <not-cancel.h>.
69511 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69513         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69515 2012-05-15  Jeff Law  <law@redhat.com>
69516             Andreas Jaeger  <aj@suse.de>
69518         [BZ #13594]
69519         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69520         out from...
69521         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69522         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69523         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69524         code changing __hst_map_handle.map.
69526 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69528         * configure.in (sysnames): Look for Implies-before and Implies-after
69529         files.
69530         * configure: Regenerated.
69532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69534         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69535         8-byte data alignment with LP_SIZE alignment.
69537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69539         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69540         into R10_LP.
69542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69544         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69548         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69549         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69550         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69551         Likewise.
69552         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69556         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69557         (stackinfo_sub_sp): Likewise.
69559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69561         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69562         RAX_LP.
69564 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69566         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69567         into R*_LP.
69569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69571         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69572         sizes into R*_LP.
69574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69576         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69580         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69581         into R11_LP and load __x86_64_shared_cache_size_half into
69582         R8_LP.
69584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69586         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69587         R8_LP.
69589 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69591         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69592         logb for POWER7.
69593         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69594         logbf for POWER7.
69595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69596         logbl for POWER7.
69597         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69598         powerpc32/power7/fpu/s_logb.c via #include.
69599         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69600         powerpc32/power7/fpu/s_logbf.c via #include.
69601         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69602         powerpc32/power7/fpu/s_logbl.c via #include.
69604 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69606         * README.libm: Remove file.
69608 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69610         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69611         count for x32.  Use R*_LP and omit operand-size suffix.
69613 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69615         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69616         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69617         * sysdeps/x86_64/x32/shlib-versions: New file.
69619 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69621         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69622         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69623         Use _dl_fatal_printf instead.
69625 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69627         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69628         set if not set by the user.  Do not allow for being unset.
69629         * sysdeps/unix/sysv/linux/configure: Regenerated.
69631 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69633         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69634         the `q' suffix from lea and replace .quad with ASM_ADDR.
69636 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69639         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69640         instead of $17.
69641         (PTR_DEMANGLE): Likewise.
69643 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69645         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69646         (LP_OP): Likewise.
69647         (ASM_ADDR): Likewise.
69648         (RAX_LP): Likewise.
69649         (RBP_LP): Likewise.
69650         (RBX_LP): Likewise.
69651         (RCX_LP): Likewise.
69652         (RDI_LP): Likewise.
69653         (RSI_LP): Likewise.
69654         (RSP_LP): Likewise.
69655         (R8_LP): Likewise.
69656         (R9_LP): Likewise.
69657         (R10_LP): Likewise.
69658         (R10_LP): Likewise.
69659         (R11_LP): Likewise.
69660         (R12_LP): Likewise.
69661         (R13_LP): Likewise.
69662         (R14_LP): Likewise.
69663         (R15_LP): Likewise.
69665 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69667         * sysdeps/x86_64/x32/dl-machine.h: New file.
69669 2012-05-14  Andreas Jaeger  <aj@suse.de>
69671         * manual/Makefile (subdir): Remove export of subdir.
69672         (all): Remove target.
69673         (.PHONY): Remove all from list.
69674         (mkinstalldirs): Remove.
69675         (.PHONY): Remove installdirs from list.
69676         ($(inst_infodir)/libc.info): Use make-target-directory.
69677         (installdirs): Remove.
69678         (subdir_%): Remove.
69679         (glibc-targets): Remove.
69680         (lib): Remove.
69681         (stubs): Remove.
69682         ($(objpfx)stubs ../po/manual.pot): Remove.
69683         ($(objpfx)stamp%): Remove.
69684         (make-target-directory): Remove.
69685         (subdir_install): Remove.
69686         (routines): Remove.
69687         (aux): Remove.
69688         (sources): Remove.
69689         (objects): Remove.
69690         (headers): Remove.
69692         [BZ #13750]
69693         * manual/.gitignore: Remove, it's not needed anymore.
69694         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69695         all files in it.
69696         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69697         directory.
69698         (texis): Renamed to $(objpfx)texis.
69699         (texis-path): New, contains path to generated files.
69700         (chapters.%): Use texis-path for complete path, add extra argument
69701         libc-texinfo.sh.
69702         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69703         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69704         (summary,texi, stamp-summary): Use complete path of
69705         files. Generate files in build dir.
69706         (dir-add.texi): Build in build dir.
69707         (libm-err.texi,stamp-libm-err): Likewise.
69708         (version.texi, stamp-version): Likewise.
69709         (.%c.texi): Likewise.
69710         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69711         (mostlyclean): Remove target.
69712         (realclean): Remove target.
69713         (generated): Add new variable with contents from mostlyclean and
69714         realclean, remove entries duplicated in common-mostlyclean, add
69715         stamp-libm-err and stamp-version.
69716         (generated-dirs): Add libc directory.
69717         ($(inst_infodir)/libc.info): Install files from build dir.
69719         * manual/install.texi (Configuring and compiling): Adjust since
69720         the info files are not part of the tar ball anymore.
69722 2012-05-14  Andreas Jaeger  <aj@suse.de>
69724         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69725         variable.
69727 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69729         [BZ #13717]
69730         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69731         to 2.2.0 where earlier.
69732         * sysdeps/unix/sysv/linux/configure: Regenerated.
69733         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69734         Remove conditional code.
69735         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69736         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69737         Remove conditional code.
69738         [!__NR_lchown]: Likewise.
69739         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69740         [__NR_lchown]: Likewise.
69741         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69742         comment referencing __ASSUME_LCHOWN_SYSCALL.
69743         * sysdeps/unix/sysv/linux/i386/sigaction.c
69744         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69745         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69746         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69747         Remove conditional code.
69748         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69749         (__protocol_available): Remove #if 0 code.
69750         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69751         conditional code.
69752         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69753         * sysdeps/unix/sysv/linux/kernel-features.h
69754         (__ASSUME_GETCWD_SYSCALL): Don't define.
69755         (__ASSUME_REALTIME_SIGNALS): Likewise.
69756         (__ASSUME_PREAD_SYSCALL): Likewise.
69757         (__ASSUME_PWRITE_SYSCALL): Likewise.
69758         (__ASSUME_POLL_SYSCALL): Likewise.
69759         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69760         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69761         non-SPARC.
69762         (__ASSUME_SIOCGIFNAME): Don't define.
69763         (__ASSUME_MSG_NOSIGNAL): Likewise.
69764         (__ASSUME_SENDFILE): Define unconditionally.
69765         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69766         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69767         conditional code.
69768         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69769         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69770         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69771         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69772         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69773         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69774         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69776         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69779         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69782         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69783         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69785         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69786         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69788         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69789         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69791         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69792         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69794         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69795         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69797         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69798         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69799         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69800         Remove conditional code.
69801         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69802         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69803         Remove conditional code.
69804         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69805         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69806         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69807         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69808         Remove conditional code.
69809         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69810         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69811         Remove conditional code.
69812         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69813         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69814         Remove conditional code.
69815         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69816         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69817         Remove conditional code.
69818         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69819         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69820         Remove conditional code.
69821         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69822         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69823         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69824         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69825         * sysdeps/unix/sysv/linux/sigaction.c
69826         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69827         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69828         * sysdeps/unix/sysv/linux/sigpending.c
69829         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69830         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69831         * sysdeps/unix/sysv/linux/sigprocmask.c
69832         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69833         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69834         * sysdeps/unix/sysv/linux/sigsuspend.c
69835         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69836         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69837         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69838         (__libc_missing_rt_sigs): Remove.
69839         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69840         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69841         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69842         Remove conditional code.
69843         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69844         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69845         return 1.
69846         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69847         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69848         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69849         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69851 2012-05-14  Andreas Jaeger  <aj@suse.de>
69853         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69854         it's not used in glibc.
69855         (__coshm1): Likewise.
69856         (__acosh1p): Likewise.
69857         (__sgn): Likewise.
69859         * manual/string.texi (Copying and Concatenation): Add missing
69860         variable in concat example.
69861         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69863 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69865         [BZ #14103]
69866         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69867         __builtin_clzl with __builtin_clzll.
69869 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69871         [BZ #14104]
69872         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69873         libc_freeres_ptr.
69875 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69877         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69878         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69879         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69880         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69882 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69884         * NEWS: Update ia64 info.
69886 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69888         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69889         used as bcopy.
69891 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69893         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69894         * sysdeps/unix/syscalls.list (dup3): Likewise.
69895         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69896         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69898 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69900         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69901         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69903 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69905         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69906         thread pointer.
69907         (TLS_IE): Use mov/add instead of movq/addq to load thread
69908         pointer.
69909         (TLS_GD_PREFIX): New.
69910         (TLS_GD): Use it.
69912 2012-05-11  David S. Miller  <davem@davemloft.net>
69914         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69915         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69916         (_FPU_SETCW): Likewise.
69918 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69920         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69921         is 32-byte aligned.
69923 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69925         [BZ #11837]
69926         * iconvdata/gb18030.c: Update tables.
69927         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69928         characters specially.
69929         (BODY for TO_LOOP): Add encoding of missing ranges.
69931 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69933         [BZ #13673]
69934         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69935         * sysdeps/mach/hurd/dup3.c: Likewise.
69936         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69937         * sysdeps/powerpc/memmove.c:: Likewise.
69939 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69941         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69942         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69944 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69946         * elf/elf.h (R_X86_64_RELATIVE64): New.
69947         (R_X86_64_NUM): Updated.
69948         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69949         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69950         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69951         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69952         tst-quad1pie tst-quad2pie
69953         (modules-names): Add tst-quadmod1 tst-quadmod2.
69954         ($(objpfx)tst-quad1): New dependency.
69955         ($(objpfx)tst-quad2): Likewise.
69956         ($(objpfx)tst-quad1pie): Likewise.
69957         ($(objpfx)tst-quad2pie): Likewise.
69958         * sysdeps/x86_64/tst-quad1.c: New file.
69959         * sysdeps/x86_64/tst-quad1pie.c: New file.
69960         * sysdeps/x86_64/tst-quad2.c: Likewise.
69961         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69962         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69963         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69964         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69965         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69967 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69969         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69970         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69971         * streams/stropts.h (t_scalar_t): Define type.
69973         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69974         (_PATH_PRESERVE): Set to "/var/lib".
69975         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69977         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69978         instead of int.
69980         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69981         if __dir_mkfile succeeded.
69983         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69984         checking for _hurd_dtablesize.  Unlock it right after having
69985         finished _hurd_dtable allocation.
69987 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69989         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69990         * sysdeps/mach/hurd/configure: Regenerated.
69991         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69992         special-casing to...
69993         * sysdeps/gnu/configure.in: ... this new file.
69994         * sysdeps/unix/sysv/linux/configure: Regenerated.
69995         * sysdeps/gnu/configure: New generated file.
69997         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69998         for Linux: use nsec instead of usec, as well as:
69999         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
70000         members of type struct timespec.
70001         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
70002         New macros.
70003         (struct stat64): Likewise.
70004         (_STATBUF_ST_NSEC): New macro.
70005         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
70007         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70008         __strtoul_internal rather than strtoul.
70010 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70012         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
70013         and reject them.
70015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70017         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
70018         which preserves existing values.
70019         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
70021 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70023         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
70024         TIMEOUT values.  Return EINVAL for NFDS values either negative or
70025         greater than FD_SETSIZE.
70027 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70029         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
70030         allocated, call __vm_protect to finish enabling the existing space, and
70031         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
70032         allocate the remainder.
70034 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70036         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
70037         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
70039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70041         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
70042         sysdeps/mach/hurd/readlink.c.
70044         * posix/tst-sysconf.c (posix_options): Only use
70045         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
70046         _POSIX_SYNCHRONIZED_IO when they are defined
70047         * sysdeps/mach/hurd/bits/posix_opt.h:
70048         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
70049         (_XOPEN_REALTIME): Undefine macro.
70050         (_XOPEN_REALTIME_THREADS): Undefine macro.
70051         (_XOPEN_SHM): Undefine macro.
70052         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
70053         macro to -1.
70054         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
70055         macro to -1.
70056         (_POSIX_ASYNC_IO): Undefine macro.
70057         (_POSIX_PRIORITIZED_IO): Undefine macro.
70058         (_POSIX_SPIN_LOCKS): Define macro to -1.
70060         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
70061         SA_NODEFER, SA_RESETHAND.
70062         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
70063         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
70064         F_DUPFD_CLOEXEC.
70066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70068         * elf/Makefile (pldd-modules): Define unconditionally.
70070 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70072         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
70074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70076         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
70077         Return ENOENT when name is empty.
70078         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
70080 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70082         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
70084         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
70086 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70088         Fix mlock in all cases except non-readable pages.
70089         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
70090         instead of VM_PROT_ALL as parameter to __vm_wire function.
70092         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
70093         (__mkdir): When path is `/', just fail with EEXIST.
70094         * sysdeps/mach/hurd/mkdirat.c: Likewise.
70096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70098         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
70099         <sys/uio.h> (for writev).
70100         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
70101         and <sys/param.h> (for MIN).
70103 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70105         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
70106         REQUESTED_TIME.  Properly set the remaining time and return EINTR
70107         if interrupted.
70109 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70111         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
70112         Depend on against $(link-rpcuserlibs).
70114 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70116         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
70117         (__libc_stack_end): Do not use attribute_relro.
70118         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
70119         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
70120         to libthread-provided value.
70121         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
70122         attribute_relro.
70124 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70126         [BZ #3748]
70127         * bits/libc-lock.h (__libc_once_get): New macro.
70128         * sysdeps/mach/bits/libc-lock.h: Likewise.
70129         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
70130         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
70131         instead of using implementation details.
70133         * libio/fileops.c: Unconditionally include <kernel-features.h>.
70134         * libio/freopen.c: Likewise.
70135         * libio/freopen64.c: Likewise.
70136         * misc/syslog.c: Likewise.
70137         * nscd/connections.c: Likewise.
70138         * nscd/netgroupcache.c: Likewise.
70139         * sysdeps/posix/getcwd.c: Likewise.
70141 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70143         * math/w_ilogbf.c: Add #include <limits.h>.
70145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70147         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
70148         path instead of returning without unlocking.
70150         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
70151         immediate-write ioctls.
70152         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
70154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70156         * sysdeps/mach/hurd/i386/init-first.c (init): Use
70157         __builtin_frame_address instead of making assumptions about the
70158         location of the return address relative to DATA.  Force early load of
70159         the return address.
70160         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
70161         __builtin_frame_address.
70163         dup3 for GNU Hurd.
70164         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
70165         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
70166         implement dup3 and do some further code clean-ups.
70167         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
70168         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
70170 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70172         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
70174         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
70175         HURD_CRITICAL_END around holding _hurd_dtable_lock.
70176         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
70177         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
70178         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
70179         d->port.lock.
70181         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
70182         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
70183         when handler == SIG_ERR, not when handler != SIG_ERR.
70185 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70187         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
70188         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
70189         definitions.
70191         accept4 for GNU Hurd.
70192         * include/sys/socket.h (__libc_accept4): New prototype.
70193         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
70194         to implement __libc_accept4.
70195         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
70196         __libc_accept4.
70197         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
70199         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
70200         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
70201         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
70202         signal-defines.sym.
70204 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70206         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
70208 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70210         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
70211         assertion on O_CLOEXEC flag.
70212         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
70213         * hurd/intern-fd.c: Likewise.
70214         * hurd/port2fd.c: Likewise.
70216 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70218         [BZ #3906]
70219         * bits/in.h (IPV6_PKTINFO): Define new macro.
70220         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
70222 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70224         [BZ #13954]
70225         [BZ #13955]
70226         [BZ #13956]
70227         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
70228         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70229         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
70230         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70232         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70233         * math/libm-test.inc (logb_test) : Additional logb tests.
70235 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
70236             Andreas Jaeger  <aj@suse.de>
70238         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
70239         * configure: Regenerated.
70240         * config.h.in (LINK_OBSOLETE_RPC): New macro.
70241         * config.make.in (link-obsolete-rpc): New substituted variable.
70242         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
70243         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
70244         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70245         (shared-only-routines): Don't set it under [link-obsolete-rpc],
70246         so that libc.a contains the symbols.
70247         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70248         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
70249         * sunrpc/auth_none.c: Likewise.
70250         * sunrpc/auth_unix.c: Likewise.
70251         * sunrpc/authdes_prot.c: Likewise.
70252         * sunrpc/authuxprot.c: Likewise.
70253         * sunrpc/clnt_gen.c: Likewise.
70254         * sunrpc/clnt_perr.c: Likewise.
70255         * sunrpc/clnt_raw.c: Likewise.
70256         * sunrpc/clnt_simp.c: Likewise.
70257         * sunrpc/clnt_tcp.c: Likewise.
70258         * sunrpc/clnt_udp.c: Likewise.
70259         * sunrpc/clnt_unix.c: Likewise.
70260         * sunrpc/des_crypt.c: Likewise.
70261         * sunrpc/des_soft.c: Likewise.
70262         * sunrpc/get_myaddr.c: Likewise.
70263         * sunrpc/key_call.c: Likewise.
70264         * sunrpc/key_prot.c: Likewise.
70265         * sunrpc/netname.c: Likewise.
70266         * sunrpc/pm_getmaps.c: Likewise.
70267         * sunrpc/pm_getport.c: Likewise.
70268         * sunrpc/pmap_clnt.c: Likewise.
70269         * sunrpc/pmap_prot.c: Likewise.
70270         * sunrpc/pmap_prot2.c: Likewise.
70271         * sunrpc/pmap_rmt.c: Likewise.
70272         * sunrpc/publickey.c: Likewise.
70273         * sunrpc/rpc_cmsg.c: Likewise.
70274         * sunrpc/rpc_common.c: Likewise.
70275         * sunrpc/rpc_dtable.c: Likewise.
70276         * sunrpc/rpc_prot.c: Likewise.
70277         * sunrpc/rpc_thread.c: Likewise.
70278         * sunrpc/rtime.c: Likewise.
70279         * sunrpc/svc.c: Likewise.
70280         * sunrpc/svc_auth.c: Likewise.
70281         * sunrpc/svc_raw.c: Likewise.
70282         * sunrpc/svc_run.c: Likewise.
70283         * sunrpc/svc_tcp.c: Likewise.
70284         * sunrpc/svc_udp.c: Likewise.
70285         * sunrpc/svc_unix.c: Likewise.
70286         * sunrpc/svcauth_des.c: Likewise.
70287         * sunrpc/xcrypt.c: Likewise.
70288         * sunrpc/xdr.c: Likewise.
70289         * sunrpc/xdr_array.c: Likewise.
70290         * sunrpc/xdr_float.c: Likewise.
70291         * sunrpc/xdr_intXX_t.c: Likewise.
70292         * sunrpc/xdr_mem.c: Likewise.
70293         * sunrpc/xdr_rec.c: Likewise.
70294         * sunrpc/xdr_ref.c: Likewise.
70295         * sunrpc/xdr_sizeof.c: Likewise.
70296         * sunrpc/xdr_stdio.c: Likewise.
70298 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70300         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70301         change.  Update copyright years.
70303 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70305         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70307 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70308             Joseph Myers  <joseph@codesourcery.com>
70309             Paul Pluzhnikov  <ppluzhnikov@google.com>
70311         [BZ #14012]
70312         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70313         requiring rpcgen.
70314         [cross-compiling] (extra-libs): Likewise.
70315         [cross-compiling] (extra-libs-others): Likewise.
70316         [cross-compiling] (librpcsvc-routines): Likewise.
70317         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70318         [cross-compiling] (omit-deps): Likewise.
70319         (sunrpc-CPPFLAGS): New variable.
70320         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70321         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70322         (cross-rpcgen-objs): New variable.
70323         (extra-objs): Append $(cross-rpcgen-objs).
70324         ($(cross-rpcgen-objs)): New rule.
70325         ($(objpfx)cross-rpcgen): Likewise.
70326         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70327         comment.
70328         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70329         ($(objpfx)x%.stmp): Likewise.
70330         * sunrpc/proto.h [IS_IN_build] (_): Define.
70331         [IS_IN_build] (_libc_intl_domainname): Likewise.
70333 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70335         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70336         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70337         and R_X86_64_TPOFF64.
70339 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70341         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70342         sysdeps/unix/sysv/syscalls.list.
70343         (stime): Likewise.
70344         (utime): Likewise.
70345         * sysdeps/unix/sysv/syscalls.list: Remove file.
70347 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
70349         [BZ #3440]
70350         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70351         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70352         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70353         (__LC_IDENTIFICATION): Make these macros useful in #if
70354         expressions, as required by C99.
70356 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
70358         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70359         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
70360         after this.
70362 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70364         * stdlib/longlong.h: Updated from GCC.
70366 2012-05-09  Andreas Jaeger  <aj@suse.de>
70368         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70369         default is first entry.
70370         (run_mode): Set type.
70371         (main): Remove informal message about syslog.
70372         (options): Fix typo.
70374         [BZ #14053]
70375         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70376         to asm.
70377         (lrint): Likewise.
70378         (llrintf): Likewise.
70379         (llrint): Likewise.
70380         (rint): Likewise.
70381         (rintf): Likewise.
70382         (nearbyint): Likewise.
70383         (nearbyintf): Likewise.
70385 2012-05-09  Andreas Jaeger  <aj@suse.de>
70386             Pedro Alves  <palves@redhat.com>
70388         * nscd/nscd.c (run_mode): Use enum.
70389         (main): Cleanup coding style issue.
70391 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70392             Andreas Jaeger  <aj@suse.de>
70394         * nscd/nscd.c (go_background): Replaced with...
70395         (run_mode): ... this.
70396         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70397         (options): Add -F --foreground.
70398         (main): Implement it.
70399         (parse_opt): Parse it.
70401 2012-05-09  Andreas Jaeger  <aj@suse.de>
70403         [BZ #14083]
70404         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70405         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70406         -Wconversion warning.
70407         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70408         Likewise.
70410 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70412         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70413         == 0.
70414         (LC_ALL): Use macro-int-constant.
70415         (LC_COLLATE): Likewise.
70416         (LC_CTYPE): Likewise.
70417         (LC_MESSAGES): Likewise.
70418         (LC_MONETARY): Likewise.
70419         (LC_NUMERIC): Likewise.
70420         (LC_TIME): Likewise.
70421         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70422         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70423         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70424         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70425         Specify type.
70426         [C99-based standards] (float_t): Expect type.
70427         [C99-based standards] (double_t): Expect type.
70428         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70429         type.
70430         [C99-based standards] (HUGE_VALL): Likewise.
70431         [C99-based standards] (INFINITY): Likewise.
70432         [C99-based standards] (NAN): Likewise.
70433         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70434         [C99-based standards] (FP_NAN): Likewise.
70435         [C99-based standards] (FP_NORMAL): Likewise.
70436         [C99-based standards] (FP_SUBNORMAL): Likewise.
70437         [C99-based standards] (FP_ZERO): Likewise.
70438         [C99-based standards] (FP_FAST_FMA): Use
70439         optional-macro-int-constant.  Specify type.  Require == 1.
70440         [C99-based standards] (FP_FAST_FMAF): Likewise.
70441         [C99-based standards] (FP_FAST_FMAL): Likewise.
70442         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70443         [C99-based standards] (FP_ILOGBNAN): Likewise.
70444         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70445         Specify type.
70446         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70447         [C99-based standards] (math_errhandling): Specify type.
70448         [ISO99 || ISO11] (signgam): Do not allow.
70449         [non-C99-based standards] (copysignf): Do not allow.
70450         [non-C99-based standards] (exp2f): Likewise.
70451         [non-C99-based standards] (log2f): Likewise.
70452         [non-C99-based standards] (modff): Allow.
70453         [non-C99-based standards] (erff): Do not allow.
70454         [non-C99-based standards] (erfcf): Likewise.
70455         [non-C99-based standards] (gammaf): Likewise.
70456         [non-C99-based standards] (hypotf): Likewise.
70457         [non-C99-based standards] (j0f): Likewise.
70458         [non-C99-based standards] (j1f): Likewise.
70459         [non-C99-based standards] (jnf): Likewise.
70460         [non-C99-based standards] (lgammaf): Likewise.
70461         [non-C99-based standards] (tgammaf): Likewise.
70462         [non-C99-based standards] (y0f): Likewise.
70463         [non-C99-based standards] (y1f): Likewise.
70464         [non-C99-based standards] (ynf): Likewise.
70465         [non-C99-based standards] (isnanf): Likewise.
70466         [non-C99-based standards] (acoshf): Likewise.
70467         [non-C99-based standards] (asinhf): Likewise.
70468         [non-C99-based standards] (atanhf): Likewise.
70469         [non-C99-based standards] (cbrtf): Likewise.
70470         [non-C99-based standards] (expm1f): Likewise.
70471         [non-C99-based standards] (ilogbf): Likewise.
70472         [non-C99-based standards] (log1pf): Likewise.
70473         [non-C99-based standards] (logbf): Likewise.
70474         [non-C99-based standards] (nextafterf): Likewise.
70475         [non-C99-based standards] (remainderf): Likewise.
70476         [non-C99-based standards] (rintf): Likewise.
70477         [non-C99-based standards] (scalbf): Likewise.
70478         [non-C99-based standards] (copysignl): Likewise.
70479         [non-C99-based standards] (exp2l): Likewise.
70480         [non-C99-based standards] (log2l): Likewise.
70481         [non-C99-based standards] (modfl): Allow.
70482         [non-C99-based standards] (erfl): Do not allow.
70483         [non-C99-based standards] (erfcl): Likewise.
70484         [non-C99-based standards] (gammal): Likewise.
70485         [non-C99-based standards] (hypotl): Likewise.
70486         [non-C99-based standards] (j0l): Likewise.
70487         [non-C99-based standards] (j1l): Likewise.
70488         [non-C99-based standards] (jnl): Likewise.
70489         [non-C99-based standards] (lgammal): Likewise.
70490         [non-C99-based standards] (tgammal): Likewise.
70491         [non-C99-based standards] (y0l): Likewise.
70492         [non-C99-based standards] (y1l): Likewise.
70493         [non-C99-based standards] (ynl): Likewise.
70494         [non-C99-based standards] (isnanl): Likewise.
70495         [non-C99-based standards] (acoshl): Likewise.
70496         [non-C99-based standards] (asinhl): Likewise.
70497         [non-C99-based standards] (atanhl): Likewise.
70498         [non-C99-based standards] (cbrtl): Likewise.
70499         [non-C99-based standards] (expm1l): Likewise.
70500         [non-C99-based standards] (ilogbl): Likewise.
70501         [non-C99-based standards] (log1pl): Likewise.
70502         [non-C99-based standards] (logbl): Likewise.
70503         [non-C99-based standards] (nextafterl): Likewise.
70504         [non-C99-based standards] (remainderl): Likewise.
70505         [non-C99-based standards] (rintl): Likewise.
70506         [non-C99-based standards] (scalbl): Likewise.
70507         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70508         [non-C99-based standards] (FP_*): Do not allow.
70509         [C99-based standards] (FP_*): Change to
70510         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70511         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70512         allow.
70513         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70514         (SIG_ERR): Likewise.
70515         [X/Open-based standards] (SIG_HOLD): Likewise.
70516         (SIG_IGN): Likewise.
70517         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70518         positive value.
70519         (SIGFPE): Likewise.
70520         (SIGILL): Likewise.
70521         (SIGINT): Likewise.
70522         (SIGSEGV): Likewise.
70523         (SIGTER): Likewise.
70524         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70525         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70526         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70527         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70528         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70529         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70530         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70531         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70532         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70533         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70534         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70535         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70536         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70537         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70538         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70539         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70540         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70541         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70542         [X/Open-based standards] (SIGTRAP): Likewise.
70543         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70544         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70545         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70546         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70547         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70548         allow.
70550 2012-05-08  Ian Wienand  <ianw@vmware.com>
70552         [BZ #14080]
70553         * time/tzset.c (__tzset_parse_tz): Update default rules for
70554         daylight time changes in the Energy Policy Act of 2005.
70556 2012-05-09  Andreas Jaeger  <aj@suse.de>
70558         [BZ #13983]
70559         * elf/ldconfig.c (parse_conf): Change string to make clear that
70560         ldconfig only issued a warning if ld.so.conf does not exist.
70562 2012-05-08  David S. Miller  <davem@davemloft.net>
70564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70565         movxtod instead of popping the value on the stack.
70567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70569 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70571         * config.h.in: Add HAVE_ARM_PCS_VFP.
70573 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70575         [BZ #13979]
70576         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70577         checking but the checks are disabled for any reason.
70579 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70581         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70582         and ELF64_R_TYPE with ELFW(R_TYPE).
70584 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70586         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70587         (ulimit): Likewise.
70589         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70590         (settimeofday): Likewise.
70592 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70594         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70595         a struct th_u2 inside the union, and move tu_block/tu_code into
70596         a new th_u3 union of tu_block/tu_code inside of that.  Move
70597         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70598         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70599         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70600         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70601         (th_stuff): Change to th_u1.tu_stuff.
70602         (th_data): Define.
70603         (th_msg): Change to th_u1.th_u2.tu_data.
70605 2012-05-07  David S. Miller  <davem@davemloft.net>
70607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70609         [BZ #14074]
70610         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70611         (SETUP_PIC_REG): Use it.
70612         (SETUP_PIC_REG_LEAF): Use it.
70614 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70616         [BZ #13885]
70617         [BZ #13923]
70618         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70619         USE_AS_EXPM1L.
70620         (EXPL_FINITE): Likewise.
70621         (FLDLOG): Likewise.
70622         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70623         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70624         e_expl.S.
70625         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70626         USE_AS_EXPM1L.
70627         (EXPL_FINITE): Likewise.
70628         (FLDLOG): Likewise.
70629         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70630         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70631         e_expl.S.
70632         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70633         test of -max_value argument for long double.
70634         * sysdeps/i386/fpu/libm-test-ulps: Update.
70635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70637 2012-05-06  David S. Miller  <davem@davemloft.net>
70639         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70640         quad soft-float symbols whose references which are compiler
70641         generated.
70642         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70644 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70646         [BZ #13884]
70647         [BZ #13914]
70648         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70649         USE_AS_EXP10L.
70650         (EXPL_FINITE): Likewise.
70651         (FLDLOG): Likewise.
70652         (c0): Likewise.
70653         (c1): Likewise.
70654         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70655         Adjust comments for base varying.
70656         (__expl_finite): Change alias to EXPL_FINITE.
70657         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70658         e_expl.S.
70659         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70660         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70661         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70662         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70663         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70664         USE_AS_EXP10L.
70665         (EXPL_FINITE): Likewise.
70666         (FLDLOG): Likewise.
70667         (c0): Likewise.
70668         (c1): Likewise.
70669         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70670         Adjust comments for base varying.
70671         (__expl_finite): Change alias to EXPL_FINITE.
70672         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70673         tests for bugs.
70674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70676         [BZ #14064]
70677         * math/libm-test.inc (check_float_internal): Correct ulp
70678         calculation for subnormal expected results.
70680 2012-05-06  Andreas Jaeger  <aj@suse.de>
70682         * Makeconfig (+math-flags): New, set to -frounding-math.
70683         (+cflags): Add +math-flags so that all of glibc gets compiled with
70684         it.
70686         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70688 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70690         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70691         Disable one test.
70693         [BZ #13787]
70694         [BZ #13922]
70695         [BZ #14036]
70696         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70697         (__ieee754_expl): Allow for and saturate large arguments.
70698         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70699         (u_threshold): Likewise.
70700         (__exp): Call __ieee754_exp before checking for overflow and
70701         underflow.
70702         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70703         (u_threshold): Likewise.
70704         (__expf): Call __ieee754_expf before checking for overflow and
70705         underflow.
70706         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70707         (u_threshold): Likewise.
70708         (__expl): Call __ieee754_expl before checking for overflow and
70709         underflow.
70710         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70711         (__ieee754_expl): Allow for and saturate large arguments.
70712         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70713         missing overflow exception on overflow.
70714         (expm1_test): Do not allow missing overflow exception on overflow.
70716         * sysdeps/i386/fpu/e_expl.c: Move to ...
70717         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70718         rather than using inline asm.
70719         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70720         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70721         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70723         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70724         (nice): Likewise.
70725         (poll): Likewise.
70726         (signal): Likewise.
70727         (time): Likewise.
70728         (times): Likewise.
70730 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70732         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70733         sysdeps/unix/common/syscalls.list.
70734         (fchmod): Likewise.
70735         (fchown): Likewise.
70736         (ftruncate): Likewise.
70737         (getrusage): Likewise.
70738         (gettimeofday): Likewise.
70739         (setpgid): Likewise.
70740         (setregid): Likewise.
70741         (setreuid): Likewise.
70742         (sigaction): Likewise.
70743         (truncate): Likewise.
70744         (vhangup): Likewise.
70745         * sysdeps/unix/common/syscalls.list: Remove file.
70746         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70747         * sysdeps/unix/sysv/linux/Implies: Likewise.
70749 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70751         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70753         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70754         Moved to ...
70755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70756         Here.
70757         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70758         to ...
70759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70760         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70761         to ...
70762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70763         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70764         to ...
70765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70766         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70767         to ...
70768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70769         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70770         to ...
70771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70772         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70773         to ...
70774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70775         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70776         to ...
70777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70778         Here.
70779         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70780         to ...
70781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70782         Here.
70783         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70784         to ...
70785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70786         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70787         Moved to ...
70788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70789         Here.
70790         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70791         to ...
70792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70794 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70796         * sysdeps/unix/common/bits/dirent.h: Remove file.
70797         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70799         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70800         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70801         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70802         * sysdeps/unix/bsd/isatty.c: Likewise.
70803         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70804         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70805         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70807 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70809         [BZ #13563]
70810         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70811         long double comparison inaccuracies.
70812         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70815 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70817         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70818         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70820 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70822         [BZ #14049]
70823         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70824         nonzero digits before rounding a hex value.
70825         * stdlib/tst-strtod.c (tests): Add another test.
70827 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70829         * sysdeps/s390/fpu/libm-test-ulps: Update.
70831 2012-05-03  Andreas Jaeger  <aj@suse.de>
70833         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70834         does not get optimized out.
70835         (malloc_opt_barrier): New.
70837 2012-05-03  Andreas Jaeger  <aj@suse.de>
70838             Roland McGrath  <roland@hack.frob.com>
70840         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70841         intermediate file deletion.
70842         (generated): Add .symlist files.
70844 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70846         [BZ #13775]
70847         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70848         Redirect under this condition.
70849         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70850         [__USE_GNU] (__dprintf_chk): Not under this condition.
70851         [__USE_GNU] (__vdprintf_chk): Likewise.
70852         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70853         under this condition.
70854         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70855         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70856         [__USE_XOPEN2K8] (vdprintf): Likewise.
70857         [__USE_GNU] (__dprintf_chk): Not under this condition.
70858         [__USE_GNU] (__vdprintf_chk): Likewise.
70859         [__USE_GNU] (dprintf): Likewise.
70860         [__USE_GNU] (vdprintf): Likewise.
70862 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70864         * elf/Makefile (common-generated): Set this instead of generated for
70865         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70866         $(all-built-dso)-derived lists.
70868 2012-05-03  Andreas Jaeger  <aj@suse.de>
70870         * sysdeps/i386/fpu/libm-test-ulps: Update.
70872         * FAQ: Removed.
70873         * FAQ.in: Likewise.
70874         * scripts/gen-FAQ.pl: Likewise.
70875         * manual/install.texi (Installation): Point to online location of
70876         FAQ.
70877         * Makefile (files-for-dist): Remove FAQ.
70878         (FAQ): Remove.
70880 2012-05-02  Allan McRae  <allan@archlinux.org>
70882         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70883         (LDFLAGS-reldepmod5.so): Likewise.
70884         (LDFLAGS-reldep6mod1.so): Likewise.
70885         (LDFLAGS-reldep6mod4.so): Likewise.
70886         (LDFLAGS-reldep8mod3.so): Likewise.
70887         (LDFLAGS-unload4mod1.so): Likewise.
70888         (LDFLAGS-unload4mod2.so): Likewise.
70889         (LDFLAGS-tst-initorder): Likewise.
70890         (LDFLAGS-tst-initordera2.so): Likewise.
70891         (LDFLAGS-tst-initordera3.so): Likewise.
70892         (LDFLAGS-tst-initordera4.so): Likewise.
70893         (LDFLAGS-tst-initorderb2.so): Likewise.
70894         (LDFLAGS-noload): Likewise.
70895         (LDFLAGS-next): Likewise.
70896         (LDFLAGS-order2mod1.so): Likewise.
70897         (LDFLAGS-order2mod2.so): Likewise.
70898         (LDFLAGS-tst-initorder2): Likewise.
70899         (LDFLAGS-tst-initorder2a.so): Likewise.
70900         (LDFLAGS-tst-initorder2b.so): Likewise.
70901         (LDFLAGS-tst-initorder2c.so): Likewise.
70902         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70904 2012-05-02  David S. Miller  <davem@davemloft.net>
70906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70908 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70910         [BZ #14055]
70911         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70913 2012-05-02  Andreas Jaeger  <aj@suse.de>
70915         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70916         since we manipulate rounding mode.
70917         (CPPFLAGS-test-idouble.c): Likewise.
70918         (CPPFLAGS-test-ifloat.c): Likewise.
70919         (CFLAGS-test-ldouble.c): Likewise.
70920         (CFLAGS-test-double.c): Likewise.
70921         (CFLAGS-test-float.c): Likewise.
70922         (CFLAGS-test-misc.c): Likewise.
70923         (CFLAGS-test-test-fenv.c): Likewise.
70925 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70927         [BZ #2550]
70928         [BZ #2570]
70929         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70930         comparisons to determine direction to adjust input.
70932 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70934         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70935         output to the target.
70937         * scripts/localplt.awk: New file.
70938         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70939         (check-localplt-CFLAGS): Variable removed.
70940         ($(all-built-dso:=.jmprel)): New static pattern rule.
70941         (generated): Add those targets.
70942         (localplt-built-dso): New variable.
70943         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70945         * elf/check-localplt.c: File removed.
70947         * scripts/check-execstack.awk: New file.
70948         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70949         (check-execstack-CFLAGS): Variable removed.
70950         ($(objpfx)check-execstack.h): Target removed.
70951         ($(objpfx)execstack-default): New target.
70952         (generated): Add that instead of check-execstack.h.
70953         ($(all-built-dso:=.phdr)): New static pattern rule.
70954         (generated): Add those targets.
70955         * elf/check-execstack.c: File removed.
70957         * scripts/check-textrel.awk: New file.
70958         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70959         (check-textrel-CFLAGS): Variable removed.
70960         (all-built-dso): Use := to define.o
70961         ($(all-built-dso:=.dyn)): New static pattern rule.
70962         (generated): Add those targets.
70963         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70964         * config.make.in (READELF): New substituted variable.
70965         * elf/check-textrel.c: File removed.
70967 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70969         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70970         allow.
70971         * conform/data/ctype.h-data [C99-based standards] (isblank):
70972         Expect function.
70973         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70974         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70975         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70976         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70977         Specify type.  Require positive value.
70978         (EILSEQ): Likewise.
70979         (ERANGE): Likewise.
70980         [ISO || POSIX] (EILSEQ): Do not expect.
70981         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70982         Specify type.  Require positive value.
70983         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70984         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70985         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70986         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70987         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70988         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70989         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70990         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70991         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70992         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70993         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70994         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70995         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70996         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70997         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70998         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70999         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
71000         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
71001         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
71002         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
71003         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
71004         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
71005         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
71006         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
71007         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
71008         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
71009         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
71010         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
71011         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
71012         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
71013         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
71014         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
71015         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
71016         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
71017         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
71018         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
71019         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
71020         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
71021         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
71022         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
71023         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
71024         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
71025         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
71026         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
71027         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
71028         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
71029         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
71030         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
71031         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
71032         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
71033         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
71034         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
71035         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
71036         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
71037         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
71038         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
71039         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
71040         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
71041         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
71042         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
71043         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
71044         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
71045         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
71046         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
71047         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
71048         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
71049         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
71050         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
71051         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
71052         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
71053         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
71054         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
71055         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
71056         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
71057         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
71058         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
71059         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
71060         Require >= 2.
71061         (FLT_ROUNDS): Expect as macro, not constant.
71062         (FLT_MANT_DIG): Use macro-int-constant.
71063         (DBL_MANT_DIG): Likewise.
71064         (LDBL_MANT_DIG): Likewise.
71065         (FLT_DIG): Likewise.
71066         (DBL_DIG): Likewise.
71067         (LDBL_DIG): Likewise.
71068         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
71069         (DBL_MIN_EXP): Likewise.
71070         (LDBL_MIN_EXP): Likewise.
71071         (FLT_MAX_EXP): Use macro-int-constant.
71072         (DBL_MAX_EXP): Likewise.
71073         (LDBL_MAX_EXP): Likewise.
71074         (FLT_MAX_10_EXP): Likewise.
71075         (DBL_MAX_10_EXP): Likewise.
71076         (LDBL_MAX_10_EXP): Likewise.
71077         (FLT_MAX): Use macro-constant.
71078         (DBL_MAX): Likewise.
71079         (LDBL_MAX): Likewise.
71080         (FLT_EPSILON): Use macro-constant.  Give upper bound.
71081         (DBL_EPSILON): Likewise.
71082         (LDBL_EPSILON): Likewise.
71083         (FLT_MIN): Likewise.
71084         (DBL_MIN): Likewise.
71085         (LDBL_MIN): Likewise.
71086         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
71087         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
71088         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
71089         [ISO11] (FLT_HAS_SUBNORM): Likewise.
71090         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
71091         [ISO11] (DBL_DECIMAL_DIG): Likewise.
71092         [ISO11] (FLT_DECIMAL_DIG): Likewise.
71093         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
71094         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
71095         [ISO11] (FLT_TRUE_MIN): Likewise.
71096         [ISO11] (LDBL_TRUE_MIN): Likewise.
71097         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71098         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
71099         (SCHAR_MIN): Use macro-int-constant.  Specify type.
71100         (SCHAR_MAX): Likewise.
71101         (UCHAR_MAX): Likewise.
71102         (CHAR_MIN): Likewise.
71103         (CHAR_MAX): Likewise.
71104         (MB_LEN_MAX): Use macro-int-constant.
71105         (SHRT_MIN): Use macro-int-constant.  Specify type.
71106         (SHRT_MAX): Likewise.
71107         (USHRT_MAX): Likewise.
71108         (INT_MAX): Likewise.
71109         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
71110         bound negative.
71111         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71112         bound with "U".
71113         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71114         bound with "L".
71115         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
71116         bound negative.  Suffix upper bound with "L".
71117         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71118         bound with "UL".
71119         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
71120         Specify type.
71121         [C99-based standards] (LLONG_MAX): Likewise.
71122         [C99-based standards] (ULLONG_MAX): Likewise.
71123         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
71124         == 0.
71125         [ISO11] (max_align_t): Require type.
71126         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71128         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
71129         from $CFLAGS, without defining away __attribute__ calls.
71130         (checknamespace): Use $CFLAGS_namespace.
71132         * conform/conformtest.pl (@keywords): Only include C99 keywords
71133         for standards based on C99 or C11.
71135         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
71136         Disable tests.
71137         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
71138         UNIX98]: Likewise.
71140         * conform/conformtest.pl: Handle "macro-int-constant" and test for
71141         usability of symbols in #if.
71143         * conform/conformtest.pl: If macro or constant types start
71144         "promoted:", expect the symbol to be of the following type
71145         promoted by the integer promotions.
71147         * conform/conformtest.pl: Parse all "constant" and "macro" lines
71148         in one place.  Also handle "macro-constant".
71150         * conform/conformtest.pl: Only accept expected macro values with
71151         "==".  Parse all "macro" lines in one place.
71152         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
71154         * conform/conformtest.pl: Handle braced types on "constant" lines
71155         instead of handling "typed-constant".
71156         * conform/data/signal.h-data: Use "constant" instead of
71157         "typed-constant".
71159         * conform/conformtest.pl: Handle "optional-" at start of lines in
71160         one place rather than duplicating several cases.  Handle each
71161         format of "macro" line with initial "optional-".
71163         * conform/conformtest.pl: Only accept expected constant or
71164         optional-constant values with "==".  Parse all "constant" lines in
71165         one place.  Parse all "optional-constant" lines in one place.
71166         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
71167         * conform/data/fmtmsg.h-data: Likewise.
71168         * conform/data/netinet/in.h-data: Likewise.
71169         * conform/data/tar.h-data: Likewise.
71170         * conform/data/limits.h-data: Use "==" form on "constant" and
71171         "optional-constant" lines.
71173         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
71174         Use -std=c99 for XOPEN2K.
71175         (@knownproblems): Remove.
71176         (newtoken): Don't check %isknown.
71178         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
71179         Do not expect macro.
71180         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
71181         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
71182         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
71183         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
71184         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
71185         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
71186         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
71187         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
71188         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
71189         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
71190         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
71191         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
71192         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
71193         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
71194         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
71195         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
71196         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
71197         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
71198         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
71199         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
71200         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
71201         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
71202         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
71203         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
71204         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
71205         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
71206         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
71207         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
71208         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
71209         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
71210         [XPG3] (acosh): Likewise.
71211         [XPG3] (asinh): Likewise.
71212         [XPG3] (atanh): Likewise.
71213         [XPG3] (cbrt): Likewise.
71214         [XPG3] (expm1): Likewise.
71215         [XPG3] (ilogb): Likewise.
71216         [XPG3] (log1p): Likewise.
71217         [XPG3] (logb): Likewise.
71218         [XPG3] (nextafter): Likewise.
71219         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
71220         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
71221         [XPG3] (remainder): Likewise.
71222         [XPG3] (rint): Likewise.
71223         [XPG3 || XPG4 || UNIX98] (round): Likewise.
71224         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
71225         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
71226         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
71227         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
71228         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
71229         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
71230         [UNIX98 || XOPEN2K] (scalb): Expect.
71231         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
71232         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
71233         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
71234         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
71235         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
71236         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
71237         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
71238         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
71239         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
71240         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
71241         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
71242         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
71243         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
71244         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
71245         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
71246         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
71247         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
71248         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
71249         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
71250         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
71251         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
71252         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
71253         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
71254         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
71255         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
71256         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
71257         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
71258         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
71259         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
71260         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
71261         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
71262         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
71263         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
71264         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
71265         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
71266         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
71267         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
71268         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
71269         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
71270         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
71271         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
71272         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
71273         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
71274         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
71275         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
71276         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
71277         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
71278         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
71279         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
71280         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
71281         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
71282         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
71283         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
71284         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
71285         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
71286         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
71287         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
71288         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
71289         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
71290         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71291         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71292         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71293         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71294         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71295         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71296         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71297         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71298         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71299         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71300         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71301         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71302         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71303         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71304         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71305         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71306         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71307         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71308         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71309         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71310         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71311         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71312         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71313         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71314         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71315         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71316         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71317         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71318         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71319         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71320         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71321         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71322         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71323         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71324         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71325         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71326         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71327         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71328         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71329         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71330         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71331         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71332         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71333         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71334         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71335         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71336         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71337         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71338         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71339         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71340         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71341         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71342         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71343         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71344         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71345         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71346         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71347         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71348         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71349         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71350         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71351         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71352         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71353         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71354         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71355         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71356         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71357         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71358         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71359         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71360         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71361         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71362         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71363         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71364         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71365         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71366         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71367         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71369         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71370         _XOPEN_SOURCE_EXTENDED for XPG4.
71372         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71374         * Makeconfig (localtime): Remove variable.
71375         (inst_localtime-file): Likewise.
71377 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71380         Update.
71381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71382         Update.
71383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71384         Update.
71385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71386         Update.
71387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71388         Update.
71389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71390         Update.
71391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71392         Update.
71393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71394         Update.
71395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71396         Update.
71398 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71400         [BZ #2550]
71401         [BZ #2570]
71402         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71403         comparisons to determine direction to adjust input.
71404         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71405         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71406         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71407         Likewise.
71408         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71409         Likewise.
71410         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71411         Likewise.
71412         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71413         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71414         Likewise.
71415         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71416         Likewise.
71417         * math/libm-test.inc (nexttoward_test): Add more tests.
71419 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71421         [BZ #14040]
71422         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71423         in version GLIBC_2.1, not GLIBC_2.0.
71424         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71425         Likewise.
71427 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71429         [BZ #13942]
71430         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71431         (1 - x) * (1 + x).
71432         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71433         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71434         * math/libm-test.inc (acos_test): Add more tests.
71435         (asin_test): Likewise.
71436         * sysdeps/i386/fpu/libm-test-ulps: Update.
71437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71439         [BZ #14034]
71440         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71441         of square root.
71442         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71443         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71444         * math/libm-test.inc (acos_test_tonearest): New function.
71445         (acos_test_towardzero): Likewise.
71446         (acos_test_downward): Likewise.
71447         (acos_test_upward): Likewise.
71448         (asin_test_tonearest): Likewise.
71449         (asin_test_towardzero): Likewise.
71450         (asin_test_downward): Likewise.
71451         (asin_test_upward): Likewise.
71452         (main): Call the new functions.
71453         * sysdeps/i386/fpu/libm-test-ulps: Update.
71454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71456         [BZ #13884]
71457         [BZ #13924]
71458         * math/e_exp10.c: Include <float.h>.
71459         (__ieee754_exp10): Handle underflow here rather than multiplying
71460         large negative argument by M_LN10.
71461         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71462         of __ieee754_expf.
71463         * math/e_exp10l.c: Include <float.h>.
71464         (__ieee754_exp10l): Handle underflow here rather than multiplying
71465         large negative argument by M_LN10l.
71466         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71467         spurious overflow exception on underflow.
71469 2012-04-29  Marek Polacek  <polacek@redhat.com>
71471         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71472         (__fortify_function): New macro.
71473         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71474         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71475         __extern_always_inline.
71476         * libio/bits/stdio2.h: Likewise.
71477         * libio/bits/stdio.h: Likewise.
71478         * string/string.h: Likewise.
71479         * string/bits/string3.h: Likewise.
71480         * include/stdio.h: Likewise.
71481         * stdlib/bits/stdlib.h: Likewise.
71482         * stdlib/stdlib.h: Likewise.
71483         * rt/bits/mqueue2.h: Likewise.
71484         * rt/mqueue.h: Likewise.
71485         * posix/bits/unistd.h: Likewise.
71486         * posix/unistd.h: Likewise.
71487         * io/bits/poll2.h: Likewise.
71488         * io/bits/fcntl2.h: Likewise.
71489         * io/fcntl.h: Likewise.
71490         * io/sys/poll.h: Likewise.
71491         * misc/bits/syslog.h: Likewise.
71492         * misc/bits/syslog-ldbl.h: Likewise.
71493         * misc/sys/syslog.h: Likewise.
71494         * socket/bits/socket2.h: Likewise.
71495         * socket/sys/socket.h: Likewise.
71496         * debug/tst-chk1.c: Likewise.
71497         * wcsmbs/bits/wchar2.h: Likewise.
71498         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71499         * wcsmbs/wchar.h: Likewise.
71501 2012-04-29  Andreas Jaeger  <aj@suse.de>
71503         * Makerules (tests): Remove enable-check-abi protection.
71504         (check-abi-warn): Remove.
71505         (check-abi-%): Remove check-abi-warn usage.
71507         * configure.in: Remove check-abi configure option.
71508         * configure: Regenerated.
71509         * config.make.in (enable-check-abi): Remove.
71511 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71513         [BZ #14033]
71514         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71515         double functions to double *_finite functions.
71517         [BZ #13941]
71518         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71519         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71520         LDBL_MIN_EXP.
71521         * stdio-common/Makefile (tests): Add tst-sprintf3.
71522         * stdio-common/tst-sprintf3.c: New file.
71524         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71525         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71527 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71529         * conform/conformtest.pl: Remove duplicate typed-constant
71530         handling.
71532 2012-04-28  David S. Miller  <davem@davemloft.net>
71534         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71535         (check-abi-%): Remove AWK script prerequisite and explicit
71536         abilist directory.
71537         (check-abi): Rewrite to just diff the symlist with the abilist.
71538         (config-tls, config-abi-config): Delete, no longer used.
71539         (update-abi-%): Remove AWK script and explicit abilist directory.
71540         (update-abi): Rewrite to simply compare and conditionally copy the
71541         symlist and the sysdep abilist file.  Remove update-abi-config
71542         checks.
71543         * abilist/ld.abilist: Remove.
71544         * abilist/libBrokenLocale.abilist: Remove.
71545         * abilist/libanl.abilist: Remove.
71546         * abilist/libcrypt.abilist: Remove.
71547         * abilist/libdl.abilist: Remove.
71548         * abilist/librt.abilist: Remove.
71549         * abilist/libthread_db.abilist: Remove.
71550         * abilist/libutil.abilist: Remove.
71551         * scripts/extract-abilist.awk: Remove.
71552         * scripts/merge-abilist.awk: Remove.
71553         * sysdeps/generic/libcidn.abilist: New file.
71554         * sysdeps/generic/libnss_compat.abilist: New file.
71555         * sysdeps/generic/libnss_db.abilist: New file.
71556         * sysdeps/generic/libnss_dns.abilist: New file.
71557         * sysdeps/generic/libnss_files.abilist: New file.
71558         * sysdeps/generic/libnss_hesiod.abilist: New file.
71559         * sysdeps/generic/libnss_nis.abilist: New file.
71560         * sysdeps/generic/libnss_nisplus.abilist: New file.
71561         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71562         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71563         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71564         file.
71565         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71566         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71567         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71568         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71569         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71570         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71571         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71572         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71573         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71574         file.
71575         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71576         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71577         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71578         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71579         file.
71580         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71581         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71582         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71583         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71584         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71585         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71586         file.
71587         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71588         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71589         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71590         file.
71591         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71592         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71593         New file.
71594         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71595         New file.
71596         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71597         New file.
71598         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71599         New file.
71600         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71601         New file.
71602         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71603         New file.
71604         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71605         New file.
71606         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71607         New file.
71608         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71609         New file.
71610         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71611         New file.
71612         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71613         New file.
71614         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71615         New file.
71616         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71617         New file.
71618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71619         file.
71620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71621         New file.
71622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71623         New file.
71624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71625         file.
71626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71627         New file.
71628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71629         New file.
71630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71631         file.
71632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71633         New file.
71634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71635         New file.
71636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71637         New file.
71638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71639         New file.
71640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71641         New file.
71642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71643         New file.
71644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71646         file.
71647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71648         New file.
71649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71650         file.
71651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71652         file.
71653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71654         file.
71655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71656         file.
71657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71658         file.
71659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71660         New file.
71661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71662         file.
71663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71664         file.
71665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71666         New file.
71667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71668         file.
71669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71671         file.
71672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71673         New file.
71674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71675         file.
71676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71677         file.
71678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71679         file.
71680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71681         file.
71682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71683         file.
71684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71685         New file.
71686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71687         file.
71688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71689         file.
71690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71691         New file.
71692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71693         file.
71694         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71695         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71696         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71697         file.
71698         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71699         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71700         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71701         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71702         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71703         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71704         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71705         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71706         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71707         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71710         file.
71711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71712         New file.
71713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71714         file.
71715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71716         file.
71717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71718         file.
71719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71720         file.
71721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71722         file.
71723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71724         New file.
71725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71726         New file.
71727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71728         file.
71729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71730         New file.
71731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71732         file.
71733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71735         file.
71736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71737         New file.
71738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71739         file.
71740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71741         file.
71742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71743         file.
71744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71745         file.
71746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71747         file.
71748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71749         New file.
71750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71751         New file.
71752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71753         file.
71754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71755         New file.
71756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71757         file.
71759 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71761         * conform/conformtest.pl: Fix typo in handling typed-constant from
71762         allow-header.
71764 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71766         * README: Cut down references to pre-2.6 Linux kernels and
71767         Linuxthreads.  Update lists of configurations in libc and ports
71768         and sort alphabetically.  Say "or newer" with Linux kernel version
71769         requirements.
71771         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71773 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71775         [BZ #887]
71776         * math/libm-test.inc (logb_test_downward): New test to expose
71777         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71778         rounding mode.
71780 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71782         [BZ #14027]
71783         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71784         to be done.
71785         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71786         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71788 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71790         * sysdeps/unix/i386/brk.S: Remove file.
71791         * sysdeps/unix/i386/dl-brk.S: Likewise.
71792         * sysdeps/unix/i386/pipe.S: Likewise.
71793         * sysdeps/unix/i386/sigreturn.S: Likewise.
71794         * sysdeps/unix/i386/syscall.S: Likewise.
71795         * sysdeps/unix/i386/vfork.S: Likewise.
71796         * sysdeps/unix/i386/wait.S: Likewise.
71798         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71799         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71801         * configure.in (arm*-none*): Do not allow without
71802         --enable-hacker-mode.
71803         (netbsd*): Remove case setting base_os.
71804         (386bsd*): Likewise.
71805         (freebsd*): Likewise.
71806         (bsdi*): Likewise.
71807         (osf*): Likewise.
71808         (sunos*): Likewise.
71809         (ultrix*): Likewise.
71810         (newsos*): Likewise.
71811         (dynix*): Likewise.
71812         (*bsd*): Likewise.
71813         (sysv*): Likewise.
71814         (isc*): Likewise.
71815         (esix*): Likewise.
71816         (sco*): Likewise.
71817         (minix*): Likewise.
71818         (irix4*): Likewise.
71819         (irix6*): Likewise.
71820         (solaris[2-9]*): Likewise.
71821         (none): Likewise.
71822         * configure: Regenerated.
71824 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71826         [BZ #11521]
71827         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71828         overflow or cancellation in calculating denominator.
71829         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71830         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71831         down expression to avoid unexpected rounding in newer GCCs.
71832         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71834 2012-04-26  David S. Miller  <davem@davemloft.net>
71836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71837         long-double compat symbols.
71838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71852 2012-04-25  David S. Miller  <davem@davemloft.net>
71854         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71855         HWCAP_* values only after the memory barriers have been defined.
71856         (atomic_full_barrier): Define.
71857         (atomic_read_barrier): Define.
71858         (atomic_write_barrier): Define.
71860 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71862         * shlib-versions: Add libgcc_s version information.
71863         * sysdeps/generic/libgcc_s.h: Remove.
71864         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71865         libgcc_s.h.
71866         * sysdeps/gnu/unwind-resume.c: Likewise.
71867         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71869 2012-04-25  David S. Miller  <davem@davemloft.net>
71871         * sysdeps/unix/sparc/brk.S: Delete.
71872         * sysdeps/unix/sparc/dl-brk.S: Delete.
71873         * sysdeps/unix/sparc/pipe.S: Delete.
71874         * sysdeps/unix/sparc/sysdep.S: Delete.
71875         * sysdeps/unix/sparc/sysdep.h: Delete.
71876         * sysdeps/unix/sparc/vfork.S: Delete.
71877         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71878         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71879         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71880         (ret_ERRVAL, r0, r1, MOVE): Define.
71881         (JUMPTARGET): Remove.
71882         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71883         sysdeps/unix/sparc/sysdep.h
71884         (ENTRY, END): Remove.
71885         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71887 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71889         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71890         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71891         -DIS_IN_build.
71893         * timezone/README: Update upstream location and email address for
71894         tzcode and tzdata.
71895         * timezone/zdump.c: Update from tzcode 2012b.
71896         * timezone/zic.c: Likewise.
71898         * configure.in (libc_cv_as_needed): Remove test.
71899         * configure: Regenerated.
71900         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71901         conditional definition.
71902         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71903         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71904         * config.make.in (have-as-needed): Remove variable.
71906 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71907             Paul Pluzhnikov  <ppluzhnikov@google.com>
71909         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71910         strings correctly.
71912 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71914         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71915         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71916         * sysdeps/sh/strlen.S: Likewise.
71918 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71920         * sysdeps/unix/fork.S: Remove file.
71921         * sysdeps/unix/i386/fork.S: Likewise.
71922         * sysdeps/unix/sparc/fork.S: Likewise.
71924         * sysdeps/unix/system.c: Remove file.
71925         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71927         * sysdeps/unix/getegid.S: Remove file.
71928         * sysdeps/unix/geteuid.S: Likewise.
71930 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71932         * scripts/check-localplt.awk: New file.
71933         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71934         of diff.
71935         * scripts/data/localplt-generic.data: Add a comment.
71937         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71938         NODE when __dir_mkfile failed.
71939         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71940         Reported by Ludovic Courtès <ludo@gnu.org>.
71942 2012-04-24  Andreas Jaeger  <aj@suse.de>
71944         * Makerules (common-clean): Also remove gen-as-const-headers
71945         files.
71947 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71949         * Makerules (native-compile): Do not change working directory for
71950         build.  Use $(OUTPUT_OPTION) in command.
71951         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71953 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71955         [BZ #13886]
71956         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71957         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71958         * math/libm-test.inc (floor_test): Add more tests.
71959         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71961 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71963         * sysdeps/unix/getdents.c: Remove file.
71964         * sysdeps/unix/sysv/getdents.c: Likewise.
71965         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71967         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71968         sysdeps/unix/mman/syscalls.list.
71969         (mmap): Likewise.
71970         (mprotect): Likewise.
71971         (msync): Likewise.
71972         (munmap): Likewise.
71973         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71974         * sysdeps/unix/mman/syscalls.list: Remove.
71975         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71977         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71978         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71979         * configure: Regenerated.
71980         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71981         $(libgcc_s_suffix).
71982         * config.make.in (libgcc_s_suffix): Remove variable.
71984 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71986         * sysdeps/unix/sysv/gethostname.c: Move to ...
71987         * sysdeps/posix/gethostname.c: ... here.
71989         * sysdeps/unix/execve.S: Remove file.
71991         * sysdeps/unix/_exit.S: Remove file.
71993 2012-04-23  Andreas Jaeger  <aj@suse.de>
71995         [BZ #13739]
71996         * manual/Makefile: Remove make dist support, there's no
71997         need for a stand-alone documentation tar ball.
71998         (TEXI2DVI): Define always, it's not in Makeconfig.
71999         (dist): Removed.
72000         (tar-it): Removed.
72001         (edition): Removed.
72002         (glibc-doc-$(edition).tar): Removed
72003         (%.Z): Removed.
72004         (%.gz): Removed.
72005         (%.uu): Removed.
72006         (ETAGS): Remove, it's in Makeconfig.
72007         (move-if-change): Remove, it's in Makeconfig.
72009 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
72011         [BZ #13970]
72012         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
72013         (strtod, strtof, strtold, strtol, strtoul, strtoq)
72014         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
72015         (strtod_l, strtof_l, strtold_l): Remove __wur.
72016         It is not necessarily an error to ignore strtol's return value.
72017         One can reliably look at the stored endptr to decide whether
72018         the number had valid syntax.
72020 2012-04-21  Andreas Jaeger  <aj@suse.de>
72022         [BZ #13739]
72023         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
72025 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
72027         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
72028         * sysdeps/unix/sysv/Versions: Remove file.
72030 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
72032         [BZ #13927]
72033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72035 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
72037         [BZ #7064]
72038         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
72039         version from __vm86.
72041 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
72043         * sysdeps/unix/common/lxstat.c: Remove file.
72044         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
72046         * sysdeps/unix/sysv/Makefile: Remove file.
72048         * sysdeps/unix/sysv/direct.h: Remove file.
72050         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
72051         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
72052         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
72053         * sysdeps/unix/sysv/bits/signum.h: Likewise.
72054         * sysdeps/unix/sysv/bits/stat.h: Likewise.
72055         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
72056         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
72058         * sysdeps/unix/sysv/setrlimit.c: Remove file.
72060         * sysdeps/unix/xmknod.c: Remove file.
72061         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
72063         * sysdeps/unix/sysv/settimeofday.c: Remove file.
72065         * sysdeps/unix/sysv/i386/time.S: Remove file.
72067         * sysdeps/unix/fxstat.c: Remove file.
72068         * sysdeps/unix/xstat.c: Likewise.
72069         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
72071         * sysdeps/unix/sysv/sigaction.c: Remove file.
72073         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
72074         (sysdep_headers): Remove variable.
72075         [termio.h not in sysdep_headers] (generated): Likewise.
72076         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
72077         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
72078         * sysdeps/unix/sysv/tcdrain.c: Likewise.
72079         * sysdeps/unix/sysv/tcflow.c: Likewise.
72080         * sysdeps/unix/sysv/tcflush.c: Likewise.
72081         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
72082         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
72083         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
72084         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
72085         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
72087         * sysdeps/unix/siglist.c: Remove file.
72089         * sysdeps/unix/getppid.S: Remove file.
72091         * sysdeps/unix/mkdir.c: Remove file.
72092         * sysdeps/unix/rmdir.c: Likewise.
72094 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
72096         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
72097         ERR_MAX value.
72098         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
72099         errlist-compat value.
72101 2012-04-18  David S. Miller  <davem@davemloft.net>
72103         * sysdeps/generic/memcopy.h (reg_char): Delete.
72104         * debug/strcat_chk.c: Use char, not reg_char.
72105         * debug/strcpy_chk.c: Likewise.
72106         * debug/strncat_chk.c: Likewise.
72107         * debug/strncpy_chk.c: Likewise.
72108         * string/memchr.c: Likewise.
72109         * string/memrchr.c: Likewise.
72110         * string/rawmemchr.c: Likewise.
72111         * string/strcat.c: Likewise.
72112         * string/strchr.c: Likewise.
72113         * string/strchrnul.c: Likewise.
72114         * string/strcmp.c: Likewise.
72115         * string/strcpy.c: Likewise.
72116         * string/strncat.c: Likewise.
72117         * string/strncmp.c: Likewise.
72118         * string/strncpy.c: Likewise.
72120 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72122         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
72123         __builtin_memcopy is called when src and dest ranges are known to not
72124         overlap.
72126 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72128         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
72129         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
72130         fwd_align_merge macro call.
72131         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
72132         bwd_align_merge macro call.
72133         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72135 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72137         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
72138         bwd_align_merge macros.
72139         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
72140         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
72141         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72143 2012-04-18  David S. Miller  <davem@davemloft.net>
72145         * sysdeps/sparc/sparc64/memcopy.h: Delete.
72147 2012-04-18  Andreas Jaeger  <aj@suse.de>
72149         [BZ# 6794]
72150         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
72151         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
72152         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72154         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
72155         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
72156         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72158         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
72159         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
72160         Adjust for changed ldbl-128 files.
72162         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
72163         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
72164         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72166 2012-04-17  David S. Miller  <davem@davemloft.net>
72168         * sysdeps/sparc/sparc32/memcopy.h: Delete.
72170 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
72172         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
72173         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
72174         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
72175         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
72176         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
72177         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
72179 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72181         [BZ #6794]
72182         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
72183         * math/libm-test.inc: Add ilogb errno and exception tests.
72184         * math/w_ilogb.c: New file: ilogb wrapper.
72185         * math/w_ilogbf.c: New file: ilogbf wrapper.
72186         * math/w_ilogbl.c: New file: ilogbl wrapper.
72187         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
72188         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
72189         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
72190         exception being thrown with 0.0 as argument.
72191         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
72192         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
72193         exception being thrown with 0.0 as argument.
72194         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
72195         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72196         exception being thrown with 0.0 as argument.
72197         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
72198         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72199         exception being thrown with 0.0 as argument.
72200         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
72201         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
72202         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
72203         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
72204         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
72205         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
72206         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
72207         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
72208         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
72210 2012-04-17  Petr Baudis  <pasky@ucw.cz>
72212         * include/sys/uio.h: Change __vector to __iovec to avoid clash
72213         with altivec.
72215 2012-04-16  Marek Polacek  <polacek@redhat.com>
72217         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
72219 2012-04-16  Marek Polacek  <polacek@redhat.com>
72221         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
72222         operands of fdivp instruction.
72224 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72226         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
72227         * elf/tst-auditmod3b.c: Likewise.
72228         * elf/tst-auditmod4b.c: Likewise.
72229         * elf/tst-auditmod5b.c: Likewise.
72230         * elf/tst-auditmod6b.c: Likewise.
72231         * elf/tst-auditmod6c.c: Likewise.
72232         * elf/tst-auditmod7b.c: Likewise.
72233         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
72234         * sysdeps/x86_64/preconfigure.in: Likewise.
72235         * sysdeps/x86_64/preconfigure: Regenerated.
72237 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72239         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
72240         __ILP32__.
72242 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
72244         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72245         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
72247 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
72249         [BZ #13973]
72250         * locale/iso-639.def: Fix gl language name. Spotted by
72251         Yaron Shahrabani.
72253 2012-04-12  Roland McGrath  <roland@hack.frob.com>
72255         [BZ #2074]
72256         * libio/libio.h (__io_write_fn): Update comment.
72258 2012-04-12  Petr Baudis  <pasky@ucw.cz>
72260         [BZ #2074]
72261         * stdio.texi (Hook Functions): The user provided writer function
72262         is not allowed to return -1.
72264 2012-04-11  David S. Miller  <davem@davemloft.net>
72266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72268 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
72270         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
72271         Add a leading slash to rtkaio.
72273 2012-04-11  Jim Meyering  <meyering@redhat.com>
72275         [BZ #11959]
72276         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
72277         It is not necessarily an error to ignore fwrite's return
72278         value.  One can reliably use ferror to test for errors after
72279         the fact.
72281 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72283         * bits/types.h (__snseconds_t): New type.
72284         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
72286         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
72287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72288         (__SNSECONDS_T_TYPE): Likewise.
72289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72290         (__SNSECONDS_T_TYPE): Likewise.
72291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72292         (__SNSECONDS_T_TYPE): Likewise.
72294 2012-04-10  Andreas Jaeger  <aj@suse.de>
72296         [BZ #2636]
72297         * manual/time.texi (Processor Time): Return type of times is
72298         elapsed real time since an arbitrary point in the past.
72299         (CPU Time): Move CLK_TCK from here...
72300         (Processor Time): ...to here.  Correct description.
72301         * manual/conf.texi (Constants for Sysconf): Correct description of
72302         _SC_CLK_TCK.
72304 2012-04-10  David S. Miller  <davem@davemloft.net>
72306         [BZ #13967]
72307         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72308         where the is a gap between DT_REL(A) and DT_JMPREL.
72310 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72312         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72313         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72314         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72316 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72318         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72319         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72320         (dl_main): Handle --inhibit-cache.
72321         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72322         _dl_inhibit_cache.
72323         * elf/dl-load.c (_dl_map_object): Use it.
72324         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72326 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72328         [BZ #13872]
72329         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72330         (__ieee754_powl): Saturate large exponents rather than testing for
72331         overflow of y*log2(x).
72332         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72333         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72334         exceptions.
72336         [BZ #11521]
72337         * math/s_ctan.c: Include <float.h>.
72338         (__ctan): Avoid internal overflow or cancellation in calculating
72339         denominator.
72340         * math/s_ctanf.c: Likewise.
72341         * math/s_ctanl.c: Likewise.
72342         * math/s_ctanh.c: Likewise.
72343         * math/s_ctanhf.c: Likewise.
72344         * math/s_ctanhl.c: Likewise.
72345         * math/libm-test.inc (ctan_test): Add more tests.
72346         (ctanh_test): Likewise.
72347         * sysdeps/i386/fpu/libm-test-ulps: Update.
72348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72350 2012-04-09  Andreas Jaeger  <aj@suse.de>
72352         [BZ #6894]
72353         * manual/filesys.texi (Directory Entries): Mention that d_namlen
72354         is an optional BSD extension.
72356         [BZ #10254]
72357         * manual/stdio.texi (Opening Streams): Document additional fopen
72358         parameters.
72360 2012-04-09  Roland McGrath  <roland@hack.frob.com>
72362         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72363         %eax without telling the compiler.
72365 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72367         [BZ # 13963]
72368         * manual/install.texi: Use sourceware.org.
72370 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72372         [BZ #13873]
72373         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72374         (__ieee754_pow): Generate overflow and underflow using huge*huge
72375         and tiny*tiny rather than just returning constant infinity or zero
72376         for large exponents.
72377         * math/libm-test.inc (pow_test): Require overflow exceptions for
72378         applicable cases of large exponents.
72380         [BZ #706]
72381         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72382         (__ieee754_pow): Use iterative multiplication algorithm only for
72383         integer exponents with absolute value below 1024.  Check for odd
72384         integer exponents when using algorithm for real exponents.
72385         * math/libm-test.inc (pow_test): Add more tests.
72386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72388 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72390         [BZ #13705]
72391         * math/libm-test.inc (exp_test): Do not allow overflow exception
72392         on underflow test.
72394 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72396         [BZ #13705]
72397         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72398         instead of __kernel_standard_f.
72400 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72402         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72403         * sysdeps/x86_64/memset_chk.S: Likewise.
72405 2012-04-08  Andreas Jaeger  <aj@suse.de>
72407         [BZ #10153]
72408         * manual/startup.texi (Environment Access): Describe return value
72409         for putenv and setenv.
72411         [BZ #6895]
72412         * manual/filesys.texi (Directory Entries): Add description for
72413         DT_LNK.
72415         [BZ #6890]
72416         * manual/filesys.texi (Directory Entries): Clarify that it's file
72417         system not operating system in the description of DT_UNKNOWN.
72419         [BZ #6578]
72420         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72422 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72424         [BZ #6649]
72425         * manual/llio.texi (Opening and Closing Files): Add cross
72426         reference to explain mode argument.
72428 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72430         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72431         * sysdeps/x86_64/memset_chk.S: Likewise.
72433 2012-04-07  David S. Miller  <davem@davemloft.net>
72435         * elf/elf.h (R_SPARC_WDISP10): Define.
72436         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72437         R_SPARC_SIZE32.
72438         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72439         R_SPARC_SIZE64 and R_SPARC_H34.
72441 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72443         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72444         conditions and remove no longer applicable assertion.
72446 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72448         * bits/byteswap.h: Include <features.h>.
72449         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72450         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72452 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72454         * bits/byteswap.h (__bswap_16): Removed.
72455         Include <bits/byteswap-16.h> to get __bswap_16.
72456         * sysdeps/i386/bits/byteswap.h: Likewise.
72457         * sysdeps/s390/bits/byteswap.h: Likewise.
72458         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72459         * bits/byteswap-16.h: New file.
72460         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72461         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72462         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72463         * string/Makefile (headers): Add bits/byteswap-16.h.
72465 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72467         [BZ #13895]
72468         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72469         extra indirection.
72470         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72471         * nss/tst-nss-static.c: New.
72473 2012-04-06  Robert Millan  <rmh@gnu.org>
72475         [BZ #6486]
72476         * manual/llio.texi (File Position Primitive): lseek
72477         refers to WHENCE when it really means OFFSET.
72479 2012-04-06  Andreas Jaeger  <aj@suse.de>
72481         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72482         strncmp declarations.
72484         * abilist/libc.abilist: Add __poll and __ppoll.
72486 2012-04-05  David S. Miller  <davem@davemloft.net>
72488         * scripts/check-local-headers.sh: Accept a host triplet in the
72489         path matched by the exclude regexp.
72491         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72492         definition.
72493         * sysdeps/powerpc/powerpc32/dl-machine.h
72494         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72495         * sysdeps/s390/s390-32/dl-machine.h
72496         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72497         * sysdeps/sparc/sparc32/dl-machine.h
72498         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72499         * sysdeps/sparc/sparc64/dl-machine.h
72500         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72502         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72503         lazy binding.
72504         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72505         undefined symbol errors.
72507         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72508         DT_NEEDED entries.
72510 2012-04-05  Michael Matz  <matz@suse.de>
72512         [BZ #13592]
72513         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72515 2012-04-05  Andreas Jaeger  <aj@suse.de>
72517         [BZ #13908]
72518         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72519         comment.
72521 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72523         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72524         which ROUND is no valid rounding mode.
72526 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72528         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72529         read again.
72530         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72532 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72534         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72535         an exception using FPU order intentionally.
72537 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72539         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72540         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72541         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72542         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72544 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72546         [BZ #12340]
72547         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72548         EINVAL when BUFLEN is too smal.
72550 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72552         [BZ #13553]
72553         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72554         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72556 2012-04-03  Andreas Jaeger  <aj@suse.de>
72558         [BZ #13938]
72559         * manual/setjmp.texi (System V contexts): Fix sentence.
72561         [BZ #13926]
72562         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72563         New macro for this case.
72564         [!__GNUC__] (__bswap_64): New inline function for this case.
72565         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72566         * bits/byteswap.h: Likewise.
72567         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72568         ull, guard with __GLIBC_HAVE_LONG_LONG.
72570         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72571         __GLIBC_HAVE_LONG_LONG.
72573         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72574         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72576 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72578         [BZ #13691]
72579         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72580         inptr and inend, rather than using last_ch.
72582 2012-04-02  David S. Miller  <davem@davemloft.net>
72584         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72585         * stdio-common/printf-parse.h (read_int): Change return type to
72586         'int', return -1 on INT_MAX overflow.
72587         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72588         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72589         overflows INT_MAX.  Check for overflow of in-format-string precision
72590         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72591         SIZE_MAX not INT_MAX for integer overflow test.
72592         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72593         skip the construct in the format string but do not record anything.
72594         * stdio-common/bug22.c: Adjust to test both width/prevision
72595         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72596         explicitly for proper errno values.
72598 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72600         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72601         CHAR_MAX.
72602         * string/test-strcmp.c [! WIDE]: Likewise.
72603         * time/tst-mktime2.c: Likewise for INT_MAX.
72604         * string/test-string.h: #include <sys/param.h> for MIN.
72606         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72607         * sysdeps/i386/init-first.c (init): Likewise.
72608         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72609         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72610         * sysdeps/sh/init-first.c (init): Likewise.
72612 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72614         * po/ru.po: Update from translation team.
72615         * po/vi.po: Likewise.
72617 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72619         * resolv/nss_dns/dns-host.c: Merge copyright years.
72621 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72623         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72624         Optimize memcpy with prefetch if
72625         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72626         src, dst pointers have unequal 16 byte alignments.
72628 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72630         [BZ #13928]
72631         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72632         from a CNAME entry and return the minimum ttl for the query.
72633         (gaih_getanswer_slice): Likewise.
72635 2012-03-30  Jeff Law  <law@redhat.com>
72637         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72638         due to long keys.
72639         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72640         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72642         * resolv/nss_dns/dns-host.c: Update copyright year.
72644 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72646         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72647         requests to save a system call.  Fix check that all bytes are sent.
72649         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72650         comments for sendmmsg.
72652 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72654         [BZ #13691]
72655         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72656         with only 1 character between 0x0041 and 0x01b0.
72657         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72658         * wcsmbs/tst-mbsnrtowcs.c: New file.
72660 2012-03-29  David S. Miller  <davem@davemloft.net>
72662         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72663         small copies by hand.
72665 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72667         [BZ #13761]
72668         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72669         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72670         group memberships.
72672 2012-03-28  David S. Miller  <davem@davemloft.net>
72674         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72675         that branches into memcpy.
72676         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72677         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72678         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72679         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72680         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72681         bits.
72682         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72683         implementation too.
72684         * sysdeps/sparc/mempcpy.S: New file.
72686         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72687         the IFUNC routine in the libc case.
72688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72690         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72691         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72692         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72693         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72694         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72695         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72696         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72697         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72699         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72700         loop to 256 bytes instead of 64 bytes and fix test signedness.
72702         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72703         * sysdeps/sparc/sparc32/Makefile: rather than here...
72704         * sysdeps/sparc/sparc64/Makefile: and here.
72706 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72708         * malloc/mallocbug.c: Avoid warnings about unused variables.
72710 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72712         [BZ #13760]
72713         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72714         in the right place. Discard and retry query if response is
72715         larger than input buffer size.
72717 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72719         [BZ #369]
72720         [BZ #2678]
72721         [BZ #3866]
72722         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72723         x for large integer exponent.
72724         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72725         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72726         sign of result as needed afterwards.
72727         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72728         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72729         result for underflowing pow the same as for overflow.
72730         (__kernel_standard_l): Handle powl overflow and underflow here
72731         rather than calling __kernel_standard.
72732         * math/libm-test.inc (pow_test): Add more tests.
72734         [BZ #3868]
72735         [BZ #13879]
72736         [BZ #13910]
72737         [BZ #13911]
72738         [BZ #13912]
72739         [BZ #13913]
72740         [BZ #13915]
72741         [BZ #13916]
72742         [BZ #13917]
72743         [BZ #13918]
72744         [BZ #13919]
72745         [BZ #13920]
72746         [BZ #13921]
72747         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72748         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72749         (__kernel_standard_l): New function.
72750         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72751         __kernel_standard.
72752         * math/w_acosl.c (__acosl): Likewise.
72753         * math/w_asinl.c (__asinl): Likewise.
72754         * math/w_atan2l.c (__atan2l): Likewise.
72755         * math/w_atanhl.c (__atanhl): Likewise.
72756         * math/w_coshl.c (__coshl): Likewise.
72757         * math/w_exp10l.c (__exp10l): Likewise.
72758         * math/w_exp2l.c (__exp2l): Likewise.
72759         * math/w_fmodl.c (__fmodl): Likewise.
72760         * math/w_hypotl.c (__hypotl): Likewise.
72761         * math/w_j0l.c (__j0l, __y0l): Likewise.
72762         * math/w_j1l.c (__j1l, __y1l): Likewise.
72763         * math/w_jnl.c (__jnl, __ynl): Likewise.
72764         * math/w_lgammal.c (__lgammal): Likewise.
72765         * math/w_log10l.c (__log10l): Likewise.
72766         * math/w_log2l.c (__log2l): Likewise.
72767         * math/w_logl.c (__logl): Likewise.
72768         * math/w_powl.c (__powl): Likewise.
72769         * math/w_remainderl.c (__remainderl): Likewise.
72770         * math/w_scalbl.c (sysv_scalbl): Likewise.
72771         * math/w_sinhl.c (__sinhl): Likewise.
72772         * math/w_sqrtl.c (__sqrtl): Likewise.
72773         * math/w_tgammal.c (__tgammal): Likewise.
72774         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72775         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72776         * math/libm-test.inc (acos_test): Add more tests.
72777         (acosh_test): Likewise.
72778         (asin_test): Likewise.
72779         (atanh_test): Likewise.
72780         (exp_test): Likewise.
72781         (exp10_test): Likewise.
72782         (exp2_test): Likewise.
72783         (expm1_test): Likewise.
72784         (lgamma_test): Likewise.
72785         (log_test): Likewise.
72786         (log10_test): Likewise.
72787         (log1p_test): Likewise.
72788         (log2_test): Likewise.
72789         (pow_test): Do not allow some spurious overflow exceptions.
72790         (sqrt_test): Add more tests.
72791         (tgamma_test): Likewise.
72792         (y0_test): Likewise.
72793         (y1_test): Likewise.
72794         (yn_test): Likewise.
72796 2012-03-27  Anton Blanchard  <anton@samba.org>
72798         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72799         MAP_HUGETLB.
72800         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72801         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72802         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72804 2012-03-27  David S. Miller  <davem@davemloft.net>
72806         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72808         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72809         have-as-vis3 check.
72811 2012-03-27  Andreas Jaeger  <aj@suse.de>
72813         * sysdeps/x86_64/elf/configure.in: Moved to ...
72814         * sysdeps/x86_64/configure.in: ... here.
72815         * sysdeps/x86_64/elf/start.S: Moved to ...
72816         * sysdeps/x86_64/start.S: ... here.
72817         * sysdeps/x86_64/elf/configure: Delete.
72819         * sysdeps/x86_64/configure.in: Merge contents from
72820         sysdeps/i386/configure.in (without i686 check).
72822         * sysdeps/i386/elf/Versions: Merge into ...
72823         * sysdeps/i386/Versions: ... this.
72824         * sysdeps/i386/elf/Versions: Delete file.
72825         * sysdeps/i386/elf/start.S: Moved to ...
72826         * sysdeps/i386/start.S: ...here.
72827         * sysdeps/i386/elf/configure.in: Merge into...
72828         * sysdeps/i386/configure.in: ...here.
72829         * sysdeps/i386/elf/configure.in: Delete file.
72830         * sysdeps/i386/elf/configure: Delete file.
72832         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72833         * debug/backtracesyms.c: ... here.
72834         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72835         * debug/backtracesymsfd.c: ... here.
72836         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72837         * sysdeps/generic/ifunc-sel.h: ... here.
72839         * sysdeps/unix/i386/start.c: Delete file.
72840         * sysdeps/unix/sparc/start.c: Delete file.
72841         * sysdeps/unix/start.c: Delete file.
72843         * sysdeps/sh/elf/configure.in: Moved to ...
72844         * sysdeps/sh/configure.in: ... here.
72845         * sysdeps/sh/elf/start.S: Moved to ...
72846         * sysdeps/sh/start.S: ... here.
72847         * sysdeps/sh/elf/configure: Delete file.
72849         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72850         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72851         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72852         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72853         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72854         * sysdeps/powerpc/powerpc64/start.S: here.
72855         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72856         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72857         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72858         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72859         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72861         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72862         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72863         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72864         * sysdeps/powerpc/powerpc32/start.S: ... here.
72865         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72866         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72867         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72869         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72870         * sysdeps/powerpc/ifunc-sel.h: ... here.
72871         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72872         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72874         * sysdeps/sparc/elf/configure.in: Moved to ...
72875         * sysdeps/sparc/configure.in: ... here.
72876         * sysdeps/sparc/elf/configure: Delete file.
72877         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72878         * sysdeps/sparc/sparc32/start.S: ... here.
72879         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72880         * sysdeps/sparc/sparc64/start.S: ... here.
72881         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72882         * sysdeps/sparc/sparc32/Makefile: ... this.
72883         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72884         * sysdeps/sparc/sparc64/Makefile: ... this.
72886         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72887         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72888         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72889         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72890         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72891         * sysdeps/s390/s390-32/setjmp.S: ... here.
72892         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72893         * sysdeps/s390/s390-32/configure.in: ... here.
72894         * sysdeps/s390/s390-32/elf/configure: Delete file.
72895         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72896         * sysdeps/s390/s390-32/start.S: ... here.
72898         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72899         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72900         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72901         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72902         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72903         * sysdeps/s390/s390-64/setjmp.S: ... here.
72904         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72905         * sysdeps/s390/s390-64/configure.in: ... here
72906         * sysdeps/s390/s390-64/elf/configure: Delete file.
72907         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72908         * sysdeps/s390/s390-64/start.S: ... here.
72909         * sysdeps/s390/s390-64/elf/configure: Delete.
72911         * configure.in: Remove support for elf directories in sysdeps.
72913         * configure: Regenerated.
72914         * sysdeps/i386/configure: Regenerated.
72915         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72916         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72917         * sysdeps/s390/s390-32/configure: Regenerated.
72918         * sysdeps/s390/s390-64/configure: Regenerated.
72919         * sysdeps/sh/configure: Regenerated.
72920         * sysdeps/sparc/configure: Regenerated.
72921         * sysdeps/x86_64/configure: Regenerated.
72923 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72927         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72928         denormal result into account.
72930 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72932         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72933         Reported by Allan McRae <allan@archlinux.org>.
72935 2012-03-23  Jeff Law  <law@redhat.com>
72937         * nss/getnssent.c (__nss_getent): Fix typo.
72939 2012-03-23  David S. Miller  <davem@davemloft.net>
72941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72943 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72945         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72946         to pad to uint64_t for each field.
72947         (dl_tls_index): Replace unsigned long with uint64_t.
72949 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72950         Paul Pluzhnikov  <ppluzhnikov@google.com>
72952         [BZ #6528]
72953         * grp/Makefile (otherlibs): Don't set it.
72954         * inet/Makefile (otherlibs): Likewise.
72955         * login/Makefile (otherlibs): Likewise.
72956         * nscd/Makefile (otherlibs): Likewise.
72957         * posix/Makefile (otherlibs): Likewise.
72958         * pwd/Makefile (otherlibs): Likewise.
72959         * rt/Makefile (otherlibs): Likewise.
72960         * sunrpc/Makefile (otherlibs): Likewise.
72961         * nss/Makefile (otherlibs): Likewise.
72962         Add libnss_files to routines and static-only-routines.
72963         ($(objpfx)getent): Remove rule.
72964         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72965         static-only-routines.
72967 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72969         [BZ #13892]
72970         * math/s_cexp.c: Include <float.h>.
72971         (__cexp): Handle exp result overflowing not necessarily
72972         overflowing both real and imaginary parts of result.
72973         * math/s_cexpf.c: Likewise.
72974         * math/s_cexpl.c: Likewise.
72975         * math/libm-test.inc (cexp_test): Add more tests.
72976         * sysdeps/i386/fpu/libm-test-ulps: Update.
72977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72979 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72981         * include/link.h (ELFW): New macro.
72982         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72983         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72985 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72987         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72988         with uint64_t.
72990 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72992         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72993         declaration.
72994         (struct La_x32_retval): Likewise.
72996 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72998         * sysdeps/x86_64/preconfigure.in: New file.
72999         * sysdeps/x86_64/preconfigure: New generated file.
73001 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
73003         [BZ #13824]
73004         * math/e_exp2l.c: Include <float.h>.
73005         (__ieee754_exp2l): Handle overflow and underflow cases
73006         separately.  Only pass fractional part of argument to
73007         __ieee754_expl.
73008         * math/libm-test.inc (exp2_test): Add more tests.
73010         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
73011         negating x to take absolute value.
73012         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
73013         Likewise.
73014         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
73015         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
73016         Likewise.
73017         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
73018         computing low part if x was negated.
73019         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
73021 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73023         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
73024         la_x32_gnu_pltexit.
73025         (pltexit): Cast int_retval to ptrdiff_t.
73026         * elf/tst-auditmod3b.c: Likewise.
73027         * elf/tst-auditmod4b.c: Likewise.
73028         * elf/tst-auditmod5b.c: Likewise.
73029         * elf/tst-auditmod6b.c: Likewise.
73030         * elf/tst-auditmod6c.c: Likewise.
73031         * elf/tst-auditmod7b.c: Likewise.
73033         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
73034         and x32_gnu_pltexit.
73036         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
73037         __ELF_NATIVE_CLASS.
73038         (La_x32_regs): New macro.
73039         (La_x32_retval): Likewise.
73040         (la_x32_gnu_pltenter): New function prototype.
73041         (la_x32_gnu_pltexit): Likewise.
73043 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
73045         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
73046         exponent.
73048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73050         * configure.in (libc_cv_cc_nofma): Check for option to disable
73051         generation of FMA instructions.
73052         * configure: Regenerate.
73053         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
73054         * sysdeps/ieee754/dbl-64/Makefile: New file.
73055         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
73056         Remove brandred-fma4.
73057         (CFLAGS-brandred-fma4.c): Remove.
73058         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
73059         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
73060         define.
73061         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
73062         define.
73064 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73066         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73067         LLONG_MAX != LONG_MAX.
73068         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73069         (_fitoa_word): Likewise.
73070         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
73071         LLONG_MAX != LONG_MAX.
73072         * stdio-common/_itowa.h: Include <_itoa.h>.
73073         (_itowa_word): Use _ITOA_WORD_TYPE on value.
73074         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
73075         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
73076         only if not defined.
73077         (_ITOA_WORD_TYPE): Likewise.
73078         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73079         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
73081 2012-03-21  David S. Miller  <davem@davemloft.net>
73083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73085 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73087         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
73088         of x86_64 when setting libc_cv_slibdir, libdir and
73089         libc_cv_localedir.
73090         * sysdeps/unix/sysv/linux/configure: Regenerated.
73092 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73094         * manual/lang.texi (Old Varargs): Remove section.
73095         (How Variadic): Update menu.
73096         (va_start): Do not mention varargs.h.
73098 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73099             Joseph Myers  <joseph@codesourcery.com>
73101         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
73102         link test.
73103         * configure: Regenerated.
73105 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73107         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
73108         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
73109         conformtest.pl
73111 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73113         * NOTES: Remove.
73114         * Makefile (files-for-dist): Remove NOTES.
73115         (NOTES): Remove rule.
73116         * README: Don't refer to NOTES.
73117         * manual/creature.texi: Don't include macros.texi.
73118         * manual/intro.texi (creature.texi): Remove comment referring to
73119         NOTES.
73121         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
73122         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
73123         * configure: Regenerated.
73124         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
73125         LIBC_TRY_CC_OPTION.
73126         (libc_cv_as_i686): Likewise.
73127         (libc_cv_cc_avx): Likewise.
73128         (libc_cv_cc_sse2avx): Likewise.
73129         (libc_cv_cc_fma4): Likewise.
73130         (libc_cv_cc_novzeroupper): Likewise.
73131         * sysdeps/i386/configure: Regenerated.
73133         [BZ #13883]
73134         * sysdeps/i386/fpu/s_cexp.S: Remove.
73135         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73136         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73137         * math/libm-test.inc (cexp_test): Add more tests.
73138         * sysdeps/i386/fpu/libm-test-ulps: Update.
73139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73141 2012-03-21  Allan McRae  <allan@archlinux.org>
73143         * timezone/Makefile: Do not install iso3166.tab and zone.tab
73145 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73147         [BZ #13871]
73148         * math/w_exp2.c: Do not include <float.h>.
73149         (o_threshold, u_threshold): Remove.
73150         (__exp2): Calculate result before checking finiteness and calling
73151         __kernel_standard.
73152         * math/w_exp2f.c: Likewise.
73153         * math/w_exp2l.c: Likewise.
73154         * math/libm-test.inc (exp2_test): Require overflow exception for
73155         1e6 input.
73157         [BZ #3866]
73158         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
73159         range of signed 64-bit integers before using fistpll.  Remove
73160         checks for whether integers fit in mantissa bits.
73161         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
73162         the range of signed 32-bit integers before using fistpl.  Remove
73163         checks for whether integers fit in mantissa bits.
73164         * sysdeps/i386/fpu/e_powl.S (p64): New object.
73165         (__ieee754_powl): Test for y outside the range of signed 64-bit
73166         integers before using fistpll.  Reduce 64-bit values to 63-bit
73167         ones as needed.
73168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
73169         divide-by-zero is raised for zero to large negative powers.
73170         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
73171         (__ieee754_powl): Test for y outside the range of signed 64-bit
73172         integers before using fistpll.  Reduce 64-bit values to 63-bit
73173         ones as needed.
73174         * math/libm-test.inc (pow_test): Add more tests.
73176 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73178         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
73179         <stdio-common/_itoa.h>.
73180         * debug/segfault.c: Likewise.
73181         * elf/dl-cache.c: Likewise.
73182         * elf/dl-minimal.c: Likewise.
73183         * elf/dl-misc.c: Likewise.
73184         * elf/dl-sysdep.c: Likewise.
73185         * elf/dl-version.c: Likewise.
73186         * elf/rtld.c: Likewise.
73187         * hurd/hurdsock.c: Likewise.
73188         * hurd/lookup-retry.c: Likewise.
73189         * malloc/malloc.c: Likewise.
73190         * malloc/mtrace.c: Likewise.
73191         * nscd/nscd_getgr_r.c: Likewise.
73192         * nscd/nscd_getpw_r.c: Likewise.
73193         * nscd/nscd_getserv_r.c: Likewise.
73194         * posix/getopt_init.c: Likewise.
73195         * posix/wordexp.c: Likewise.
73196         * stdio-common/_itoa.c: Likewise.
73197         * stdio-common/printf_fphex.c: Likewise.
73198         * stdio-common/vfprintf.c: Likewise.
73199         * string/_strerror.c: Likewise.
73200         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
73201         * sysdeps/i386/i686/hp-timing.h: Likewise.
73202         * sysdeps/mach/_strerror.c: Likewise.
73203         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
73204         * sysdeps/mach/hurd/sethostid.c: Likewise.
73205         * sysdeps/mach/hurd/xmknodat.c: Likewise.
73206         * sysdeps/mach/xpg-strerror.c: Likewise.
73207         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
73208         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
73209         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
73210         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
73211         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
73212         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
73213         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
73214         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
73215         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
73216         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
73217         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
73218         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
73219         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
73220         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
73221         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
73222         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
73223         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
73224         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
73225         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
73226         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
73227         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
73229         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
73231         * stdio-common/_itoa.h: Moved to ...
73232         * sysdeps/generic/_itoa.h: Here.
73234         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
73236         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
73237         instead of "_itoa.h" and "_itowa.h".
73238         * stdio-common/vfprintf.: Likewise.
73240 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73242         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
73243         <bits/wordsize.h>.
73244         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
73245         (__signbit): Likwise.
73246         (llrintf): Likwise.
73247         (llrint): Likwise.
73249 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73251         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
73252         __WORDSIZE != 64.
73254 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
73256         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
73257         OVERFLOW_EXCEPTION_OK.
73258         * math/libm-test.inc ("Philosophy"): Update comment about
73259         exception testing.
73260         (OVERFLOW_EXCEPTION): Define.
73261         (OVERFLOW_EXCEPTION_OK): Likewise.
73262         (INVALID_EXCEPTION_OK): Renumber.
73263         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73264         (IGNORE_ZERO_INF_SIGN): Likewise.
73265         (test_exceptions): Handle FE_OVERFLOW.
73266         (exp10_test): Expect overflow exceptions.
73267         (exp2_test): Likewise.
73268         (expm1_test): Likewise.
73269         (nextafter_test): Likewise.
73270         (pow_test): Likewise.
73271         (scalbn_test): Likewise.
73272         (scalbln_test): Likewise.
73274 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73276         * sysdeps/x86_64/bits/atomic.h
73277         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
73278         64bit integer.
73279         (atomic_exchange_acq): Likewise.
73280         (__arch_exchange_and_add_body): Likewise.
73281         (__arch_add_body): Likewise.
73282         (atomic_add_negative): Likewise.
73283         (atomic_add_zero): Likewise.
73285 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73287         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
73288         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
73290 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73292         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73293         Check __x86_64__ instead of __WORDSIZE.
73295 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73297         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73299 2012-03-19  David S. Miller  <davem@davemloft.net>
73301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73303         * sysdeps/sparc/fpu/fenv_private.h: New file.
73304         * sysdeps/sparc/fpu/math_private.h: Use it.
73305         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73306         Remove.
73307         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73308         (libc_feholdexcept_setroundl): Remove.
73309         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73310         Remove.
73311         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73312         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73314 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73316         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73317         int64_t instead of long int.
73318         (INSERT_WORDS64): Likwise.
73320 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73322         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73323         _Unwind_GetCFA return to _Unwind_Ptr first.
73325 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73327         [BZ #13629]
73328         * math/s_clog.c: Include <float.h>.
73329         (__clog): Scale large or subnormal inputs.
73330         * math/s_clogf.c: Likewise.
73331         * math/s_clogl.c: Likewise.
73332         * math/s_clog10.c: Include <float.h>.
73333         (M_LOG10_2): Define.
73334         (__clog10): Scale large or subnormal inputs.
73335         * math/s_clog10f.c: Likewise.
73336         * math/s_clog10l.c: Likewise.
73337         * math/libm-test.inc (clog_test): Add more tests.
73338         (clog10_test): Likewise.
73339         * sysdeps/i386/fpu/libm-test-ulps: Update.
73340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73342         [BZ #11451]
73343         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73344         x and y.
73345         * math/libm-test.inc (atan2_test): Add another test.
73347         * Makerules (common-objdir-compile): Remove.
73348         * sysdeps/unix/Makefile (config-generated): Do not add
73349         $(unix-generated) to variable.
73350         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73351         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73352         Remove rule.
73353         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73354         Likewise.
73355         [generic bits/local_lim.h] (before-compile): Do not append to
73356         variable.
73357         [generic bits/local_lim.h] (common-generated): Likewise.
73358         [generic sys/param.h] (before-compile): Do not append to variable.
73359         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73360         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73361         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73362         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73363         include.
73364         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73365         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73366         [generic sys/param.h] ($(addprefix
73367         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73368         [generic sys/param.h] (common-generated): Do not append to
73369         variable.
73370         [generic sys/param.h] (sysdep_headers): Likewise.
73371         [generic bits/errno.h] (before-compile): Do not append to
73372         variable.
73373         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73374         rule.
73375         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73376         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73377         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73378         [generic bits/errno.h] (common-generated): Do not append to
73379         variable.
73380         [generic bits/ioctls.h] (before-compile): Do not append to
73381         variable.
73382         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73383         rule.
73384         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73385         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73386         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73387         rule.
73388         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73389         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73390         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73391         [generic bits/ioctls.h] (common-generated): Do not append to
73392         variable.
73393         [generic sys/syscall.h] (syscall.h): Remove variable.
73394         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73395         rule.
73396         [generic sys/syscall.h] (before-compile): Do not append to
73397         variable.
73398         [generic sys/syscall.h] (common-generated): Likewise.
73399         * sysdeps/unix/errnos-tmpl.c: Remove file.
73400         * sysdeps/unix/errnos.awk: Likewise.
73401         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73402         * sysdeps/unix/ioctls.awk: Likewise.
73403         * sysdeps/unix/mk-local_lim.c: Likewise.
73404         * sysdeps/unix/snarf-ioctls: Likewise.
73406 2012-03-19  Richard Henderson  <rth@twiddle.net>
73408         * sysdeps/i386/fpu/fenv_private.h: New file.
73409         * sysdeps/i386/fpu/math_private.h: Use it.
73410         (math_opt_barrier, math_force_eval): Remove.
73411         (libc_feholdexcept_setround_53bit): Remove.
73412         (libc_feupdateenv_53bit): Remove.
73413         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73414         (math_opt_barrier, math_force_eval): Remove.
73415         (libc_feholdexcept): Remove.
73416         (libc_feholdexcept_setround): Remove.
73417         (libc_fetestexcept, libc_fesetenv): Remove.
73418         (libc_feupdateenv_test): Remove.
73419         (libc_feupdateenv, libc_feholdsetround): Remove.
73420         (libc_feresetround): Remove.
73422         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73423         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73425         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73426         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73427         (libc_feupdateenv_testl): New.
73428         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73429         (libc_feupdateenv_testf): New.
73430         (libc_feupdateenv): Use libc_feupdateenv_test.
73431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73432         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73434         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73435         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73436         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73437         (libc_feresetround_noex): New.
73438         (libc_feresetround_noexf): New.
73439         (libc_feresetround_noexl): New.
73440         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73441         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73442         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73443         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73444         SET_RESTORE_ROUND.
73445         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73446         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73447         (__cos): Likewise.
73448         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73449         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73450         SET_RESTORE_ROUND_NOEX.
73451         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73452         SET_RESTORE_ROUND_NOEXF.
73453         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73454         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73455         (libc_feholdsetroundf): New.
73456         (libc_feresetround, libc_feresetroundf): New.
73458         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73459         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73460         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73462         * sysdeps/generic/math_private.h: Include <fenv.h>.
73463         (default_libc_feholdexcept): New.
73464         (default_libc_feholdexcept_setround): New.
73465         (default_libc_fesetenv, default_libc_feupdateenv): New.
73466         (libc_feholdexcept): Only define if undefined.
73467         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73468         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73469         (libc_feholdexcept_setroundl): Likewise.
73470         (libc_feholdexcept_setround_53bit): Likewise.
73471         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73472         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73473         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73474         (libc_feupdateenv_53bit): Likewise.
73475         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73476         (libc_feholdexcept): Convert from macro to inline function.
73477         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73478         (libc_fesetenv, libc_feupdateenv): Likewise.
73480         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73481         not previously defined.
73482         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73483         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73484         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73485         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73486         * sysdeps/ieee754/flt-32/math_private.h: New file.
73487         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73488         math_private.h below SET_FLOAT_WORD.
73489         (__isnan, __isinf_ns, __finite): Remove.
73490         (__isnanf, __isinf_nsf, __finitef): Remove.
73492 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73496 2012-03-17  David S. Miller  <davem@davemloft.net>
73498         [BZ #6471]
73499         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73500         for 2.16.
73502 2012-03-16  David S. Miller  <davem@davemloft.net>
73504         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73505         warnings.
73507         [BZ #6471]
73508         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73509         properly.
73510         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73511         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73512         sysdep_routines when subdir is sysvipc.
73513         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73514         __getshmlba helper.
73516         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73518 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73520         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73521         [__LP64__].
73523 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73525         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73526         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73527         (__lround): Renamed to ...
73528         (__llround): This.  Replace long int with long long int.
73529         Define lround functions as aliases of llround functions.
73530         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73532 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73534         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73535         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73536         adresses to uintptr_t.  Replace "long int" and "unsigned long
73537         int" with "greg_t" on va_arg.
73539 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73541         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73542         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73544         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73545         Move e_machine check before EI_CLASS check.  Handle x32
73546         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73547         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73548         SKIP_EM_IA_64 and include
73549         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73551         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73552         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73553         (add_system_dir): New macro.
73555         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73556         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73558 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73560         [BZ #2551]
73561         [BZ #2552]
73562         [BZ #2553]
73563         [BZ #2554]
73564         [BZ #2562]
73565         [BZ #2563]
73566         [BZ #2565]
73567         [BZ #2566]
73568         [BZ #2576]
73569         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73570         (y0): Likewise.
73571         * math/w_j0f.c (j0f): Likewise.
73572         (y0f): Likewise.
73573         * math/w_j0l.c (__j0l): Likewise.
73574         (__y0l): Likewise.
73575         * math/w_j1.c (j1): Likewise.
73576         (y1): Likewise.
73577         * math/w_j1f.c (j1f): Likewise.
73578         (y1f): Likewise.
73579         * math/w_j1l.c (__j1l): Likewise.
73580         (__y1l): Likewise.
73581         * math/w_jn.c (jn): Likewise.
73582         (yn): Likewise.
73583         * math/w_jnf.c (jnf): Likewise.
73584         (ynf): Likewise.
73585         * math/w_jnl.c (__jnl): Likewise.
73586         (__ynl): Likewise.
73587         * math/libm-test.inc (j0_test): Add more tests.
73588         (j1_test): Likewise.
73589         (jn_test): Likewise.  Add trailing semicolon to existing test.
73590         (y0_test): Likewise.
73591         (y1_test): Likewise.
73592         * sysdeps/i386/fpu/libm-test-ulps: Update.
73593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73595         [BZ #13851]
73596         [BZ #13854]
73597         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73598         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73599         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73600         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73601         (__tanl): Set errno for infinite argument.
73602         * sysdeps/i386/fpu/mptan.c: Remove.
73603         * sysdeps/i386/fpu/s_tan.S: Likewise.
73604         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73605         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73606         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73607         * math/libm-test.inc (tan_test): Add more tests and enable more
73608         tests for double and long double.
73609         * sysdeps/i386/fpu/libm-test-ulps: Update.
73610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73612 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73614         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73615         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73617 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73619         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73620         * configure.in: Use it for both main tree and add-ons.
73621         * configure: Regenerated.
73623 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73625         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73627 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73629         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73630         in comment.
73632         [BZ #13851]
73633         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73634         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73635         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73636         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73637         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73638         infinite argument.
73639         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73640         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73641         != 0 for prec == 2.
73642         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73643         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73644         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73645         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73646         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73647         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73648         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73649         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73650         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73651         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73652         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73653         * math/libm-test.inc (cos_test): Add more tests and enable more
73654         tests for long double.
73655         (sin_test): Likewise.
73656         (sincos_test): Likewise.
73657         * sysdeps/i386/fpu/libm-test-ulps: Update.
73658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73660 2012-03-16  David S. Miller  <davem@davemloft.net>
73662         * sysdeps/sparc/fpu/math_private.h: New file.
73664 2012-03-15  David S. Miller  <davem@davemloft.net>
73666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73667         file.
73668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73670         file.
73671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73677         sysdep routines.
73678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73680         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73681         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73683         * sysdeps/sparc/sparc-ifunc.h: New file.
73684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73685         sparc-ifunc.h
73686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73688         Likewise.
73689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73690         Likewise.
73691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73695         Likewise.
73696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73701         Likewise.
73702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73703         Likewise.
73704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73708         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73710         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73711         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73718         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73719         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73720         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73721         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73722         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73723         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73724         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73725         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73726         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73727         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73729 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73731         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73732         scaling.
73733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73735 2012-03-15  Andreas Jaeger  <aj@suse.de>
73737         [BZ #13852]
73738         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73739         ieee754/flt-32 implementation for sin, cos and sincos.
73740         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73741         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73742         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73743         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73744         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73745         ieee754/flt-32 implementation for tan.
73747         * math/libm-test.inc (cos_test): Enable some large input tests for
73748         float as well
73749         (sin_test): Likewise.
73750         (sincos_test): Likewise.
73751         (tan_test): Add tests for large input.
73753         * sysdeps/i386/fpu/libm-test-ulps: Update.
73755 2012-03-15  Andreas Jaeger  <aj@suse.de>
73757         [BZ #13658]
73758         * math/libm-test.inc (cos_test): Add more test cases.
73759         (sin_test): Likewise.
73760         (sincos_test): Likewise.
73762 2012-03-15  Andreas Jaeger  <aj@suse.de>
73764         [BZ #13837]
73765         * math/libm-test.inc (cos_test): Add a test case for large input
73766         value.
73767         (sin_test): Likewise.
73768         (sincos_test): Likewise.
73770 2012-03-15  Andreas Jaeger  <aj@suse.de>
73771             Joseph Myers  <joseph@codesourcery.com>
73773         [BZ #13658]
73774         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73775         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73776         * sysdeps/i386/fpu/branred.c: Likewise.
73777         * sysdeps/i386/fpu/dosincos.c: Likewise.
73778         * sysdeps/i386/fpu/mpa.c: Likewise.
73779         * sysdeps/i386/fpu/s_cos.S: Likewise.
73780         * sysdeps/i386/fpu/s_sin.S: Likewise.
73781         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73782         * sysdeps/i386/fpu/sincos32.c: Likewise.
73784         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73785         Define.
73786         (libc_feupdateenv_53bit): Define.
73787         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73788         Define.
73789         (libc_feupdateenv_53bit): Define.
73791         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73792         53 bit (without extend i386 double precision).
73794         * math/libm-test.inc (sincos_test): Add tests for large input.
73795         (sin): Likewise.
73796         (cos): Likewise.
73798         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73800 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73804 2012-03-15  David S. Miller  <davem@davemloft.net>
73806         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73807         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73808         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73809         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73814         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73822         file.
73823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73825         file.
73826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73828         file.
73829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73831         file.
73832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73833         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73834         fmin/fmax sysdep routines.
73835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73837 2012-03-14  David S. Miller  <davem@davemloft.net>
73839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73843         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73844         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73845         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73846         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73847         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73851         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73854         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73859         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73860         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73861         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73862         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73863         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73864         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73865         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73866         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73867         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73868         routines.
73869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73870         file.
73871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73873         file.
73874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73876         file.
73877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73879         file.
73880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73882         file.
73883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73885         file.
73886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73887         file.
73888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73889         file.
73890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73891         file.
73892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73893         New file.
73894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73895         file.
73896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73897         file.
73898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73900         file.
73901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73903         file.
73904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73906         file.
73907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73909         VIS3 routines.
73911         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73912         New file.
73914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73916         * sysdeps/sparc/configure.in: New file.
73917         * sysdeps/sparc/configure: Generate.
73918         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73919         * configure: Regenerate.
73920         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73921         * config.make.in (have-as-vis3): New.
73922         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73923         available use -Av9d instead of -Av9a.
73924         * sysdeps/sparc/sparc64/Makefile: Likewise.
73925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73927         New file.
73928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73929         file.
73930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73931         New file.
73932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73933         file.
73934         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73935         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73936         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73937         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73938         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73940         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73941         fzeros/fnegs to load 0x80000000 into a float register instead of
73942         using the stack.
73943         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73945 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73948         bits/syscall.h.
73949         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73950         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73951         ($(inst_includedir)/bits/syscall.h): Remove rule.
73952         ($(objpfx)bits/syscall.d): Include instead of
73953         $(objpfx)syscall-list.d.
73954         (generated): Change syscall-list.h and syscall-list.d to
73955         bits/syscall.h and bits/syscall.d.
73957 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73959         [BZ #13846]
73960         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73962 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73964         [BZ #13841]
73965         * math/s_csqrt.c: Include <float.h>.
73966         (__csqrt): Scale large or subnormal inputs.
73967         * math/s_csqrtf.c: Likewise.
73968         * math/s_csqrtl.c: Likewise.
73969         * math/libm-test.inc (csqrt_test): Add more tests.
73970         * sysdeps/i386/fpu/libm-test-ulps: Update.
73971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73973         [BZ #13840]
73974         * math/libm-test.inc (hypot_test): Add more tests.
73976 2012-03-13  David S. Miller  <davem@davemloft.net>
73978         [BZ #13840]
73979         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73980         double-precision for the calculation instead of scaling.
73982 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73984         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73985         manipulate bits before adding and subtracting TWO52[sx].
73986         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73987         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73988         Likewise.
73989         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73991 2012-03-13  David S. Miller  <davem@davemloft.net>
73993         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73994         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73995         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73996         rtld-global-offsets.h
73997         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73999         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
74000         large parameters.
74002         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
74004         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
74005         'err' in the ifdef scope in which it is actually used.
74007         * nss/nss_db/db-init.c: Include string.h
74009 2012-03-12  David S. Miller  <davem@davemloft.net>
74011         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74012         masking out of the most significant byte of random value used.
74013         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74014         Fix coding style in previous change.
74016         * sysdeps/unix/sysv/linux/kernel-features.h
74017         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
74018         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
74019         expression.
74020         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
74021         later.
74023 2012-03-11  David S. Miller  <davem@davemloft.net>
74025         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74026         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
74027         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
74028         for 'resultvar' otherwise things get truncated on 64-bit.
74030         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74031         Fix masking out of the most significant byte of random value used.
74033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74035 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
74037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74039 2012-03-09  David S. Miller  <davem@davemloft.net>
74041         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
74042         variables with appropriate CPP guards.
74043         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
74044         from the frame pointer, not the stack pointer.  Correct layout
74045         comments.  Fix test on resulting framesize and the management of
74046         the outregs buffer for pltexit.  Preserve floating point return
74047         values across _dl_call_pltexit call.
74048         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
74049         framesize and the management of the outregs buffer for pltexit.
74050         Preserve floating point return values across _dl_call_pltexit
74051         call.
74052         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
74053         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
74054         (la_sparc64_gnu_pltexit): New functions.
74055         (print_exit): Fix format string for return register value.
74057 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
74059         * sunrpc/Makefile (others): Add rpcgen.
74060         ($(objpfx)rpcgen): Remove special build rule and dependency on
74061         libc.
74062         * sunrpc/rpcgen.c: New file.
74064 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
74066         [BZ #13673]
74067         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
74068         * stdio-common/bug-vfprintf-nargs.c: Likewise.
74069         * sysdeps/i386/crti.S: Likewise.
74070         * sysdeps/i386/crtn.S: Likewise.
74071         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
74072         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
74073         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
74074         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
74075         * sysdeps/sh/crti.S: Likewise.
74076         * sysdeps/sh/crtn.S: Likewise.
74077         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74079         [BZ #13673]
74080         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
74081         with URL.
74082         * locale/programs/locfile-kw.gperf: Likewise.
74083         * locale/programs/charmap-kw.h: Regenerated.
74084         * locale/programs/locfile-kw.h: Likewise.
74086         [BZ #13673]
74087         * intl/plural.y: Replace FSF snail mail address with URL.
74088         * intl/plural.c: Regenerated.
74090 2012-03-09  Richard Henderson  <rth@twiddle.net>
74092         * include/math_private.h: Remove file.
74093         * math/math_private.h: Move file ...
74094         * sysdeps/generic/math_private.h: ... here.
74096         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
74097         * sysdeps/powerpc/fpu/math_private.h: Likewise.
74098         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74100         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
74101         and <math_private.h>.
74102         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74103         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74104         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74105         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74106         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74107         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
74108         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74109         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74110         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74111         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74112         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74113         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74114         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74115         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74116         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74117         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74118         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74119         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74120         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74121         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74122         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74123         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74124         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74125         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74126         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
74127         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74128         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74129         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74130         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74131         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74132         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74133         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74134         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
74135         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74136         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74137         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74138         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74139         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74140         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74141         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74142         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
74143         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74144         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74145         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
74146         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
74147         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74148         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
74149         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
74150         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74151         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74152         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
74153         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
74154         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
74155         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74156         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
74157         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74158         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74159         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
74160         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
74161         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
74162         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74163         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
74164         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74165         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74166         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
74167         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74168         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74169         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74170         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
74171         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
74172         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
74173         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74174         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
74175         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74176         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
74177         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
74178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
74179         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74180         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
74181         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
74182         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
74183         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
74184         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
74185         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74186         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74187         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
74188         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
74189         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
74190         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74191         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74192         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74193         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74194         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74195         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74196         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74197         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74198         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74199         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74200         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74201         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74202         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74203         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74204         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74205         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74206         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74207         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74208         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74209         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74210         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74211         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74212         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74213         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74214         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74215         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74216         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
74217         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74218         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74219         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74220         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74221         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74222         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74223         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74224         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74225         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
74226         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74227         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74228         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74229         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
74230         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74231         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
74232         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
74233         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74234         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74235         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
74236         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
74237         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74238         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74239         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74240         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
74241         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74242         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74243         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74244         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74245         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
74246         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
74247         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74248         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74249         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74250         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
74251         * sysdeps/ieee754/k_standard.c: Likewise.
74252         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74253         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74254         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74255         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74256         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74257         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74258         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74259         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74260         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74261         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74262         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74263         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74264         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74265         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74266         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74267         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74268         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
74269         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74270         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74271         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
74272         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
74273         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
74274         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74275         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74276         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
74277         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
74278         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74279         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74280         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74281         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74282         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
74283         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74284         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74285         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74286         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
74287         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74288         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74289         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
74290         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74291         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74292         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74293         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74294         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74295         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74296         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74297         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74298         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74299         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74300         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74301         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74302         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74303         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74304         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74305         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74306         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74307         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74308         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74309         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74310         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74311         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74312         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74313         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74314         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74315         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74316         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74317         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74318         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74319         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74320         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74321         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74322         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74323         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74324         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74325         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74326         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74327         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74328         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74329         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74330         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74331         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74332         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74333         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74334         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74335         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74336         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74337         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74338         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74339         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74340         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74341         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74342         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74343         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74344         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74345         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74346         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74347         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74348         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74349         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74350         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74351         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74352         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74353         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74354         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74355         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74356         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74357         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74358         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74359         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74360         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74361         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74362         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74363         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74364         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74365         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74366         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74367         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74368         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74369         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74370         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74371         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74372         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74373         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74374         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74375         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74376         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74377         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74378         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74379         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74380         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74381         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74382         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74383         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74384         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74385         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74386         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74387         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74388         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74389         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74390         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74391         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74392         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74393         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74394         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74395         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74396         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74397         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74398         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74399         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74400         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74401         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74402         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74403         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74404         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74405         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74406         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74407         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74408         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74409         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74410         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74411         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74412         * sysdeps/ieee754/s_lib_version.c: Likewise.
74413         * sysdeps/ieee754/s_matherr.c: Likewise.
74414         * sysdeps/ieee754/s_signgam.c: Likewise.
74415         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74416         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74417         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74418         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74419         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74420         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74421         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74422         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74423         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74424         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74425         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74426         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74427         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74428         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74429         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74430         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74431         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74432         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74433         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74434         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74435         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74437 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74439         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74440         * sunrpc/rpc_main.c: Likewise.
74441         * sunrpc/rpc_svcout.c: Likewise.
74443 2012-03-09  David S. Miller  <davem@davemloft.net>
74445         * include/math_private.h: New file.
74447 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74449         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74450         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74451         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74452         from <bits/socket_type.h>.
74453         (enum __socket_type): Don't define here.
74454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74456         bits/socket_type.h.
74458         [BZ #13566]
74459         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74460         checking __USE_GNU.
74462         * Makerules ($(inst_includedir)/%.h): New rule.
74463         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74464         (install-others): Remove variable setting.
74465         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74467 2012-03-08  Richard Henderson  <rth@twiddle.net>
74469         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74470         from macro to inline function; merge with the
74471         !__LIBC_INTERNAL_MATH_INLINES version.
74472         (__ieee754_sqrtf): Likewise.
74474         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74475         to inline function.
74476         (__rintf, __floor, __floorf): Likewise.
74478         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74479         macro to inline function.
74480         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74482         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74483         not <math/math_private.h>.
74485 2012-03-08  David S. Miller  <davem@davemloft.net>
74487         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74488         copyright year.
74489         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74491 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74493         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74494         normalization.
74495         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74496         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74498 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74500         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74501         be defined individually, they must be defined as a block.  Define
74502         S for printing a string instead of hidint the different by using a
74503         macro for adding the 'l'.
74504         * stdio-common/tst-fphex-wide.c: Adjust.
74506 2012-03-07  Marek Polacek  <polacek@redhat.com>
74508         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74510 2012-03-08  Marek Polacek  <polacek@redhat.com>
74512         [BZ #13806]
74513         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74514         * stdio-common/tst-fphex.c: Define a few macros to make the
74515         test reusable.  Use them.
74516         * stdio-common/tst-fphex-wide.c: New file.
74518 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74520         [BZ #6911]
74521         * manual/macros.texi (gnusystems): New macro.
74522         (nongnusystems): Likewise.
74523         (gnulinuxhurdsystems): Likewise.
74524         (gnuhurdsystems): Likewise..
74525         (gnulinuxsystems): Likewise.
74526         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74527         variants of the GNU system, not "GNU system".
74528         * manual/conf.texi: Likewise.
74529         * manual/errno.texi: Likewise.  Update example of errno macro
74530         expansion.
74531         * manual/filesys.texi: Likewise.
74532         (getumask): Document as specific to GNU/Hurd.
74533         * manual/install.texi: Likewise.  Reword some references to
74534         GNU/Linux.
74535         * manual/intro.texi: Likewise.
74536         * manual/io.texi: Likewise.
74537         (File Name Portability): Detail which constraints are inapplicable
74538         to all GNU systems and which are only inapplicable to GNU/Hurd.
74539         * manual/job.texi: Likewise.
74540         * manual/llio.texi: Likewise.
74541         (O_NOCTTY): Document as present on GNU/Linux.
74542         * manual/maint.texi: Likewise.
74543         * manual/memory.texi: Likewise.
74544         * manual/pattern.texi: Likewise.
74545         * manual/pipe.texi: Likewise.
74546         * manual/process.texi: Likewise.
74547         * manual/resource.texi: Likewise.
74548         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74549         child on GNU/Hurd.
74550         * manual/setjmp.texi: Likewise.
74551         * manual/signal.texi: Likewise.
74552         * manual/startup.texi: Likewise.
74553         * manual/stdio.texi: Likewise.
74554         * manual/terminal.texi: Likewise.
74555         (ONLCR): Document as POSIX.
74556         (OXTABS): Document availability on GNU/Linux as XTABS.
74557         (ONOEOT): Document availability separately from other bits.
74558         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74559         * manual/time.texi: Likewise.
74560         * manual/users.texi: Likewise.
74561         * INSTALL: Regenerated.
74562         * sysdeps/gnu/errlist.c: Regenerated.
74564         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74565         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74566         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74567         puts.
74568         * configure: Regenerated.
74570 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74572         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74573         default includes instead of AC_HEADER_CHECK.
74574         * sysdeps/i386/configure: Regenerated.
74576         [BZ #10716]
74577         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74578         * math/s_cacoshf.c (__cacoshf): Likewise.
74579         * math/s_cacoshl.c (__cacoshl): Likewise.
74580         * math/s_casinh.c (__casinh): Set signs of result from argument.
74581         * math/s_casinhf.c (__casinhf): Likewise.
74582         * math/s_casinhl.c (__casinhl): Likewise.
74583         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74584         (casinh_test): Add more tests.
74585         * sysdeps/i386/fpu/libm-test-ulps: Update.
74586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74588 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74590         * po/zh_TW.po: Update from translation team.
74592         * login/Makefile (distribute): Remove variable.
74593         * catgets/Makefile: Likewise.
74594         * mach/Makefile: Likewise.
74595         * malloc/Makefile: Likewise.
74596         * misc/Makefile: Likewise.
74597         * iconv/Makefile: Likewise.
74598         * nscd/Makefile: Likewise.
74599         * hurd/Makefile: Likewise.
74600         * manual/Makefile: Likewise.
74601         * locale/Makefile: Likewise.
74602         * intl/Makefile: Likewise.
74603         * conform/Makefile: Likewise.
74604         * nss/Makefile: Likewise.
74605         * time/Makefile: Likewise.
74606         * soft-fp/Makefile: Likewise.
74607         * dirent/Makefile: Likewise.
74608         * gmon/Makefile: Likewise.
74609         * po/Makefile: Likewise.
74610         * rt/Makefile: Likewise.
74611         * socket/Makefile: Likewise.
74612         * math/Makefile: Likewise.
74613         * signal/Makefile: Likewise.
74614         * debug/Makefile: Likewise.
74615         * elf/Makefile: Likewise.
74616         * timezone/Makefile: Likewise.
74617         * stdlib/Makefile: Likewise.
74618         * iconvdata/Makefile: Likewise.
74619         * sunrpc/Makefile: Likewise.
74620         * io/Makefile: Likewise.
74621         * argp/Makefile: Likewise.
74622         * inet/Makefile: Likewise.
74623         * hesiod/Makefile: Likewise.
74624         * grp/Makefile: Likewise.
74625         * csu/Makefile: Likewise.
74626         * wctype/Makefile: Likewise.
74627         * crypt/Makefile: Likewise.
74628         * libio/Makefile: Likewise.
74629         * string/Makefile: Likewise.
74630         * nis/Makefile: Likewise.
74631         * resolv/Makefile: Likewise.
74632         * stdio-common/Makefile: Likewise.
74633         * wcsmbs/Makefile: Likewise.
74634         * dlfcn/Makefile: Likewise.
74635         * posix/Makefile: Likewise.
74637         [BZ #6959]
74638         * timezone/Makefile: Don't install timezone files, just the programs
74639         and scripts.
74641 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74643         * nss/databases.def: Add missing gshadow entry.
74645         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74647 2012-03-06  Marek Polacek  <polacek@redhat.com>
74649         [BZ #13726]
74650         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74651         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74652         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74653         * stdio-common/tst-long-dbl-fphex.c: New file.
74655 2012-03-06  David S. Miller  <davem@davemloft.net>
74657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74658         (set_obp_int): New function.
74659         (get_obp_int): New function.
74660         (__get_clockfreq_via_dev_openprom): Likewise.
74661         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74662         Avoid unused variable warnings on 'val' and use builtin_expect.
74663         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74664         __builtin_expect.
74665         (INLINE_CLONE_SYSCALL): Likewise.
74667 2012-03-05  David S. Miller  <davem@davemloft.net>
74669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74671 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74675         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74676         only for |x| >= 40.
74677         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74679 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74682         Replace gettimeofday with __vdso_gettimeofday.
74684         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74685         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74686         __vdso_clock_gettime and __vdso_getcpu.
74688         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74689         time with __vdso_time.
74691 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74693         * manual/lang.texi (size_t): Note types to which size_t may be
74694         equivalent with the GNU C Library, but do not describe when
74695         differences between them are significant.
74697 2012-03-05  Andreas Jaeger  <aj@suse.de>
74699         * sysdeps/i386/fpu/libm-test-ulps: Update.
74701 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74703         [BZ #3976]
74704         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74705         (__ieee754_pow): Save and restore rounding mode and use
74706         round-to-nearest for main computations.
74707         * math/libm-test.inc (pow_test_tonearest): New function.
74708         (pow_test_towardzero): Likewise.
74709         (pow_test_downward): Likewise.
74710         (pow_test_upward): Likewise.
74711         (main): Call the new functions.
74712         * sysdeps/i386/fpu/libm-test-ulps: Update.
74713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74715         [BZ #3976]
74716         * math/libm-test.inc (cosh_test_tonearest): New function.
74717         (cosh_test_towardzero): Likewise.
74718         (cosh_test_downward): Likewise.
74719         (cosh_test_upward): Likewise.
74720         (sinh_test_tonearest): Likewise.
74721         (sinh_test_towardzero): Likewise.
74722         (sinh_test_downward): Likewise.
74723         (sinh_test_upward): Likewise.
74724         (main): Call the new functions.
74725         * sysdeps/i386/fpu/libm-test-ulps: Update.
74726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74728 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74730         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74731         default stack guard is set in last bytes.
74732         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74734 2012-03-05  Kees Cook  <keescook@chromium.org>
74736         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74738         [BZ #13656]
74739         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74740         possibly allocate from heap instead of stack.
74741         * stdio-common/bug-vfprintf-nargs.c: New file.
74742         * stdio-common/Makefile (tests): Add nargs overflow test.
74744 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74748 2012-03-03  Marek Polacek  <polacek@redhat.com>
74750         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74751         * math/math_private.h: Likewise.
74752         * stdlib/tst-strtod.c: Likewise.
74753         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74754         * sysdeps/x86_64/bits/atomic.h: Likewise.
74756 2012-03-02  David S. Miller  <davem@davemloft.net>
74758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74762         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74763         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74764         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74765         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74767 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74769         [BZ #13792]
74770         * manual/examples/README: New file, says the example source files
74771         can be used under GPL>=2.
74772         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74773         line containing just "*/".
74774         * manual/examples/add.c: Add copyright header (GPL>=2).
74775         * manual/examples/argp-ex1.c: Likewise.
74776         * manual/examples/argp-ex2.c: Likewise.
74777         * manual/examples/argp-ex3.c: Likewise.
74778         * manual/examples/argp-ex4.c: Likewise.
74779         * manual/examples/atexit.c: Likewise.
74780         * manual/examples/db.c: Likewise.
74781         * manual/examples/dir.c: Likewise.
74782         * manual/examples/dir2.c: Likewise.
74783         * manual/examples/execinfo.c: Likewise.
74784         * manual/examples/filecli.c: Likewise.
74785         * manual/examples/filesrv.c: Likewise.
74786         * manual/examples/fmtmsgexpl.c: Likewise.
74787         * manual/examples/genpass.c: Likewise.
74788         * manual/examples/inetcli.c: Likewise.
74789         * manual/examples/inetsrv.c: Likewise.
74790         * manual/examples/isockad.c: Likewise.
74791         * manual/examples/longopt.c: Likewise.
74792         * manual/examples/memopen.c: Likewise.
74793         * manual/examples/memstrm.c: Likewise.
74794         * manual/examples/mkfsock.c: Likewise.
74795         * manual/examples/mkisock.c: Likewise.
74796         * manual/examples/mygetpass.c: Likewise.
74797         * manual/examples/pipe.c: Likewise.
74798         * manual/examples/popen.c: Likewise.
74799         * manual/examples/rprintf.c: Likewise.
74800         * manual/examples/search.c: Likewise.
74801         * manual/examples/select.c: Likewise.
74802         * manual/examples/setjmp.c: Likewise.
74803         * manual/examples/sigh1.c: Likewise.
74804         * manual/examples/sigusr.c: Likewise.
74805         * manual/examples/stpcpy.c: Likewise.
74806         * manual/examples/strdupa.c: Likewise.
74807         * manual/examples/strftim.c: Likewise.
74808         * manual/examples/strncat.c: Likewise.
74809         * manual/examples/subopt.c: Likewise.
74810         * manual/examples/swapcontext.c: Likewise.
74811         * manual/examples/termios.c: Likewise.
74812         * manual/examples/testopt.c: Likewise.
74813         * manual/examples/testpass.c: Likewise.
74814         * manual/examples/timeval_subtract.c: Likewise.
74816         [BZ #13792]
74817         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74818         function to ...
74819         * manual/timeval_subtract.c.texi: ... here, new file.
74821 2012-03-02  David S. Miller  <davem@davemloft.net>
74823         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74825 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74827         [BZ #3976]
74828         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74829         (__sin): Save and restore rounding mode and use round-to-nearest
74830         for all computations.
74831         (__cos): Save and restore rounding mode and use round-to-nearest
74832         for all computations.
74833         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74834         <fenv.h>.
74835         (tan): Save and restore rounding mode and use round-to-nearest for
74836         all computations.
74837         * math/libm-test.inc (cos_test_tonearest): New function.
74838         (cos_test_towardzero): Likewise.
74839         (cos_test_downward): Likewise.
74840         (cos_test_upward): Likewise.
74841         (sin_test_tonearest): Likewise.
74842         (sin_test_towardzero): Likewise.
74843         (sin_test_downward): Likewise.
74844         (sin_test_upward): Likewise.
74845         (tan_test_tonearest): Likewise.
74846         (tan_test_towardzero): Likewise.
74847         (tan_test_downward): Likewise.
74848         (tan_test_upward): Likewise.
74849         (main): Call the new functions.
74850         * sysdeps/i386/fpu/libm-test-ulps: Update.
74851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74853         [BZ #10135]
74854         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74855         small n, then large n, before computing and testing k+n.
74856         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74857         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74858         Likewise.
74859         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74860         Likewise.
74861         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74862         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74863         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74864         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74865         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74866         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74867         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74868         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74869         * math/libm-test.inc (scalbn_test): Add more tests.
74870         (scalbln_test): Likewise.
74872         * manual/filesys.texi (mode_t): Describe constraints on size and
74873         signedness, not exact equivalence to a particular type.
74874         (ino_t): Likewise.
74875         (ino64_t): Likewise.
74876         (dev_t): Likewise.
74877         (nlink_t): Likewise.
74878         (blkcnt_t): Likewise.
74879         (blkcnt64_t): Likewise.
74880         * manual/llio.texi (off_t): Likewise.
74882         [BZ #3976]
74883         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74884         (__ieee754_exp): Save and restore rounding mode and use
74885         round-to-nearest for all computations.
74886         * math/libm-test.inc (exp_test_tonearest): New function.
74887         (exp_test_towardzero): Likewise.
74888         (exp_test_downward): Likewise.
74889         (exp_test_upward): Likewise.
74890         (main): Call the new functions.
74891         * sysdeps/i386/fpu/libm-test-ulps: Update.
74892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74894 2012-03-01  Chris Demetriou  <cgd@google.com>
74896         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74897         have predictable order.
74899 2012-03-01  David S. Miller  <davem@davemloft.net>
74901         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74903         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74904         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74905         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74906         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74908         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74909         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74910         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74912         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74913         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74914         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74915         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74916         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74920         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74921         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74922         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74924         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74925         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74926         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74927         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74928         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74929         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74930         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74931         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74932         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74933         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74934         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74935         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74936         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74937         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74938         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74940         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74941         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74942         * sysdeps/sparc/elf/configure: Regenerated.
74944 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74946         * configure.in (AS, LD): Require binutils 2.20 or later.
74947         * configure: Regenerated.
74948         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74949         as required minimum version.
74950         * INSTALL: Regenerated.
74952         [BZ #2541]
74953         [BZ #4108]
74954         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74955         before squaring exponent.
74956         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74957         bottom long double and 27 bits of top long double before squaring
74958         exponent.
74959         * math/libm-test.inc (erfc_test): Add more tests.
74960         * sysdeps/i386/fpu/libm-test-ulps: Update.
74961         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74964 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74966         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74967         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74968         containing bit-fields.
74969         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74970         * soft-fp/single.h (_FP_UNION_S): Likewise.
74971         * soft-fp/double.h (_FP_UNION_D): Likewise.
74973 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74975         [BZ #13786]
74976         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74977         not include ../strcmp.S.
74978         [USE_AS_STRNCASECMP_L]: Likewise.
74979         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74980         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74981         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74982         (__strncasecmp_l_ia32): Define as alias to
74983         __strncasecmp_l_nonascii.
74985         [BZ #5794]
74986         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74987         * sysdeps/i386/fpu/libm-test-ulps: Update.
74988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74990         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74993 2012-02-29  Jeff Law  <law@redhat.com>
74995         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74996         out of bounds read.
74998 2012-02-29  Marek Polacek  <polacek@redhat.com>
75000         [BZ #13706]
75001         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
75002         * elf/Makefile: Add rules to run tst-unused-dep.out.
75004 2012-02-28  David S. Miller  <davem@davemloft.net>
75006         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
75007         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
75008         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
75009         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
75010         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
75011         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
75013 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
75015         * math/libm-test.inc (llround_test): Move one test from
75016         lround_test.  Use TEST_f_L in moved test.
75017         (lround_test): Move misplaced test to llround_test.  Add testcase
75018         from bug 2561.
75020 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
75022         * sysdeps/x86_64/fpu/e_expf.S: New file.
75023         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
75025 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
75027         [BZ #13637]
75028         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
75029         of remain_len that may cause incomplete multi-byte character and
75030         false match.
75031         * posix/bug-regex33.c: New file.
75032         * posix/Makefile (tests): Add bug-regex33.
75034 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
75036         * manual/macros.texi: New file.
75037         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
75038         * manual/libc.texinfo: Include macros.texi.
75039         * manual/creatute.texi: Likewise.
75040         * manual/install.texi: Likewise.
75041         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
75042         @glibcadj{} in references to the GNU C Library.
75043         * manual/charset.texi: Likewise.
75044         * manual/conf.texi: Likewise.
75045         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
75046         when not using those macros.
75047         * manual/creature.texi: Likewise.
75048         * manual/crypt.texi: Likewise.
75049         * manual/errno.texi: Likewise.
75050         * manual/filesys.texi: Likewise.
75051         * manual/header.texi: Likewise.
75052         * manual/install.texi: Likewise.
75053         * manual/intro.texi: Likewise.
75054         * manual/io.texi: Likewise.
75055         * manual/job.texi: Likewise.
75056         * manual/lang.texi: Likewise.
75057         * manual/libc.texiinfo: Likewise.
75058         * manual/llio.texi: Likewise.
75059         * manual/locale.texi: Likewise.
75060         * manual/maint.texi: Likewise.
75061         * manual/math.texi: Likewise.
75062         * manual/memory.texi: Likewise.
75063         * manual/message.texi: Likewise.
75064         * manual/nss.texi: Likewise.
75065         * manual/pattern.texi: Likewise.
75066         * manual/process.texi: Likewise.
75067         * manual/resource.texi: Likewise.
75068         * manual/search.texi: Likewise.
75069         * manual/setjmp.texi: Likewise.
75070         * manual/signal.texi: Likewise.
75071         * manual/socket.texi: Likewise.
75072         * manual/startup.texi: Likewise.
75073         * manual/stdio.texi: Likewise.
75074         * manual/string.texi: Likewise.
75075         * manual/sysinfo.texi: Likewise.
75076         * manual/syslog.texi: Likewise.
75077         * manual/terminal.texi: Likewise.
75078         * manual/time.texi: Likewise.
75079         * manual/users.texi: Likewise.
75080         * INSTALL: Regenerated.
75081         * NOTES: Regenerated.
75082         * sysdeps/gnu/errlist.c: Regenerated.
75084 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
75086         * include/dirent.h: Include <dirstream.h> before
75087         <dirent/dirent.h>.
75089 2012-02-28  David S. Miller  <davem@davemloft.net>
75091         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
75092         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
75093         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
75094         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
75096 2012-02-27  David S. Miller  <davem@davemloft.net>
75098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
75099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
75100         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
75101         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
75103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
75104         frame pointer instead of stack pointer relative arg slot.
75105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75106         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75107         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75109 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
75111         [BZ #3992]
75112         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
75114 2012-02-27  David S. Miller  <davem@davemloft.net>
75116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
75117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
75120         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75121         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75122         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
75123         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
75125 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
75127         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
75128         later.  Allow versions 5-9.
75129         * configure: Regenerated.
75130         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
75131         required minimum version and 4.6 as recommended version.  Do not
75132         mention bugs in GCC 2.7 and 2.8.
75133         * INSTALL: Regenerated.
75135 2012-02-27  David S. Miller  <davem@davemloft.net>
75137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
75138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
75139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
75140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
75141         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
75142         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
75143         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
75144         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
75146         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
75147         manipulate bits before adding and subtracting TWO112[sx].
75148         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
75150 2012-02-27  Roland McGrath  <roland@hack.frob.com>
75152         [BZ #13775]
75153         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
75154         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
75155         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
75156         being in POSIX, because they are in 1003.1-2008.
75158         * rt/tst-aio.c: Include <fcntl.h>.
75159         * rt/tst-aio7.c: Likewise.
75160         * rt/tst-aio64.c: Likewise.
75162         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
75164 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
75166         * manual/install.texi (--with-headers): Describe headers as
75167         interface headers, not private headers.
75168         (Specific advice for GNU/Linux systems): Describe use of headers
75169         from "make headers_install", not private headers from older
75170         kernels.
75171         * INSTALL: Regenerated.
75172         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
75173         Change to 2.6.19.
75174         * sysdeps/unix/sysv/linux/configure: Regenerated.
75176         * manual/llio.texi (fclean): Remove documentation.
75178         * manual/Makefile (libc-texi-generated): New variable.  Include
75179         version.texi.
75180         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
75181         $(libc-texi-generated), not duplicated list of files.
75182         (version.texi, stamp-version): New rules.
75183         (realclean): Remove $(libc-texi-generated), not individual files
75184         from that list.  Do not remove dir-add.texinfo.
75185         * manual/libc.texinfo: Comment out uses of edition numbers and
75186         references to printed manual.  Remove last-updated dates.
75187         (EDITION): Comment out.
75188         (ISBN): Likewise.
75189         (VERSION, UPDATED): Remove.
75190         (version.texi): Include.
75192 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
75194         * sysdeps/posix/spawni.c: Include <signal.h>.
75195         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
75196         * sysdeps/pthread/aio_fsync.c: Likewise.
75198 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
75200         * conform/Makefile (tests): Run only when not cross-compiling and
75201         when fast-check is not defined.
75203         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
75204         * conform/data/limits.h-data: Fixes for POSIX2008.
75205         * conform/run-conformtest.sh: Run all tests.
75206         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
75207         headers.
75208         * include/bits/dlfcn.h: Likewise.
75209         * include/langinfo.h: Likewise.
75210         * include/monetary.h: Likewise.
75211         * include/sys/poll.h: Likewise.
75213         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
75214         for __USE_GNU.
75215         * posix/spawn.h: Define __need_sigset_t.
75216         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
75217         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
75218         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
75219         to get sigevent_t only.
75220         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
75221         only for __USE_GNU.
75222         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75223         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75224         process_vm_writev only for __USE_GNU.
75225         * termios/termios.h: Declare tcgetsid also for POSIX2008.
75227         * conform/Makefile: For now ignore errors from run-conformtest.
75228         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
75229         POSIX to avoid namespace pollution.  Don't prepend headers.
75230         * conform/data/aio.h-data: Fixes for POSIX testing.
75231         * conform/data/fcntl.h-data: Likewise.
75232         * conform/data/glob.h-data: Likewise.
75233         * conform/data/grp.h-data: Likewise.
75234         * conform/data/pthread.h-data: Likewise.
75235         * conform/data/pwd.h-data: Likewise.
75236         * conform/data/signal.h-data: Likewise.
75237         * conform/data/spawn.h-data: Likewise.
75238         * conform/data/stdio.h-data: Likewise.
75239         * conform/data/stdlib.h-data: Likewise.
75240         * conform/data/stropts.h-data: Likewise.
75241         * conform/data/sys/mman.h-data: Likewise.
75242         * conform/data/sys/stat.h-data: Likewise.
75243         * conform/data/sys/types.h-data: Likewise.
75244         * conform/data/sys/wait.h-data: Likewise.
75245         * conform/data/time.h-data: Likewise.
75246         * conform/data/unistd.h-data: Likewise.
75247         * conform/data/utime.h-data: Likewise.
75249         * io/sys/stat.h: fchmod was always in POSIX.
75250         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
75251         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
75252         * rt/aio.h: Define __need_timespec before including <time.h>.
75253         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
75254         struct.  Add forward declaration of pthread_attr_t and use it in
75255         sigevent.
75256         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75257         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75258         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
75259         always remove CLK_TCK definition.
75261 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
75263         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
75265 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
75267         * conform/run-conformtest.sh: New file.
75268         * conform/Makefile: Run run-conformtest for tests.
75269         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
75270         support.
75272         * conform/data/uchar.h-data: New file.
75273         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
75274         * conform/data/arpa/inet.h-data: Likewise.
75275         * conform/data/assert.h-data: Likewise.
75276         * conform/data/complex.h-data: Likewise.
75277         * conform/data/cpio.h-data: Likewise.
75278         * conform/data/ctype.h-data: Likewise.
75279         * conform/data/dirent.h-data: Likewise.
75280         * conform/data/dlfcn.h-data: Likewise.
75281         * conform/data/errno.h-data: Likewise.
75282         * conform/data/fcntl.h-data: Likewise.
75283         * conform/data/float.h-data: Likewise.
75284         * conform/data/fmtmsg.h-data: Likewise.
75285         * conform/data/fnmatch.h-data: Likewise.
75286         * conform/data/ftw.h-data: Likewise.
75287         * conform/data/glob.h-data: Likewise.
75288         * conform/data/grp.h-data: Likewise.
75289         * conform/data/iconv.h-data: Likewise.
75290         * conform/data/inttypes.h-data: Likewise.
75291         * conform/data/langinfo.h-data: Likewise.
75292         * conform/data/libgen.h-data: Likewise.
75293         * conform/data/limits.h-data: Likewise.
75294         * conform/data/locale.h-data: Likewise.
75295         * conform/data/math.h-data: Likewise.
75296         * conform/data/monetary.h-data: Likewise.
75297         * conform/data/mqueue.h-data: Likewise.
75298         * conform/data/ndbm.h-data: Likewise.
75299         * conform/data/net/if.h-data: Likewise.
75300         * conform/data/netdb.h-data: Likewise.
75301         * conform/data/netinet/in.h-data: Likewise.
75302         * conform/data/nl_types.h-data: Likewise.
75303         * conform/data/poll.h-data: Likewise.
75304         * conform/data/pthread.h-data: Likewise.
75305         * conform/data/pwd.h-data: Likewise.
75306         * conform/data/regex.h-data: Likewise.
75307         * conform/data/sched.h-data: Likewise.
75308         * conform/data/search.h-data: Likewise.
75309         * conform/data/semaphore.h-data: Likewise.
75310         * conform/data/setjmp.h-data: Likewise.
75311         * conform/data/signal.h-data: Likewise.
75312         * conform/data/spawn.h-data: Likewise.
75313         * conform/data/stdarg.h-data: Likewise.
75314         * conform/data/stdio.h-data: Likewise.
75315         * conform/data/stdlib.h-data: Likewise.
75316         * conform/data/string.h-data: Likewise.
75317         * conform/data/strings.h-data: Likewise.
75318         * conform/data/stropts.h-data: Likewise.
75319         * conform/data/sys/ipc.h-data: Likewise.
75320         * conform/data/sys/mman.h-data: Likewise.
75321         * conform/data/sys/msg.h-data: Likewise.
75322         * conform/data/sys/resource.h-data: Likewise.
75323         * conform/data/sys/select.h-data: Likewise.
75324         * conform/data/sys/sem.h-data: Likewise.
75325         * conform/data/sys/shm.h-data: Likewise.
75326         * conform/data/sys/socket.h-data: Likewise.
75327         * conform/data/sys/stat.h-data: Likewise.
75328         * conform/data/sys/statvfs.h-data: Likewise.
75329         * conform/data/sys/time.h-data: Likewise.
75330         * conform/data/sys/timeb.h-data: Likewise.
75331         * conform/data/sys/times.h-data: Likewise.
75332         * conform/data/sys/types.h-data: Likewise.
75333         * conform/data/sys/uio.h-data: Likewise.
75334         * conform/data/sys/un.h-data: Likewise.
75335         * conform/data/sys/utsname.h-data: Likewise.
75336         * conform/data/sys/wait.h-data: Likewise.
75337         * conform/data/syslog.h-data: Likewise.
75338         * conform/data/tar.h-data: Likewise.
75339         * conform/data/termios.h-data: Likewise.
75340         * conform/data/utime.h-data: Likewise.
75341         * conform/data/utmpx.h-data: Likewise.
75342         * conform/data/varargs.h-data: Likewise.
75343         * conform/data/wchar.h-data: Likewise.
75344         * conform/data/wctype.h-data: Likewise.
75345         * conform/data/wordexp.h-data: Likewise.
75347         * include/stropts.h: New file.
75348         * include/uchar.h: New file.
75349         * include/aio.h: Changes to allow conformtest.pl to use the headers.
75350         * include/assert.h: Likewise.
75351         * include/ctype.h: Likewise.
75352         * include/dirent.h: Likewise.
75353         * include/dlfcn.h: Likewise.
75354         * include/fcntl.h: Likewise.
75355         * include/fnmatch.h: Likewise.
75356         * include/glob.h: Likewise.
75357         * include/grp.h: Likewise.
75358         * include/libio.h: Likewise.
75359         * include/locale.h: Likewise.
75360         * include/math.h: Likewise.
75361         * include/net/if.h: Likewise.
75362         * include/netdb.h: Likewise.
75363         * include/netinet/in.h: Likewise.
75364         * include/pthread.h: Likewise.
75365         * include/pwd.h: Likewise.
75366         * include/regex.h: Likewise.
75367         * include/sched.h: Likewise.
75368         * include/search.h: Likewise.
75369         * include/setjmp.h: Likewise.
75370         * include/signal.h: Likewise.
75371         * include/stdio.h: Likewise.
75372         * include/stdlib.h: Likewise.
75373         * include/string.h: Likewise.
75374         * include/sys/cdefs.h: Likewise.
75375         * include/sys/mman.h: Likewise.
75376         * include/sys/msg.h: Likewise.
75377         * include/sys/resource.h: Likewise.
75378         * include/sys/select.h: Likewise.
75379         * include/sys/socket.h: Likewise.
75380         * include/sys/stat.h: Likewise.
75381         * include/sys/statvfs.h: Likewise.
75382         * include/sys/time.h: Likewise.
75383         * include/sys/times.h: Likewise.
75384         * include/sys/uio.h: Likewise.
75385         * include/sys/utsname.h: Likewise.
75386         * include/sys/wait.h: Likewise.
75387         * include/termios.h: Likewise.
75388         * include/time.h: Likewise.
75389         * include/ulimit.h: Likewise.
75390         * include/unistd.h: Likewise.
75391         * include/utime.h: Likewise.
75392         * include/wchar.h: Likewise.
75393         * include/wctype.h: Likewise.
75394         * include/wordexp.h: Likewise.
75396         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75398         * time/time.h: TIME_UTC must be a macro.
75399         Make timespec_get available for ISO C11 only as well.
75401 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75403         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75404         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75406 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75408         * configure.in: Use -o not -a in test for unsupported multi-arch.
75410 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75412         * manual/texinfo.tex: Update to version 2012-01-19.16.
75414 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75416         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75418 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75420         [BZ #13738]
75421         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75422         * manual/fdl-1.3.texi: New file.
75423         * manual/fdl-1.1.texi: File removed.
75425         [BZ #13738]
75426         * manual/libc.texinfo (FDL_VERSION): New @set.
75427         Use it for mention of FDL in cover text.
75428         (Documentation License): Use it in @include file name.
75430 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75431             Roland McGrath  <roland@hack.frob.com>
75433         [BZ #5461]
75434         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75435         (not LONG_LONG_MAX and LONG_LONG_MIN.
75436         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75437         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75438         name.
75439         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75441 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75443         [BZ #2547]
75444         [BZ #11365]
75445         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75446         manipulate bits before adding and subtracting TWO23[sx].
75447         * math/libm-test.inc (nearbyint_test): Add more tests.
75449 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75451         [BZ #2548]
75452         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75453         bits before adding and subtracting TWO23[sx].
75454         * math/libm-test.inc (rint_test): Add more tests.
75455         (rint_test_tonearest): Likewise.
75456         (rint_test_towardzero): Likewise.
75457         (rint_test_downward): Likewise.
75458         (rint_test_upward: Likewise.
75460 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75462         [BZ #10110]
75463         * include/stdc-predef.h: New file.  Extracted from features.h.
75464         * include/features.h: Include stdc-predef.h.
75465         * Makefile (headers): Add stdc-predef.h.
75466         * CONFORMANCE (Compiler limitations): Update.
75468 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75470         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75472 2012-02-21  David S. Miller  <davem@davemloft.net>
75474         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75475         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75477 2012-02-20  David S. Miller  <davem@davemloft.net>
75479         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75480         using a normal save/restore sequence, rather than allocating a
75481         dummy stack frame just to store a frame pointer and restore.
75482         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75484 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75486         * manual/install.texi: Fix stray word in line-wrapped comment.
75488 2012-02-20  David S. Miller  <davem@davemloft.net>
75490         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75491         both binutils and gcc support GOTDATA.
75493         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75494         "rd %pc" in the PIC register setup sequences.
75496         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75497         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75498         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75499         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75500         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75501         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75502         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75503         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75504         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75505         (SYSCALL_ERROR_HANDLER): Likewise.
75506         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75507         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75508         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75509         (SYSCALL_ERROR_HANDLER): Likewise.
75511         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75512         (HAVE_GCC_GOTDATA): New.
75513         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75514         relocation support in both binutils and gcc.
75515         * sysdeps/sparc/elf/configure: Regenerate.
75517         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75518         * sysdeps/sparc/sparc32/elf/configure: Delete.
75519         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75520         * sysdeps/sparc/sparc64/elf/configure: Delete.
75521         * sysdeps/sparc/elf/configure.in: New file.
75522         * sysdeps/sparc/elf/configure: Generate.
75524         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75525         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75526         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75527         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75528         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75530 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75532         * manual/install.texi: Do not mention specific glibc version
75533         numbers.
75534         * manual/libc.texinfo (VERSION, UPDATED): Update.
75535         (@copying): Use @copyright{} and range of years.
75537 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75539         [BZ #13695]
75540         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75541         [crti.S not in sysdirs] (generated): Do not append.
75542         [crti.S not in sysdirs] (omit-deps): Likewise.
75543         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75544         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75545         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75546         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75547         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75548         Likewise.
75549         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75550         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75551         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75552         * csu/defs.awk: Remove file.
75553         * sysdeps/generic/initfini.c: Likewise.
75554         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75555         variable.
75556         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75557         Likewise.
75559 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75561         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75562         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75563         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75564         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75565         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75566         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75567         <bits/epoll.h>.
75568         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75569         (__EPOLL_PACKED): Define to empty if not defined by
75570         <bits/epoll.h>.
75571         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75573         bits/epoll.h.
75575 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75577         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75578         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75579         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75580         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75581         <bits/timerfd.h>.
75582         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75583         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75584         bits/timerfd.h.
75586 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75588         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75589         in C locale.
75590         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75591         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75592         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75595 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75597         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75598         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75600 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75602         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75603         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75604         defined.
75605         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75606         Likewise.
75607         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75608         entry for 2.16.
75610 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75612         * math/w_acos.c: Use non-signaling floating-point comparisons.
75613         * math/w_acosf.c: Likewise.
75614         * math/w_acosh.c: Likewise.
75615         * math/w_acoshf.c: Likewise.
75616         * math/w_acoshl.c: Likewise.
75617         * math/w_acosl.c: Likewise.
75618         * math/w_asin.c: Likewise.
75619         * math/w_asinf.c: Likewise.
75620         * math/w_asinl.c: Likewise.
75621         * math/w_atanh.c: Likewise.
75622         * math/w_atanhf.c: Likewise.
75623         * math/w_atanhl.c: Likewise.
75624         * math/w_exp2.c: Likewise.
75625         * math/w_exp2f.c: Likewise.
75626         * math/w_exp2l.c: Likewise.
75627         * math/w_j0.c: Likewise.
75628         * math/w_j0f.c: Likewise.
75629         * math/w_j0l.c: Likewise.
75630         * math/w_j1.c: Likewise.
75631         * math/w_j1f.c: Likewise.
75632         * math/w_j1l.c: Likewise.
75633         * math/w_jn.c: Likewise.
75634         * math/w_jnf.c: Likewise.
75635         * math/w_log.c: Likewise.
75636         * math/w_log10.c: Likewise.
75637         * math/w_log10f.c: Likewise.
75638         * math/w_log10l.c: Likewise.
75639         * math/w_log2.c: Likewise.
75640         * math/w_log2f.c: Likewise.
75641         * math/w_log2l.c: Likewise.
75642         * math/w_logf.c: Likewise.
75643         * math/w_logl.c: Likewise.
75644         * math/w_sqrt.c: Likewise.
75645         * math/w_sqrtf.c: Likewise.
75646         * math/w_sqrtl.c: Likewise.
75647         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75648         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75649         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75650         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75651         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75653 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75655         [BZ #9739]
75656         * manual/string.texi (strnlen): Use correct parameter name in
75657         equivalent expression.
75659 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75661         [BZ #11174]
75662         * manual/users.texi (seteuid): Consistently use neweuid for
75663         argument name.
75665 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75667         [BZ #13704]
75668         * manual/nss.texi (Services in the NSS configuration): Correct
75669         list of services in example configuration file.
75671 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75673         [BZ #11322]
75674         * manual/arith.texi: Remove statements about negative zero
75675         behaving identically to zero.
75677 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75679         [BZ #5993]
75680         * manual/install.texi: Do not document upgrading from libc5.
75682 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75684         [BZ #4596]
75685         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75687 2012-02-18  David S. Miller  <davem@davemloft.net>
75689         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75690         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75691         %o7 across the call.
75692         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75693         instead.
75694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75695         SETUP_PIC_REG_LEAF.
75696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75697         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75698         * sysdeps/sparc/crtn.S: Likewise.
75700 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75702         * aout/Makefile: Remove.
75704 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75706         [BZ #13058]
75707         * manual/examples/argp-ex1.c (main): Format definition in GNU
75708         style.
75709         * manual/examples/argp-ex2.c (main): Likewise.
75710         * manual/examples/argp-ex3.c (main): Likewise.
75711         * manual/examples/argp-ex4.c (main): Likewise.
75712         * manual/examples/longopt.c (main): Use new-style prototype
75713         definition.
75714         * manual/examples/strncat.c (main): Specify return type and use
75715         (void) for arguments.
75716         * manual/examples/subopt.c (main): Use char **argv argument.
75718 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75720         [BZ #5077]
75721         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75722         rounding modes.
75724 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75726         [BZ #6907]
75727         * manual/string.texi (strchr): Change when strchrnul is
75728         recommended.
75730 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75732         [BZ #174]
75733         * manual/locale.texi (setlocale): Document LOCPATH.
75735 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75737         [BZ #10210]
75738         * manual/process.texi (execle): Move @dots{} before last argument.
75740 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75742         [BZ #12047]
75743         * manual/charset.texi (Generic Charset Conversion): Fix typo
75744         (LC_TYPE -> LC_CTYPE).
75746 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75748         [BZ #5805]
75749         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75750         (scalbnf): Likewise.
75751         (scalbnl): Likewise.
75752         (scalbln): Likewise.
75753         (scalblnf): Likewise.
75754         (scalblnl): Likewise.
75755         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75756         (vwarnx): Likewise.
75757         (verr): Likewise.
75758         (verrx): Likewise.
75759         * manual/filesys.texi (telldir): Use braces around return type.
75760         * manual/llio.texi (mmap): Add space after comma.
75761         (mmap64): Likewise.
75762         * manual/math.texi (jn): Use @var{} on parameter names.
75763         (jnf): Likewise.
75764         (jnl): Likewise.
75765         (yn): Likewise.
75766         (ynf): Likewise.
75767         (ynl): Likewise.
75768         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75769         line.
75770         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75771         "...".
75772         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75773         (sched_get_priority_max): Likewise.
75774         * manual/signal.texi (sigvec): Add space after comma.
75775         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75776         names.
75777         (if_indextoname): Likewise.
75778         (if_freenameindex): Likewise.
75779         (sendto): Use ',' instead of '.' in prototype.
75780         * manual/startup.texi (syscall): Use @dots{} instead of literal
75781         "...".
75782         * manual/stdio.texi (__fpending): Separate initial words of
75783         paragraph from @deftypefun line.
75784         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75785         "...".
75786         (vsyslog): Use @var{} on parameter names.
75787         * manual/terminal.texi (stty): Use @var{} on parameter names.
75788         * manual/users.texi (getutmp): Use @var{} on parameter names.
75789         (getutmpx): Likewise.
75791 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75793         [BZ #6884]
75794         * manual/stdio.texi (fopen): Fix typos in description of
75795         ",ccs=STRING".
75797 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75799         [BZ #4026]
75800         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75801         get clock_id definition.
75803 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75805         [BZ #4822]
75806         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75807         (madvise): Cast every argument to void on its own.
75809 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75811         [BZ #9902]
75812         * manual/startup.texi (Exit Status): Fix typo.
75814 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75816         [BZ #10140]
75817         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75818         * manual/examples/argp-ex2.c: Likewise.
75819         * manual/examples/argp-ex3.c: Likewise.
75821 2012-02-16  Richard Henderson  <rth@redhat.com>
75823         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75824         * sysdeps/s390/s390-32/initfini.c: Remove.
75825         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75826         * sysdeps/s390/s390-64/initfini.c: Remove.
75828 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75830         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75831         compiler output for sysdeps/generic/initfini.c.
75832         * sysdeps/sh/elf/initfini.c: Remove file.
75834 2012-02-16  David S. Miller  <davem@davemloft.net>
75836         [BZ #11494]
75837         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75839         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75840         * sysdeps/sparc/crti.S: New file.
75841         * sysdeps/sparc/crtn.S: New file.
75842         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75843         * sysdeps/sparc/sparc64/Makefile: Likewise.
75845 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75847         [BZ #3335]
75848         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75850 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75852         [BZ #4822]
75853         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75855         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75856         (write, read, close): Likewise.
75857         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75859 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75861         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75862         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75863         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75864         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75865         <bits/signalfd.h>.
75866         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75868         bits/signalfd.h.
75870 2012-02-14  Marek Polacek  <polacek@redhat.com>
75872         * sysdeps/x86_64/crti.S: New file.
75873         * sysdeps/x86_64/crtn.S: New file.
75874         * sysdeps/x86_64/elf/initfini.c: Remove file.
75876 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75878         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75879         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75880         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75881         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75882         <bits/inotify.h>.
75883         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75885         bits/inotify.h.
75887 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75889         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75890         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75891         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75892         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75893         <bits/eventfd.h>.
75894         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75896         bits/eventfd.h.
75898 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75900         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75901         __feraiseexcept instead of feraiseexcept.
75903         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75904         nanosleep invocations.
75905         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75906         strings, and add error checking for a nanosleep invocations.
75908 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75910         Replace FSF snail mail address with URLs, as per GNU coding standards.
75911         Most of the snail mail addresses were wrong anyway, and omitting
75912         them makes the source code easier to maintain.  Almost all of the
75913         changes are to license notices and to locale LC_IDENTIFICATION
75914         addresses, except for this one:
75915         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75916         not its snail mail address.
75918 2012-02-09  Richard Henderson  <rth@twiddle.net>
75920         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75921         of kernel-features.h.
75923         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75925 2012-02-08  Marek Polacek  <polacek@redhat.com>
75927         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75928         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75929         * sysdeps/gnu/_G_config.h: Likewise.
75930         * sysdeps/generic/_G_config.h: Likewise.
75932 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75934         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75935         tests.
75936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75938         * sysdeps/powerpc/powerpc32/crti.S: New file.
75939         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75940         * sysdeps/powerpc/powerpc64/crti.S: New file.
75941         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75943         * Makeconfig (have-initfini): Don't set.
75944         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75945         * configure.in (nopic_initfini): Don't substitute.
75946         * config.h.in (HAVE_INITFINI): Don't #undef.
75947         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75948         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75950 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75952         Support crti.S and crtn.S provided directly by architectures.
75953         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75954         [crti.S in sysdirs] (omit-deps): Likewise.
75955         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75956         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75957         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75958         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75959         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75960         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75961         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75962         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75963         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75964         compiler output for sysdeps/generic/initfini.c.
75965         * sysdeps/i386/elf/Makefile: Remove file.
75966         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75968 2012-02-07  Marek Polacek  <polacek@redhat.com>
75970         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75971         * sysdeps/gnu/_G_config.h: Likewise.
75972         * sysdeps/mach/hurd/_G_config.h: Likewise.
75974 2012-02-07  Marek Polacek  <polacek@redhat.com>
75976         * math/Makefile (tests): Add tst-CMPLX2.
75977         * math/tst-CMPLX2.c: New file.
75979 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75981         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75983         * math/libm-test.inc (jn_test): Add missing L suffix.
75985 2012-02-06  Marek Polacek  <polacek@redhat.com>
75987         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75988         * sysdeps/i386/fpu/e_powf.S: Likewise.
75989         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75990         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75991         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75992         * sysdeps/i386/fpu/e_pow.S: Likewise.
75993         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75994         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75995         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75996         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75997         * sysdeps/i386/fpu/e_log2.S: Likewise.
75998         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75999         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76000         * sysdeps/i386/fpu/e_powl.S: Likewise.
76001         * sysdeps/i386/fpu/s_log1p.S: Likewise.
76002         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76003         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76004         * sysdeps/i386/fpu/e_logl.S: Likewise.
76005         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76006         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
76007         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76008         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76009         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76010         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76011         * sysdeps/i386/fpu/e_log.S: Likewise.
76012         * sysdeps/i386/fpu/s_cexp.S: Likewise.
76013         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76014         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
76015         * sysdeps/i386/fpu/e_logf.S: Likewise.
76016         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76017         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76018         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
76019         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76020         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76021         * sysdeps/i386/fpu/e_log10.S: Likewise.
76022         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76023         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76024         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76025         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76026         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76027         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76028         * sysdeps/i386/asm-syntax.h: Likewise.
76029         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76030         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76031         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76032         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
76033         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
76034         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76035         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76036         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76037         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76038         * sysdeps/powerpc/sysdep.h: Likewise.
76039         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
76040         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76042 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
76044         [BZ #411]
76045         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
76047 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
76049         * sysdeps/i386/sysdep.h: Include <features.h>.
76050         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
76051         version.
76053 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
76055         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
76056         Define.
76057         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
76058         LOAD_PIC_REG_STR.
76060 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76062         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
76063         (SETUP_PIC_REG): Use GET_PC_THUNK.
76064         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
76065         macro.
76067 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76069         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
76070         for non-PIC compilation.
76071         (SETUP_PIC_REG): Add .p2align directive.
76072         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
76073         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
76074         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76075         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76076         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
76077         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76078         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
76079         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76080         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76081         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76082         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76083         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76084         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76085         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76086         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76087         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
76088         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
76089         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76090         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76091         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76092         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76093         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
76094         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76095         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76096         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
76097         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
76098         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76099         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
76100         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76101         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76102         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76103         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76104         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76105         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76106         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76107         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76108         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76109         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76110         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76111         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76112         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76114 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76116         * math/tst-CMPLX.c: Include <stdio.h>.
76118 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
76120         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
76121         float.
76122         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76123         * sysdeps/sparc/bits/mathdef.h: Likewise.
76125 2012-01-31  Marek Polacek  <polacek@redhat.com>
76127         * libio/libio.h: Don't define _PARAMS.
76128         * locale/programs/config.h: Don't define PARAMS.
76129         * stdlib/strtol_l.c: Likewise.
76130         (__strtol_l): Remove PARAMS from the prototype.
76132 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
76134         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
76135         names.  Just use the correct names.  Remove unnecessary wrapper
76136         functions.
76137         * malloc/arena.c: Likewise.
76138         * malloc/hooks.c: Likewise.
76140         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
76141         ARENA_TEST says not to.  Simplify test for creation of a new arena.
76142         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
76144 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
76146         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
76147         into tail calls.
76148         (update_get_addr): New function.
76149         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
76150         GET_ADDR_MODULE parameter.
76152 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
76154         * crypt/cert.c: Remove __STDC__ conditionals.
76155         * crypt/crypt-entry.c: Likewise.
76156         * crypt/crypt_util.c: Likewise.
76157         * libio/filedoalloc.c: Likewise.
76158         * libio/fileops.c: Likewise.
76159         * libio/genops.c: Likewise.
76160         * libio/iofclose.c: Likewise.
76161         * libio/iofdopen.c: Likewise.
76162         * libio/iofopen.c: Likewise.
76163         * libio/iofopen64.c: Likewise.
76164         * libio/iogetdelim.c: Likewise.
76165         * libio/iopopen.c: Likewise.
76166         * libio/obprintf.c: Likewise.
76167         * libio/oldfileops.c: Likewise.
76168         * libio/oldiofclose.c: Likewise.
76169         * libio/oldiofdopen.c: Likewise.
76170         * libio/oldiofopen.c: Likewise.
76171         * libio/oldiopopen.c: Likewise.
76172         * libio/wfiledoalloc.c: Likewise.
76173         * libio/wgenops.c: Likewise.
76174         * locale/programs/xmalloc.c: Likewise.
76175         * misc/syslog.c: Likewise.
76176         * stdio-common/xbug.c: Likewise.
76177         * string/memchr.c: Likewise.
76178         * string/memcmp.c: Likewise.
76179         * string/memrchr.c: Likewise.
76180         * string/rawmemchr.c: Likewise.
76181         * sysdeps/posix/getcwd.c: Likewise.
76182         * time/strftime_l.c: Likewise.
76184 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
76186         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
76187         * config.make.in (config-cflags-sse2avx): Define.
76188         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
76189         Fix typo.
76191 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
76193         * scripts/config.guess: Update from upstream config git repository.
76194         * scripts/config.sub: Likewise.
76196 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
76198         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
76199         (EM_NUM): Update.
76200         (R_TILEPRO_*, R_TILEGX_*): New macros.
76202         * scripts/firstversions.awk: Fix bug in version range handling.
76204         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
76206         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
76208         * include/sys/epoll.h: New file.
76209         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
76210         libc_hidden_def.
76212 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
76214         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
76215         Avoid unnecessary __WORDSIZE == 64 test.
76216         (fmaxf): Use VEX format if possible.
76217         (fmax): Likewise.
76218         (fminf): Likewise.
76219         (fmin): Likewise.
76221         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
76222         * math/math_private.h: Remove libc_fegetround* and
76223         libc_fesetround*.
76224         * sysdeps/i386/configure.in: Check for -msse2avx.
76225         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
76226         also if SSE2AVX is defined.
76227         Remove libc_fegetround* and libc_fesetround*.
76228         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
76229         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
76230         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
76231         of HAS_YMM_USABLE.
76232         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76233         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76234         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76235         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76236         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76238         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
76240 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76242         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
76243         size is not set.
76244         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76246 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
76248         [BZ #13618]
76249         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
76250         relocation.
76251         * Makeconfig (libm): Define.
76252         * elf/Makefile: Add rules to build and run tst-relsort1.
76253         * elf/tst-relsort1.c: New file.
76254         * elf/tst-relsort1mod1.c: New file.
76255         * elf/tst-relsort1mod2.c: New file.
76257 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
76259         * math/s_ldexp.c: Remove __STDC__ conditionals.
76260         * math/s_ldexpf.c: Likewise.
76261         * math/s_ldexpl.c: Likewise.
76262         * math/s_nextafter.c: Likewise.
76263         * math/s_nexttowardf.c: Likewise.
76264         * math/s_significand.c: Likewise.
76265         * math/s_significandf.c: Likewise.
76266         * math/s_significandl.c: Likewise.
76267         * math/w_jnl.c: Likewise.
76268         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76269         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76270         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76271         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76272         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76273         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76274         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
76275         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76276         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76277         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76278         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76279         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76280         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76281         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76282         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76283         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76284         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76285         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76286         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76287         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76288         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76289         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76290         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76291         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76292         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76293         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76294         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76295         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76296         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76297         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76298         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76299         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76300         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76301         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76302         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76303         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76304         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76305         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76306         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76307         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76308         * sysdeps/ieee754/k_standard.c: Likewise.
76309         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76310         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76311         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76312         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76313         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76314         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76315         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76316         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76317         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76318         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76319         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76320         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76321         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76322         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76323         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76324         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76325         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76326         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76327         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76328         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76329         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76330         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76331         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76332         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76333         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76334         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76335         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76336         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76337         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76338         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76339         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76340         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76341         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76342         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76343         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76344         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76345         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76346         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76347         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76348         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76349         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76350         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76351         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76352         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76353         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76354         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76355         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76356         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76357         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76358         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76359         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76360         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76361         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76362         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76363         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76364         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76365         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76366         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76367         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76368         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76369         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76370         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76371         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76372         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76373         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76374         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76375         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76376         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76377         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76378         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76379         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76380         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76381         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76382         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76383         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76384         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76385         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76386         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76387         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76388         * sysdeps/ieee754/s_matherr.c: Likewise.
76389         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76390         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76391         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76392         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76394 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76396         * crypt/md5.h: Remove __STDC__ conditionals.
76397         * libio/libioP.h: Likewise.
76398         * locale/programs/config.h: Likewise.
76399         * sysdeps/generic/sysdep.h: Likewise.
76400         * sysdeps/i386/asm-syntax.h: Likewise.
76401         * sysdeps/s390/asm-syntax.h: Likewise.
76402         * sysdeps/unix/sysdep.h: Likewise.
76403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76406 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76408         * libio/libio.h: Remove __STDC__ conditionals.
76409         * malloc/obstack.h: Likewise.
76410         * math/complex.h: Likewise.
76411         * math/math.h: Likewise.
76412         * sysdeps/generic/_G_config.h: Likewise.
76413         * sysdeps/gnu/_G_config.h: Likewise.
76414         * sysdeps/mach/hurd/_G_config.h: Likewise.
76415         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76416         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76417         * sysdeps/sparc/bits/mathdef.h: Likewise.
76419 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76421         [BZ #13583]
76422         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76423         Clean up HAS_* macros.
76424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76425         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76426         possible.
76427         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76428         HAS_AVX.
76429         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76430         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76431         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76432         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76433         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76435 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76437         * elf/tst-unique3.cc (gets): Remove declaration.
76438         * elf/tst-unique3lib.cc (gets): Likewise.
76439         * elf/tst-unique3lib2.cc (gets): Likewise.
76440         * elf/tst-unique4.cc (gets): Likewise.
76442 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76444         * include/stdio.h: Add C++ protection.  Add gets declarations and
76445         definitions.
76446         * debug/tst-chk1.c: Don't declare gets here.
76447         * stdio-common/tst-gets.c: Likewise.
76449 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76451         * posix/glob: Remove directory.
76453 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76455         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76457 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76459         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76460         of the non-standard EPFNOSUPPORT.
76462 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76464         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76465         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76466         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76468 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76470         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76472 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76474         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76475         transient errors.
76476         * nscd/grpcache.c (cache_addgr): Likewise.
76477         * nscd/hstcache.c (cache_addhst): Likewise.
76478         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76479         * nscd/pwdcache.c (cache_addpw): Likewise.
76480         * nscd/servicescache.c (cache_addserv): Likewise.
76482 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76484         * malloc/malloc.c: Various cleanups.
76485         * malloc/hooks.c: Likewise.
76487         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76488         * stdlib/bug-fmtmsg1.c: New file.
76490         * stdlib/fmtmsg.c (init): Add missing unlock.
76491         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76493 2012-01-12  Marek Polacek  <polacek@redhat.com>
76495         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76496         and _GNU_SOURCE.
76498 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76500         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76501         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76502         macro to ensure uniqueness of label name.
76503         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76504         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76506 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76508         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76510         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76511         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76512         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76513         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76515 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76517         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76519         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76520         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76521         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76523         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76525         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76526         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76527         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76530         * math/bits/math-finite.h: Add ldexp support.
76532 2012-01-10  Marek Polacek  <polacek@redhat.com>
76534         * locale/programs/localedef.h (show_archive_content): Add noreturn
76535         attribute.
76537 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76539         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76541 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76543         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76545         * io/Makefile (headers): Add bits/poll2.h.
76547 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76550         typo #include statement.
76552 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76554         * include/sys/cdefs.h: Define __attribute_alloc_size.
76555         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76556         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76557         * elf/pldd.c: Likewise.
76558         * iconv/iconv_charmap.c: Likewise.
76559         * iconv/iconvconfig.c: Likewise.
76560         * iconv/strtab.c: Likewise.
76561         * locale/programs/locale.c: Likewise.
76562         * locale/programs/localedef.h: Likewise.
76563         * locale/programs/simple-hash.c: Likewise.
76564         * nscd/nscd.h: Likewise.
76565         * nss/makedb.c: Likewise.
76566         * sysdeps/generic/ldconfig.h: Likewise.
76567         * locale/programs/localedef.c: Remove xmalloc prototype.
76568         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76570 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76572         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76573         appropriate.
76575 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76577         * math/Makefile (tests): Add tst-CMPLX.
76578         * math/tst-CMPLX.c: New file.
76580         * math/complex.h (CMPLXL): Fix typo.
76582         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76583         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76584         GLIBC_2.16.
76585         * debug/tst-chk1.c: Add poll and ppoll tests.
76586         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76587         * include/sys/poll.h: Add hidden proto for ppoll.
76588         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76589         * sysdeps/mach/hurd/ppoll.c: Likewise.
76590         * io/ppoll.c: Likewise.
76591         * debug/poll_chk.c: New file.
76592         * debug/ppoll_chk.c: New file.
76593         * include/bits/poll2.h: New file.
76594         * io/bits/poll2.h: New file.
76596         [BZ #1350]
76597         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76599         * configure.in: static is always set to yes.  Remove.
76600         * config.make.in: Don't set build-static.
76601         * Makeconfig: Remove use of build-static.
76602         * dlfcn/Makefile: Likewise.
76603         * elf/Makefile: Likewise.
76604         * math/Makefile: Likewise.
76605         * misc/Makefile: Likewise.
76606         * nptl/Makefile: Likewise.
76607         * sysdeps/mach/hurd/Makefile: Likewise.
76609         * configure.in: PWD_P is not used anymore.
76610         * config.make.in: Remove PWD_P entry.
76612         * configure.in: Remove last remnants of RANLIB.
76613         No need to check for signed size_t anymore.
76614         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76615         and IA-64.
76616         Remove __builtin_expect test because we require at least gcc 3.4.
76617         * aclocal.m4: Likewise.
76619         * wcsmbs/mbrtoc16.c: Implement using towc function.
76620         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76621         * wcsmbs/wcsmbsload.c: Likewise.
76622         * iconv/gconv_simple.c: Likewise.
76623         * iconv/gconv_int.h: Likewise.
76624         * iconv/gconv_builtin.h: Likewise.
76625         * iconv/iconv_prog.c: Remove CHAR16 handling.
76627         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76629         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76631         * configure.in: Remove --with-elf and --enable-bounded options.
76632         Dont set base_machine for ia64.  More non-ELF conditions removed.
76633         Remove testing and setting of leading underscore information.
76634         * config.make.in (build-bounded): Set to no.
76635         * config.h.in: Remove NO_UNDERSCORES entry.
76636         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76637         them.
76638         * csu/start.c: Remove !NO_UNDERSCORE code.
76639         * locale/localeinfo.h: Likewise.
76640         * sysdeps/generic/machine-gmon.h: Likewise.
76641         * sysdeps/generic/sysdep.h: Likewise.
76642         * sysdeps/i386/sysdep.h: Likewise.
76643         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76644         * sysdeps/mach/sysdep.h: Likewise.
76645         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76646         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76647         * sysdeps/sh/sysdep.h: Likewise.
76648         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76649         * sysdeps/unix/i386/sysdep.S: Likewise.
76650         * sysdeps/unix/sparc/start.c: Likewise.
76651         * sysdeps/unix/sparc/sysdep.S: Likewise.
76652         * sysdeps/unix/sparc/sysdep.h: Likewise.
76653         * sysdeps/unix/start.c: Likewise.
76654         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76655         * sysdeps/x86_64/sysdep.h: Likewise.
76657 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76659         [BZ #13553]
76660         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76661         for non-gcc.
76662         * argp/argp-fmtstream.h: Use const instead __const.
76663         * argp/argp.h: Likewise.
76664         * assert/assert.h: Likewise.
76665         * bits/fenv.h: Likewise.
76666         * bits/sched.h: Likewise.
76667         * bits/sigset.h: Likewise.
76668         * bits/sigthread.h: Likewise.
76669         * catgets/nl_types.h: Likewise.
76670         * conform/data/pthread.h-data: Likewise.
76671         * crypt/crypt-private.h: Likewise.
76672         * crypt/crypt.h: Likewise.
76673         * crypt/crypt_util.c: Likewise.
76674         * ctype/ctype.h: Likewise.
76675         * debug/execinfo.h: Likewise.
76676         * debug/mbsnrtowcs_chk.c: Likewise.
76677         * debug/mbsrtowcs_chk.c: Likewise.
76678         * debug/wcsnrtombs_chk.c: Likewise.
76679         * debug/wcsrtombs_chk.c: Likewise.
76680         * debug/wcstombs_chk.c: Likewise.
76681         * dirent/dirent.h: Likewise.
76682         * dlfcn/dlfcn.h: Likewise.
76683         * elf/neededtest4.c: Likewise.
76684         * grp/grp.h: Likewise.
76685         * gshadow/gshadow.h: Likewise.
76686         * iconv/gconv.h: Likewise.
76687         * iconv/gconv_int.h: Likewise.
76688         * iconv/gconv_simple.c: Likewise.
76689         * iconv/iconv.h: Likewise.
76690         * iconv/loop.c: Likewise.
76691         * iconv/skeleton.c: Likewise.
76692         * include/aio.h: Likewise.
76693         * include/aliases.h: Likewise.
76694         * include/argz.h: Likewise.
76695         * include/arpa/inet.h: Likewise.
76696         * include/assert.h: Likewise.
76697         * include/dirent.h: Likewise.
76698         * include/dlfcn.h: Likewise.
76699         * include/execinfo.h: Likewise.
76700         * include/fcntl.h: Likewise.
76701         * include/fenv.h: Likewise.
76702         * include/glob.h: Likewise.
76703         * include/grp.h: Likewise.
76704         * include/libintl.h: Likewise.
76705         * include/mntent.h: Likewise.
76706         * include/netdb.h: Likewise.
76707         * include/pwd.h: Likewise.
76708         * include/rpc/netdb.h: Likewise.
76709         * include/sched.h: Likewise.
76710         * include/search.h: Likewise.
76711         * include/shadow.h: Likewise.
76712         * include/signal.h: Likewise.
76713         * include/stdio.h: Likewise.
76714         * include/stdlib.h: Likewise.
76715         * include/string.h: Likewise.
76716         * include/sys/socket.h: Likewise.
76717         * include/sys/stat.h: Likewise.
76718         * include/sys/statfs.h: Likewise.
76719         * include/sys/statvfs.h: Likewise.
76720         * include/sys/syslog.h: Likewise.
76721         * include/sys/time.h: Likewise.
76722         * include/sys/uio.h: Likewise.
76723         * include/time.h: Likewise.
76724         * include/unistd.h: Likewise.
76725         * include/utmp.h: Likewise.
76726         * include/wchar.h: Likewise.
76727         * include/wctype.h: Likewise.
76728         * inet/aliases.h: Likewise.
76729         * inet/arpa/inet.h: Likewise.
76730         * inet/netinet/ether.h: Likewise.
76731         * inet/netinet/in.h: Likewise.
76732         * intl/libintl.h: Likewise.
76733         * io/bits/fcntl2.h: Likewise.
76734         * io/fcntl.h: Likewise.
76735         * io/ftw.h: Likewise.
76736         * io/sys/poll.h: Likewise.
76737         * io/sys/stat.h: Likewise.
76738         * io/sys/statfs.h: Likewise.
76739         * io/sys/statvfs.h: Likewise.
76740         * io/utime.h: Likewise.
76741         * libio/bits/stdio.h: Likewise.
76742         * libio/bits/stdio2.h: Likewise.
76743         * libio/libio.h: Likewise.
76744         * libio/libioP.h: Likewise.
76745         * libio/stdio.h: Likewise.
76746         * locale/lc-ctype.c: Likewise.
76747         * locale/locale.h: Likewise.
76748         * login/utmp.h: Likewise.
76749         * malloc/arena.c: Likewise.
76750         * malloc/malloc.c: Likewise.
76751         * malloc/malloc.h: Likewise.
76752         * malloc/mcheck.c: Likewise.
76753         * malloc/mtrace.c: Likewise.
76754         * math/bits/mathcalls.h: Likewise.
76755         * math/fenv.h: Likewise.
76756         * math/math_private.h: Likewise.
76757         * misc/bits/error.h: Likewise.
76758         * misc/bits/syslog.h: Likewise.
76759         * misc/err.h: Likewise.
76760         * misc/error.h: Likewise.
76761         * misc/fstab.h: Likewise.
76762         * misc/mntent.h: Likewise.
76763         * misc/regexp.h: Likewise.
76764         * misc/search.h: Likewise.
76765         * misc/sgtty.h: Likewise.
76766         * misc/sys/mman.h: Likewise.
76767         * misc/sys/syslog.h: Likewise.
76768         * misc/sys/uio.h: Likewise.
76769         * misc/sys/xattr.h: Likewise.
76770         * misc/ttyent.h: Likewise.
76771         * nis/rpcsvc/ypclnt.h: Likewise.
76772         * nss/nss.h: Likewise.
76773         * posix/bits/unistd.h: Likewise.
76774         * posix/fnmatch.h: Likewise.
76775         * posix/glob.h: Likewise.
76776         * posix/sched.h: Likewise.
76777         * posix/spawn.h: Likewise.
76778         * posix/sys/wait.h: Likewise.
76779         * posix/unistd.h: Likewise.
76780         * posix/wordexp.h: Likewise.
76781         * pwd/pwd.h: Likewise.
76782         * resolv/netdb.h: Likewise.
76783         * resource/sys/resource.h: Likewise.
76784         * rt/aio.h: Likewise.
76785         * rt/bits/mqueue2.h: Likewise.
76786         * rt/mqueue.h: Likewise.
76787         * shadow/shadow.h: Likewise.
76788         * signal/signal.h: Likewise.
76789         * socket/send.c: Likewise.
76790         * socket/sendto.c: Likewise.
76791         * socket/sys/socket.h: Likewise.
76792         * stdio-common/printf.h: Likewise.
76793         * stdlib/bits/stdlib.h: Likewise.
76794         * stdlib/fmtmsg.h: Likewise.
76795         * stdlib/monetary.h: Likewise.
76796         * stdlib/stdlib.h: Likewise.
76797         * stdlib/ucontext.h: Likewise.
76798         * streams/stropts.h: Likewise.
76799         * string/argz.h: Likewise.
76800         * string/bits/string2.h: Likewise.
76801         * string/string.h: Likewise.
76802         * string/strings.h: Likewise.
76803         * sunrpc/rpc/auth.h: Likewise.
76804         * sunrpc/rpc/auth_des.h: Likewise.
76805         * sunrpc/rpc/clnt.h: Likewise.
76806         * sunrpc/rpc/netdb.h: Likewise.
76807         * sunrpc/rpc/pmap_clnt.h: Likewise.
76808         * sunrpc/rpc/xdr.h: Likewise.
76809         * sysdeps/generic/inttypes.h: Likewise.
76810         * sysdeps/generic/net/if.h: Likewise.
76811         * sysdeps/generic/sys/swap.h: Likewise.
76812         * sysdeps/gnu/net/if.h: Likewise.
76813         * sysdeps/gnu/utmpx.h: Likewise.
76814         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76815         * sysdeps/i386/i486/bits/string.h: Likewise.
76816         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76817         * sysdeps/s390/bits/string.h: Likewise.
76818         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76819         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76820         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76821         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76822         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76823         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76824         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76825         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76826         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76827         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76828         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76829         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76830         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76831         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76832         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76833         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76834         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76835         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76836         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76837         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76838         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76839         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76840         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76841         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76842         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76843         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76844         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76845         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76846         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76847         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76848         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76849         * sysvipc/sys/ipc.h: Likewise.
76850         * sysvipc/sys/msg.h: Likewise.
76851         * sysvipc/sys/sem.h: Likewise.
76852         * sysvipc/sys/shm.h: Likewise.
76853         * termios/termios.h: Likewise.
76854         * time/sys/time.h: Likewise.
76855         * time/time.h: Likewise.
76856         * wcsmbs/bits/wchar2.h: Likewise.
76857         * wcsmbs/uchar.h: Likewise.
76858         * wcsmbs/wchar.h: Likewise.
76859         * wctype/wctype.h: Likewise.
76861         [BZ #13551]
76862         * Makeconfig: Remove all but ELF support including AIX support.
76863         * Makerules: Likewise.
76864         * config.h.in: Likewise.
76865         * config.make.in: Likewise.
76866         * configure: Likewise.
76867         * configure.in: Likewise.
76868         * csu/Makefile: Likewise.
76869         * csu/version.c: Likewise.
76870         * debug/Makefile: Likewise.
76871         * dlfcn/Makefile: Likewise.
76872         * elf/Makefile: Likewise.
76873         * extra-lib.mk: Likewise.
76874         * iconv/Makefile: Likewise.
76875         * include/libc-symbols.h: Likewise.
76876         * include/shlib-compat.h: Likewise.
76877         * resolv/Makefile: Likewise.
76878         * resolv/res_libc.c: Likewise.
76879         * rt/Makefile: Likewise.
76880         * sysdeps/i386/asm-syntax.h: Likewise.
76881         * sysdeps/i386/sysdep.h: Likewise.
76882         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76883         * sysdeps/mach/sysdep.h: Likewise.
76884         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76885         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76886         * sysdeps/s390/asm-syntax.h: Likewise.
76887         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76888         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76889         * sysdeps/sh/sysdep.h: Likewise.
76890         * sysdeps/unix/sparc/sysdep.h: Likewise.
76891         * sysdeps/wordsize-32/divdi3.c: Likewise.
76892         * sysdeps/x86_64/sysdep.h: Likewise.
76894         * argp/Versions: Remove _argp_unlock_xxx.
76896         [BZ #13559]
76897         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76898         * abilist/libBrokenLocale.abilist: Likewise.
76899         * abilist/libanl.abilist: Likewise.
76900         * abilist/libc.abilist: Likewise.
76901         * abilist/libcrypt.abilist: Likewise.
76902         * abilist/libdl.abilist: Likewise.
76903         * abilist/libm.abilist: Likewise.
76904         * abilist/libnsl.abilist: Likewise.
76905         * abilist/libpthread.abilist: Likewise.
76906         * abilist/libresolv.abilist: Likewise.
76907         * abilist/librt.abilist: Likewise.
76908         * abilist/libthread_db.abilist: Likewise.
76909         * abilist/libutil.abilist: Likewise.
76910         * abilist/libnss_db.abilist: New file.
76912         * scripts/abilist.awk: Add support for indirect functions.
76914         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76916         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76918         * shlib-versions: Remove entries for ports architectures.
76920         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76921         files in ports.
76922         * elf/stackguard-macros.h: Remove support for IA-64.
76923         * elf/tst-auditmod1.c: Likewise.
76924         * sysdeps/generic/ldsodefs.h: Likewise.
76926         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76927         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76928         configure files.
76930         [BZ #13552]
76931         * configure.in: Remove --enable-omitfp support.
76932         * FAQ.in: Adjust.
76933         * config.make.in: Likewise.
76934         * Makeconfig: Likewise.
76935         * manual/install.texi: Likewise.
76937         In case anyone cares, the IA-64 architecture could move to ports.
76938         * sysdeps/ia64/*: Removed.
76939         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76940         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76942         [BZ #13555]
76943         * configure.in: Remove entries for unsupported architectures.
76945         [BZ #13533]
76946         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76947         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76948         routines.
76949         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76950         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76951         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76952         fall back to using wcrtomb.
76953         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76954         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76955         renaming.
76956         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76957         * wcsmbs/tst-c16c32-1.c: New file.
76959         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76960         local variable.
76962         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76964         * elf/tst-unique3.cc: Add explicit declaration of gets.
76965         * elf/tst-unique3lib.cc: Likewise.
76966         * elf/tst-unique3lib2.cc: Likewise.
76967         * elf/tst-unique4.cc: Likewise.
76969         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76971 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76973         [BZ #13566]
76974         * assert/assert.h (static_assert): Don't define for C++.
76975         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76976         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76978 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76980         * iconv/loop.c (single loop): Fix assertion in storing of
76981         remaining bytes.
76983         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76985 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76987         * posix/getconf.c: Update copyright year.
76988         * nss/getent.c: Likewise.
76989         * nss/makedb.c: Likewise.
76990         * iconv/iconvconfig.c: Likewise.
76991         * iconv/iconv_prog.c: Likewise.
76992         * elf/ldconfig.c: Likewise.
76993         * elf/pldd.c: Likewise.
76994         * elf/sotruss.ksh: Likewise.
76995         * catgets/gencat.c: Likewise.
76996         * csu/version.c: Likewise.
76997         * elf/ldd.bash.in: Likewise.
76998         * elf/sprof.c (print_version): Likewise.
76999         * locale/programs/locale.c: Likewise.
77000         * locale/programs/localedef.c: Likewise.
77001         * login/programs/pt_chown.c: Likewise.
77002         * nscd/nscd.c (print_version): Likewise.
77003         * debug/xtrace.sh: Likewise.
77004         * malloc/memusage.sh: Likewise.
77005         * malloc/mtrace.pl: Likewise.
77006         * debug/catchsegv.sh: Likewise.
77008 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
77010         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
77011         pure attribute.
77013 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
77015         [BZ #13533]
77016         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
77017         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
77018         transformations.
77019         * iconv/gconv_int.h: Likewise.
77020         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
77021         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
77022         from libc for GLIBC_2.16.
77023         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
77024         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
77025         * wcsmbs/uchar.h: Really define mbstate_t.
77026         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
77027         * wcsmbs/c16rtomb.c: New file.
77028         * wcsmbs/mbrtoc16.c: New file.
77029         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
77030         for C/POSIX locale.
77031         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
77032         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
77034         * wcsmbs/wchar.h: Add missing __restrict.
77036 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
77038         [BZ #13532]
77039         * time/Makefile (routines): Add timespec_get.
77040         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
77041         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
77042         timespec for ISO C11.
77043         * time/timespec_get.c: New file.
77044         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
77045         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
77047         [BZ #13531]
77048         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
77049         * stdlib/stdlib.h: Declare aligned_alloc.
77050         * Versions.def: Add GLIBC_2.16 for libc.
77051         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
77053         [BZ 13527]
77054         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
77055         ISO C11.
77057         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
77058         code.
77060         [BZ #13528]
77061         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
77063         [BZ #13529]
77064         * assert/assert.h (static_assert): Define.
77066         * version.h: Update for 2.16 development version.
77068         [BZ #13526]
77069         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
77070         _ISOC11_SOURCE.
77072         * version.h (RELEASE): Bump for 2.15 release.
77073         * include/features.h (__GLIBC_MINOR__): Bump to 15.
77075         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
77076         Patch by Marek Polacek <mpolacek@redhat.com>.
77078         * bits/byteswap.h: Protect long long constants with __extension__.
77079         * sysdeps/i386/bits/byteswap.h: Likewise.
77080         * sysdeps/ia64/bits/byteswap.h: Likewise.
77081         * sysdeps/s390/bits/byteswap.h: Likewise.
77082         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77084 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77086         [BZ #13540]
77087         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
77088         destination buffer.
77089         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
77091 2011-12-23  Marek Polacek  <polacek@redhat.com>
77093         * elf/dl-addr.c (determine_info): Add inline keyword.
77094         * elf/tst-auditmod4b.c (check_avx): Likewise.
77095         * elf/tst-auditmod6b.c (check_avx): Likewise.
77096         * elf/tst-auditmod6c.c (check_avx): Likewise.
77097         * elf/tst-auditmod7b.c (check_avx): Likewise.
77099 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
77101         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
77102         !__SSE_MATH__.
77104 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77106         [BZ #13540]
77107         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
77108         processing for last bytes.
77110 2011-08-06  Bruno Haible  <bruno@clisp.org>
77112         [BZ #13061]
77113         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
77114         U+0385, not to U+1FEE.
77116         [BZ #13062]
77117         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
77118         entry for U+00A5 U+0301.
77120 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
77122         [BZ #13166]
77123         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
77124         buffer for the output is too small.
77126         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
77127         optimization.
77129         [BZ #13185]
77130         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
77131         SSE flags if possible.
77133 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77135         [BZ #13540]
77136         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
77137         processing for last bytes.
77139 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
77141         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
77142         (syscall-list-default-options, syscall-list-default-condition)
77143         (syscall-list-includes): Define.
77144         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
77145         list of ABIs and options and #if conditions for each ABI.  Do not
77146         handle common syscalls between ABIs specially.
77147         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
77148         Remove.
77149         (syscall-list-variants, syscall-list-32bit-options)
77150         (syscall-list-32bit-condition, syscall-list-64bit-options)
77151         (syscall-list-64bit-condition): Define.
77152         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
77153         (syscall-list-variants, syscall-list-32bit-options)
77154         (syscall-list-32bit-condition, syscall-list-64bit-options)
77155         (syscall-list-64bit-condition): Define.
77156         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
77157         Remove.
77158         (syscall-list-variants, syscall-list-32bit-options)
77159         (syscall-list-32bit-condition, syscall-list-64bit-options)
77160         (syscall-list-64bit-condition): Define.
77161         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
77162         Remove.
77163         (syscall-list-variants, syscall-list-32bit-options)
77164         (syscall-list-32bit-condition, syscall-list-64bit-options)
77165         (syscall-list-64bit-condition): Define.
77167 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
77169         * locale/iso-639.def: Add brx entry.
77171         [BZ #13328]
77172         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
77173         Proposed by Mariusz_Cukr <marcukr@op.pl>.
77175         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
77176         __feraiseexcept_renamed.
77178 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
77180         [BZ #13538]
77181         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
77182         EPOLLET with unsigned values.
77183         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77184         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77186         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
77187         to large cancellation.
77188         * math/s_cacoshf.c: Likewise.
77189         * math/s_cacoshl.c: Likewise.
77191 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
77193         [BZ #13305]
77194         [BZ #12786]
77195         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
77196         * math/s_cacoshf.c: Likewise.
77197         * math/s_cacoshl.c: Likewise.
77199 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
77201         [BZ #13439]
77202         * iconv/gconv.h: Define __GCONV_SWAP.
77203         * iconvdata/unicode.c: The swap bit must be stored in __flags.
77204         * iconvdata/utf-16.c: Likewise.
77205         * iconvdata/utf-32.c: Likewise.
77207 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
77209         [BZ #13524]
77210         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
77211         numerator after shifting it by one limb.
77213 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
77215         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
77216         under [__USE_EXTERN_INLINES].
77218 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77220         [BZ #13446]
77221         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
77223 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77225         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
77226         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
77227         optimized code.
77228         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
77229         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
77230         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
77231         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
77232         for strncasecmp/strncasecmp_l compilation.
77233         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
77234         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
77236 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
77238         [BZ #13484]
77239         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
77240         of __asm__.
77242 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77244         [BZ #13506]
77245         * time/tzfile.c (__tzfile_read): Check values from file header.
77247 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77249         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
77250         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
77251         * powerpc/powerpc32/dl-start.S: Likewise.
77252         * powerpc/powerpc32/elf/start.S: Likewise.
77253         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
77254         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
77255         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
77256         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
77257         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
77258         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
77259         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
77260         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
77261         * powerpc/powerpc32/fpu/s_round.S: Likewise.
77262         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
77263         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
77264         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
77265         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
77266         * powerpc/powerpc32/memset.S: Likewise.
77267         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
77268         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
77269         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
77270         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
77271         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
77272         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
77273         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
77274         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
77275         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
77276         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
77277         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
77278         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77279         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77281 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77283         * math/libm-test.inc: Added more nearbyint tests.
77284         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
77285         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
77286         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
77287         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
77289 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
77291         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77292         FD_CLOEXEC.
77294 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77296         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77297         Add wcscpy-ssse3 wcscpy-c.
77298         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77299         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77300         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77301         * sysdeps/x86_64/wcschr.S: New file.
77302         * sysdeps/x86_64/wcsrchr.S: New file.
77303         * string/test-strcmp.c: Remove checking of wcscmp function for
77304         wrong alignments.
77305         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77306         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77307         wcsrchr-sse2 wcsrchr-c.
77308         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77309         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77310         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77311         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77312         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77313         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77314         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77315         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77316         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77317         * wcsmbc/wcschr.c (WCSCHR): New macro.
77319 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77321         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77322         * wcsmbs/test-wcsrchr.c: New file.
77323         * string/test-strrchr.c: Add wcsrchr support.
77324         (WIDE): New macro.
77325         * wcsmbs/test-wcscpy.c: New file.
77326         * string/test-strcpy.c: Add wcscpy support.
77327         (WIDE): New macro.
77329 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77331         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77332         the inner loop.
77334 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77336         [BZ #13472]
77337         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77339 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77341         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77342         Minor optimizations.
77344         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77345         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77346         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77348 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
77350         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77351         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77352         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77353         for gcc to avoid warnings.
77354         * inet/Makefile (tests): Add tst-checks.
77355         * inet/tst-checks.c: New file.
77357         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77358         warning.
77360         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77361         __wmemcmp_sse2.
77363         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77364         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77366         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77368 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77370         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77371         problem.
77373         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77375 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77377         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77378         conditional on GCC version.
77379         (__arch_compare_and_exchange_val_8_acq)
77380         (__arch_compare_and_exchange_val_16_acq)
77381         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77382         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77383         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77385 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77387         * sysdeps/sh/backtrace.c: New file.
77389 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77391         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77392         parenthesis.
77394 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77396         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77397         falling back to utime.
77399 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77401         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77402         expectations for float.
77404 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77406         * locale/weight.h (findidx): Add parameter len.
77407         * locale/weightwc.h (findidx): Likewise.
77408         * posix/fnmatch_loop.c (FCT): Adjust caller.
77409         * posix/regcomp.c (build_equiv_class): Likewise.
77410         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77411         * posix/regexec.c (check_node_accept_bytes): Likewise.
77412         * string/strcoll_l.c (STRCOLL): Likewise.
77413         * string/strxfrm_l.c (STRXFRM): Likewise.
77415 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77417         * Makefile.in: Remove CVSOPT handling.
77418         * configure.in: Remove use of AC_REVISION.
77419         * iconvdata/Makefile (distribute): No need to filter out CVS.
77420         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77421         handling.
77423 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77425         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77426         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77427         [USE_AS_STRNCASECMP_L]: Likewise.
77428         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77429         NO_TLS_DIRECT_SEG_REFS.
77430         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77431         Fix argument offsets for non-PIC.
77432         [USE_AS_STRNCASECMP_L]: Likewise.
77433         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77434         NO_TLS_DIRECT_SEG_REFS.
77436 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77438         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77439         O_CLOEXEC.
77440         * locale/loadlocale.c (_nl_load_locale): Likewise.
77442 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77444         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77445         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77446         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77447         (SYSCALL_GETTIME): Set errno on error.
77449         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77450         count references to noai6ai_cached.
77452 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77454         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77456         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77457         FD_CLOEXEC for /proc/self/maps.
77459         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77460         FD_CLOEXEC for /proc/meminfo.
77462         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77463         gai.conf.
77465         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77466         FD_CLOEXEC for given file.
77468         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77470         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77471         FD_CLOEXEC for /etc/hosts.
77472         (_gethtent): Likewise.
77474         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77476         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77477         cancellation and set FD_CLOEXEC for /etc/netgroup.
77479         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77480         reading /etc/publickey.
77482         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77483         allow cancellation when reading /etc/group.
77485         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77486         cancellation.
77487         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77489         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77490         when using data file.
77492         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77494         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77495         (write_nis_obj): Use "c" and "e" in fopen.
77497         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77499         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77501         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77503         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77505         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77506         locale.alias.
77508         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77510         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77512         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77514         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77515         file parsing and set FD_CLOEXEC.
77517 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77519         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77521 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77523         * malloc/arena.c (arena_get2): Don't call reused_arena when
77524         _int_new_arena failed.
77526 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77528         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77529         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77530         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77531         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77532         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77533         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77534         to compile strcasecmp and strncasecmp.
77535         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77536         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77538         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77540 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77542         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77543         locale-defines.sym to gen-as-const-headers.
77544         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77545         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77546         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77547         to compile strcasecmp and strncasecmp.
77548         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77549         strcasecmp_l and strncasecmp_l.
77550         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77551         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77552         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77553         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77554         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77555         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77556         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77557         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77558         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77559         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77560         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77562 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77564         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77565         result of SYSDEP_GETTIME_CPU to retval.
77566         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77567         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77569         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77570         variable.
77572         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77573         mantissa words.
77574         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77576         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77577         from unused variable.
77579         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77580         DWARF definitions.
77581         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77582         for assembling.
77584         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77585         over namespaces.
77587         * sunrpc/rpc_prot.c (rejected): Fix case value.
77589         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77590         unsigned long long int to avoid warnings in shift.
77592         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77593         of use of trans.
77594         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77595         variable tmp.
77597         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77598         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77599         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77601         * nis/nis_table.c (nis_list): Use variable of correct type for
77602         result of __follow_path call.
77604 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77606         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77607         of math functions ceil, trunc, floor, round, and sqrt, when
77608         avaliable on the platform.
77609         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77610         name clash.
77611         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77612         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77613         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77615 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77617         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77618         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77620 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77622         * include/unistd.h: Fix __readlink return type.
77623         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77625 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77627         * stdlib/ucontext.h: Undo last change for makecontext.
77629 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77631         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77633         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77634         * setjmp/setjmp.h: Mark functions as non-leaf.
77635         * setjmp/bits/setjmp2.h: Likewise.
77636         * stdlib/ucontext.h: Likewise.
77638 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77640         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77641         (reused_arena): Don't check arena limit.
77642         (arena_get2): Atomically check arena limit.
77644 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77646         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77647         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77649         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77650         instructions.
77652 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77654         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77655         handler when locking.
77657         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77658         Fix size of allocated buffer.
77660 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77662         [BZ #10103]
77663         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77664         declarations for long double functions.
77665         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77667         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77669 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77671         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77672         installed.
77674         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77675         is disabled.
77677 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77679         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77681 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77683         * include/alloca.h (stackinfo_alloca_round): Define.
77684         (extend_alloca): Use it.
77685         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77686         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77687         here.
77689         * scripts/check-local-headers.sh: Ignore libaudit.h.
77691         * nscd/Makefile (extra-objs): Make recursively expanded.
77693 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77695         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77696         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77698         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77699         * posix/tst-rfc3484-2.c: Likewise.
77700         * posix/tst-rfc3484-3.c: Likewise.
77702         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77703         process_vm_writev.
77704         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77705         process_vm_writev.
77706         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77707         process_vm_writev from libc using GLIBC_2.15 version.
77709         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77711 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77713         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77714         stack usage.
77716 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77718         [BZ #13367]
77719         * nss/getent.c (initgroups_keys): Show error message in case no group
77720         names are given.
77722         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77723         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77724         __bump_nl_timestamp.
77725         * nscd/connections (nscd_init): When host database is served open
77726         netlink socket and request notification about configuration changes.
77727         (main_loop_poll): Track netlink file descriptor and bump timestamp
77728         in case data becomes available.
77729         (main_loop_epoll): Likewise.
77730         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77731         (database_pers_head): Add extra_data fileds.
77732         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77733         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77734         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77735         Adjust caller.
77736         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77737         in6ai data, call __free_in6ai.
77738         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77739         Add -DHAVE_NETLINK.
77740         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77741         interface information.  Reuse previous data if netlink timestamp
77742         is not changed.
77743         (__bump_nl_timestamp): New function.
77744         (__free_in6ai): New function.
77746 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77748         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77749         close_not_cancel_no_status here.
77750         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77752 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77754         [BZ #13276]
77755         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77756         return value.
77758         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77759         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77760         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77762 2011-07-03  Andreas Jaeger  <aj@suse.de>
77764         [BZ #10709]
77765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77766         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77767         * math/libm-test.inc (sin_test): Add test case.
77769 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77771         [BZ #13337]
77772         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77773         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77775         * elf/chroot_canon.c (chroot_canon): Cleanups.
77777         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77779         [BZ #13335]
77780         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77781         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77783         * string/test-strchr.c: Make usable for strchrnul testing.
77784         * string/test-strchrnul.c: New file.
77785         * string/Makefile (strop-tests): Add strchrnul.
77787         * po/it.po: Update from translation team.
77788         * po/es.po: Likewise.
77790 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77792         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77793         the three constants needed as parameters.  Drop the others.
77794         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77795         __m128i_strloadu_tolower.
77796         Create and initialize variable zero and use it in all the places
77797         where _mm_setzero_si128 was used.
77799         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77800         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77801         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77802         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77803         anymore.
77804         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77805         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77806         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77807         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77808         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77809         __mpranred, __mptan.
77810         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77811         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77812         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77813         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77814         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77815         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77816         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77817         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77818         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77820 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77822         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77823         redefine if SHARED.
77824         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77827         wide char related routines to wcsmbs subdir.
77829 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77831         [BZ #13344]
77832         * misc/sys/cdefs.h (__THROWNL): Define.
77833         * posix/unistd.h: Use __THREADNL instead of __THREAD
77834         for memory synchronization functions.
77836 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77838         [BZ #13349]
77839         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77840         doesn't exist.
77841         * manual/stdio.texi (Obstack Streams): Node removed.
77843 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77845         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77846         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77847         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77849         * math/math_private.h (math_force_eval): Allow non-addressable
77850         arguments.
77851         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77853 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77855         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77856         file is not needed.
77858         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77859         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77860         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77861         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77862         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77863         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77864         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77865         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77866         Add AVX variants.
77867         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77868         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77869         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77870         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77871         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77872         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77873         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77874         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77875         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77876         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77877         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77878         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77879         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77880         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77881         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77882         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77883         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77884         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77885         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77887         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77888         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77891         place.  Use VEX encoding when compiling for AVX.
77893 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77895         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77896         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77898         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77900 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77902         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77903         useless if() expression.
77904         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77905         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77906         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77907         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77908         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77909         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77910         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77911         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77912         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77913         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77914         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77915         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77916         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77917         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77918         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77919         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77920         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77921         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77922         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77924         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77926 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77928         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77929         condition.
77930         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77932 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77934         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77935         .text section.  Avoid duplicate constants.
77936         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77937         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77938         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77939         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77940         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77941         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77942         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77943         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77944         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77945         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77946         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77947         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77948         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77949         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77950         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77951         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77952         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77953         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77954         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77955         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77956         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77957         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77958         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77959         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77960         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77961         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77962         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77963         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77964         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77965         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77966         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77967         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77968         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77969         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77970         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77971         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77972         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77973         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77974         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77975         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77976         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77977         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77978         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77979         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77980         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77982 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77984         * sysdeps/x86_64/dla.h: Move to ...
77985         * sysdeps/x86_64/fpu/dla.h: ...here.
77986         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77987         situations.  Use __builtin_fma only for gcc 4.6 and up.
77989         * config.make.in: Add have-mfma4 entry.
77990         * configure.in: Substitute libc_cv_cc_fma4.
77991         * math/Makefile (dbl-only-routines): Add sincostab.
77992         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77993         Use __sincostab not sincos.
77994         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77995         name is a macro.
77996         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77997         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77998         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
78000         using __copysign.
78001         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
78002         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
78003         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
78004         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
78005         and __inv.
78006         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
78007         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
78008         __copysign.
78009         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
78010         define aliases when function name is a macro.
78011         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
78012         sysdeps/ieee754/dbl-64/sincos.tbl.
78013         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
78014         fma4-enabled routines.
78015         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
78016         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
78017         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
78018         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
78019         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
78020         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
78021         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
78022         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
78023         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
78024         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
78025         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
78026         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
78027         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
78028         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
78029         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
78030         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
78031         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
78032         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
78033         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
78034         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
78035         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
78036         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
78037         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
78038         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
78039         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
78040         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
78041         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
78042         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
78043         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
78044         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
78046         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
78047         rename.
78048         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78049         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78050         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78052         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78053         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78054         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78055         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78057 2011-10-24  Andreas Schwab  <schwab@redhat.com>
78059         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
78061 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78063         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
78065         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
78066         prediction.
78067         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
78069         * string/strnlen.c: Don't define STRNLEN, reverse logic.
78070         Remove unused variable magic_bits.
78071         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
78073         * string/strnlen.c: Define and use STRNLEN macro.
78074         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
78075         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
78076         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
78077         * wcsmbs/wcslen.c: Define and use WCSLEN.
78078         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
78079         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
78080         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
78081         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
78082         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
78083         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
78084         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78086 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78089         strnlen-sse2-no-bsf.
78090         Rename strlen-no-bsf to strlen-sse2-no-bsf.
78091         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
78092         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
78093         Add strnlen support.
78094         (USE_AS_STRNLEN): New macro.
78095         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
78096         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
78097         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
78098         * sysdeps/x86_64/wcslen.S: New file.
78100 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
78102         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78103         XMM-moves are used for copying on small sizes.
78105 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78107         * wcsmbs/Makefile (strop-tests): Add wcschr.
78108         * wcsmbs/test-wcschr.c: New file.
78109         * string/test-strchr.c: Update.
78110         Add wcschr support.
78111         (WIDE): New macro.
78113 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78115         * wcsmbs/Makefile (strop-tests): Add wcslen.
78116         * wcsmbs/test-wcslen.c: New file.
78117         * string/test-strlen.c: Update.
78118         Add wcslen support.
78119         (WIDE): New macro.
78121 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78123         * po/it.po: Update from translation team.
78125 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78127         * sysdeps/x86_64/wcscmp.S: Update.
78128         Fix wrong comparison semantics.
78129         wcscmp shall use signed comparison not unsigned.
78130         Don't use substraction to avoid overflow bug.
78131         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
78132         * wcsmbc/wcscmp.c: Likewise.
78133         * string/test-strcmp.c: Likewise.
78134         Add new tests to check cases with negative values.
78136 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78138         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
78139         * sysdeps/x86_64/dla.h: ...here.  New file.
78140         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
78141         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78142         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78144         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78145         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78147         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78148         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78150 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
78152         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
78153         __ynl_finite aliases.
78155 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
78157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78159         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
78160         define DLA_FMA.
78161         [DLA_FMA] (EMULV): Use DLA_FMA.
78162         [DLA_FMA] (MUL12): Use EMULV.
78163         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
78164         that are not needed.
78165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78169         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78170         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78171         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78173 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
78175         * math/s_nan.c: Undef __nan.
78176         * math/s_nanf.c: Undef __nanf.
78177         * math/s_nanl.c: Undef __nanl.
78178         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
78179         "math_private.h".
78181 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
78183         * math/s_catan.c: Add branch predictions.
78184         * math/s_catanf.c: Likewise.
78185         * math/s_catanh.c: Likewise.
78186         * math/s_catanhf.c: Likewise.
78187         * math/s_catanhl.c: Likewise.
78188         * math/s_catanl.c: Likewise.
78189         * math/s_cexp.c: Likewise.
78190         * math/s_cexpf.c: Likewise.
78191         * math/s_cexpl.c: Likewise.
78192         * math/s_clog.c: Likewise.
78193         * math/s_clog10.c: Likewise.
78194         * math/s_clog10f.c: Likewise.
78195         * math/s_clog10l.c: Likewise.
78196         * math/s_clogf.c: Likewise.
78197         * math/s_clogl.c: Likewise.
78198         * math/s_csqrt.c: Likewise.
78199         * math/s_csqrtf.c: Likewise.
78200         * math/s_csqrtl.c: Likewise.
78201         * math/s_ctanf.c: Likewise.
78202         * math/s_ctanh.c: Likewise.
78203         * math/s_ctanhf.c: Likewise.
78204         * math/s_ctanhl.c: Likewise.
78205         * math/s_ctanl.c: Likewise.
78207         * math/math_private.h: Define __nan, __nanf, __nanl.
78208         * math/s_cacosh.c: Include <math_private.h>.
78209         * math/s_cacoshl.c: Likewise.
78210         * math/s_casinh.c: Likewise.
78211         * math/s_casinhf.c: Likewise.
78212         * math/s_casinhl.c: Likewise.
78213         * math/s_ccos.c: Rely entire on ccosh.
78214         * math/s_ccosf.c: Rely entire on ccoshf.
78215         * math/s_ccosl.c: Rely entirely on ccoshl.
78216         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
78217         Remove tests for FE_INVALID.
78218         * math/s_ccoshf.c: Likewise.
78219         * math/s_ccoshl.c: Likewise.
78220         * math/s_csin.c: Likewise.
78221         * math/s_csinf.c: Likewise.
78222         * math/s_csinh.c Likewise.
78223         * math/s_csinhf.c: Likewise.
78224         * math/s_csinhl.c: Likewise.
78225         * math/s_csinl.c: Likewise.
78226         * math/s_ctan.c: Likewise.
78227         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
78228         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
78229         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
78231 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
78233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
78234         compilation problems.
78236         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
78237         __builtin_expect.
78239 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
78241         * sysdeps/i386/configure.in: Test for -mfma4 option.
78242         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
78243         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
78244         COMMON_CPUID_INDEX_80000001.
78245         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
78246         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
78247         use it if FMA3 is not supported.
78248         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
78250         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
78251         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78253 2011-10-20  Andreas Schwab  <schwab@redhat.com>
78255         [BZ #12892]
78256         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
78257         it would create a cycle with a link time dependency.
78259 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
78261         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
78262         instruction.
78263         * string/Makefile (strop-tests): Add rawmemchr.
78264         * string/test-rawmemchr.c: New file.
78266         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
78267         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
78268         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
78269         when compiling str{,n}casecmp and when AVX is available.  Hook up
78270         new optimized code in initializers.
78272 2011-10-19  Andreas Schwab  <schwab@redhat.com>
78274         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
78275         __feraiseexcept instead of feraiseexcept.
78277 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
78279         * math/math_private.h: Define defaults for libc_fetestexcept and
78280         libc_feupdateenv.
78281         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
78282         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
78283         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78284         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78285         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78286         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78287         libc_fetestexcept and libc_feupdateenv.
78289         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
78290         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78291         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78292         * sysdeps/x86_64/fpu/math_private.h: Define special version of
78293         libc_feholdexcept_setround.
78295         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78296         Add s_nearbyint-c and s_nearbyintf-c.
78297         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78298         nearbyintf inlines.
78299         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78300         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78301         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78302         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78304         * math/math_private.h: Define defaults for libc_fegetround,
78305         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78306         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78307         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78308         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78309         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78310         standard functions.
78311         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78312         Remove comments and hacks for old compiler versions.
78313         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78314         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78315         libc_feholdexceptl.
78317 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78319         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78320         (__feraiseexcept_renamed): Add __NTH.
78321         (feraiseexcept): Add __NTH.  Rename local variables to fix
78322         namespace violations.
78324 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78326         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78328         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78330         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78331         recently added interfaces.
78332         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78334         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78335         about macro parameter expansion.
78337         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78338         __NO_MATH_INLINES is defined.  Cleanups.
78340         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78341         and __floorf is target has SSE4.1.
78342         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78343         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78344         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78345         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78347         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78348         name.
78349         (floorf): Likewise.
78351         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78353 2011-10-17  Andreas Schwab  <schwab@redhat.com>
78355         * misc/sys/cdefs.h: Fix last change.
78357         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78358         database lookup.
78360 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
78362         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78364         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78365         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78366         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78367         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78368         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78369         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78370         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78371         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78372         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78373         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78374         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78375         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78376         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78377         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78378         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78379         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78380         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78381         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78382         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78383         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78384         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78385         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78387         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78388         ceil, ceilf, floor, floorf.
78390         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78391         Perform IRELATIVE relocations last.
78393         * elf/do-rel.h: Add another parameter nrelative, replacing the
78394         local variable with the same name.  Change name of the function
78395         to end in Rel or Rela (uppercase).
78396         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78397         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78398         elf_dynamic_do_##reloc function.
78400 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78402         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78403         is sufficient, at least on modern CPUs.
78405         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78407         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78408         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78410         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78411         __expl_finite.
78412         * math/bits/math-finite.h: Add entries for exp.
78413         * math/e_expl.c: Add __*_finite alias.
78414         * sysdeps/i386/fpu/e_exp.S: Likewise.
78415         * sysdeps/i386/fpu/e_expf.S: Likewise.
78416         * sysdeps/i386/fpu/e_expl.c: Likewise.
78417         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78418         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78419         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78420         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78421         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78422         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78423         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78425         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78426         is sufficient, at least on modern CPUs.
78428         * ctype/ctype-info.c (__ctype_init): Define.
78429         * include/ctype.h (__ctype_init): Declare.
78430         (__ctype_b_loc): The variable is always initialized.
78431         (__ctype_toupper_loc): Likewise.
78432         (__ctype_tolower_loc): Likewise.
78433         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78434         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78436 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78438         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78440         * configure.in: Also look in $cxxmachine/include for C++ system
78441         headers.
78443 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78445         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78446         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78447         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78448         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78449         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78450         (USE_AS_WMEMCMP): New macro.
78451         Fixing indents.
78452         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78453         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78454         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78455         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78456         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78457         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78458         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78459         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78460         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78461         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78462         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78463         (USE_AS_WMEMCMP): New macro.
78464         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78465         * sysdeps/string/test-memcmp.c: Update.
78466         Fix simple_wmemcmp.
78467         Add new tests.
78468         * wcsmbs/wmemcmp.c: Update.
78469         (WMEMCMP): New macro.
78470         Fix overflow bug.
78472 2011-10-12  Andreas Jaeger  <aj@suse.de>
78474         [BZ #13268]
78475         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78477 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78479         * libio/iofwide.c (do_length): Avoid warning.
78481         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78483 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78485         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78487         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78488         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78489         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78490         * sysdeps/i386/i686/fpu/e_log.S: New file.
78491         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78492         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78494         * ctype/ctype.h: Add support for inlined isXXX functions when
78495         compiling C++ code.
78497 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78499         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78501         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78503 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78505         [BZ #13291]
78506         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78508 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78510         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78511         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78512         feraiseexcept.
78514         * sysdeps/x86_64/memrchr.S: Check for zero size.
78516         * string/stratcliff.c: Add memrchr tests.
78518 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78520         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78521         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78522         rawmemchr-sse2 rawmemchr-sse2-bsf.
78523         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78524         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78525         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78526         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78527         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78528         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78529         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78530         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78531         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78532         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78533         * string/memrchr.c (MEMRCHR): New macro.
78535 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78537         Add integration with gcc's -ffinite-math-only and optimize wrapper
78538         functions in libm.
78539         * Versions.def: Define GLIBC_2.15 version for libm.
78540         * math/Makefile (headers): Add bits/math-finite.h.
78541         * math/bits/math-finite.h: New file.
78542         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78543         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78544         * math/e_acoshl.c: Add __*_finite alias.
78545         * math/e_acosl.c: Likewise.
78546         * math/e_asinl.c: Likewise.
78547         * math/e_atan2l.c: Likewise.
78548         * math/e_atanhl.c: Likewise.
78549         * math/e_coshl.c: Likewise.
78550         * math/e_exp10.c: Likewise.
78551         * math/e_exp10f.c: Likewise.
78552         * math/e_exp10l.c: Likewise.
78553         * math/e_exp2l.c: Likewise.
78554         * math/e_fmodl.c: Likewise.
78555         * math/e_gammal_r.c: Likewise.
78556         * math/e_hypotl.c: Likewise.
78557         * math/e_j0l.c: Likewise.
78558         * math/e_j1l.c: Likewise.
78559         * math/e_jnl.c: Likewise.
78560         * math/e_lgammal_r.c: Likewise.
78561         * math/e_log10l.c: Likewise.
78562         * math/e_log2l.c: Likewise.
78563         * math/e_logl.c: Likewise.
78564         * math/e_powl.c: Likewise.
78565         * math/e_sinhl.c: Likewise.
78566         * math/e_sqrtl.c: Likewise.
78567         * math/e_scalb.c: Completely rewritten and optimized.
78568         * math/e_scalbf.c: Likewise.
78569         * math/e_scalbl.c: Likewise.
78570         * math/w_acos.c: Likewise.
78571         * math/w_acosf.c: Likewise.
78572         * math/w_acosl.c: Likewise.
78573         * math/w_acosh.c: Likewise.
78574         * math/w_acoshf.c: Likewise.
78575         * math/w_acoshl.c: Likewise.
78576         * math/w_asin.c: Likewise.
78577         * math/w_asinf.c: Likewise.
78578         * math/w_asinl.c: Likewise.
78579         * math/w_atan2.c: Likewise.
78580         * math/w_atan2f.c: Likewise.
78581         * math/w_atan2l.c: Likewise.
78582         * math/w_atanh.c: Likewise.
78583         * math/w_atanhf.c: Likewise.
78584         * math/w_atanhl.c: Likewise.
78585         * math/w_exp10.c: Likewise.
78586         * math/w_exp10f.c: Likewise.
78587         * math/w_exp10l.c: Likewise.
78588         * math/w_fmod.c: Likewise.
78589         * math/w_fmodf.c: Likewise.
78590         * math/w_fmodl.c: Likewise.
78591         * math/w_j0.c: Likewise.
78592         * math/w_j0f.c: Likewise.
78593         * math/w_j0l.c: Likewise.
78594         * math/w_j1.c: Likewise.
78595         * math/w_j1f.c: Likewise.
78596         * math/w_j1l.c: Likewise.
78597         * math/w_jn.c: Likewise.
78598         * math/w_jnf.c: Likewise.
78599         * math/w_log.c: Likewise.
78600         * math/w_logf.c: Likewise.
78601         * math/w_logl.c: Likewise.
78602         * math/w_log10.c: Likewise.
78603         * math/w_log10f.c: Likewise.
78604         * math/w_log10l.c: Likewise.
78605         * math/w_log2.c: Likewise.
78606         * math/w_log2f.c: Likewise.
78607         * math/w_log2l.c: Likewise.
78608         * math/w_pow.c: Likewise.
78609         * math/w_powf.c: Likewise.
78610         * math/w_powl.c: Likewise.
78611         * math/w_remainder.c: Likewise.
78612         * math/w_remainderf.c: Likewise.
78613         * math/w_remainderl.c: Likewise.
78614         * math/w_scalb.c: Likewise.
78615         * math/w_scalbf.c: Likewise.
78616         * math/w_scalbl.c: Likewise.
78617         * math/w_sqrt.c: Likewise.
78618         * math/w_sqrtf.c: Likewise.
78619         * math/w_sqrtl.c: Likewise.
78620         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78621         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78622         used.
78623         * math/math_private.h: Declare __kernel_standard_f.
78624         * math/w_cosh.c: Remove cruft and optimize a bit.
78625         * math/w_coshf.c: Likewise.
78626         * math/w_coshl.c: Likewise.
78627         * math/w_exp2.c: Likewise.
78628         * math/w_exp2f.c: Likewise.
78629         * math/w_exp2l.c: Likewise.
78630         * math/w_hypot.c: Likewise.
78631         * math/w_hypotf.c: Likewise.
78632         * math/w_hypotl.c: Likewise.
78633         * math/w_lgamma.c: Likewise.
78634         * math/w_lgamma_r.c: Likewise.
78635         * math/w_lgammaf.c: Likewise.
78636         * math/w_lgammaf_r.c: Likewise.
78637         * math/w_lgammal.c: Likewise.
78638         * math/w_lgammal_r.c: Likewise.
78639         * math/w_sinh.c: Likewise.
78640         * math/w_sinhf.c: Likewise.
78641         * math/w_sinhl.c: Likewise.
78642         * math/w_tgamma.c: Likewise.
78643         * math/w_tgammaf.c: Likewise.
78644         * math/w_tgammal.c: Likewise.
78645         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78646         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78647         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78648         Minor optimizations.  Pretty printing.  Remove cruft.
78649         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78650         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78651         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78652         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78653         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78654         * sysdeps/i386/fpu/e_asin.S: Likewise.
78655         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78656         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78657         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78658         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78659         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78660         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78661         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78662         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78663         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78664         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78665         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78666         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78667         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78668         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78669         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78670         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78671         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78672         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78673         * sysdeps/i386/fpu/e_log.S: Likewise.
78674         * sysdeps/i386/fpu/e_log10.S: Likewise.
78675         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78676         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78677         * sysdeps/i386/fpu/e_log2.S: Likewise.
78678         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78679         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78680         * sysdeps/i386/fpu/e_logf.S: Likewise.
78681         * sysdeps/i386/fpu/e_logl.S: Likewise.
78682         * sysdeps/i386/fpu/e_pow.S: Likewise.
78683         * sysdeps/i386/fpu/e_powf.S: Likewise.
78684         * sysdeps/i386/fpu/e_powl.S: Likewise.
78685         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78686         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78687         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78688         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78689         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78690         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78691         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78692         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78693         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78694         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78695         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78696         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78697         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78698         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78699         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78700         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78701         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78702         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78703         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78704         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78705         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78706         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78707         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78708         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78709         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78710         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78711         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78712         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78714         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78715         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78716         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78717         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78718         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78719         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78720         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78721         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78722         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78723         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78724         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78725         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78726         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78727         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78728         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78729         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78730         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78731         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78732         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78733         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78734         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78735         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78736         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78737         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78738         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78739         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78740         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78741         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78742         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78743         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78744         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78745         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78746         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78747         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78748         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78749         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78750         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78751         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78752         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78753         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78754         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78755         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78756         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78757         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78758         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78759         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78760         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78761         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78762         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78763         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78764         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78765         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78766         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78767         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78768         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78769         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78770         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78771         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78772         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78773         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78774         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78775         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78776         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78777         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78778         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78779         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78780         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78781         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78782         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78783         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78784         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78785         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78786         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78787         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78788         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78789         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78790         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78791         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78792         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78793         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78794         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78795         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78796         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78797         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78798         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78799         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78800         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78801         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78802         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78803         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78804         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78805         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78806         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78807         (__isnanf): Likewise.
78808         (__isinf_ns): Likewise.
78809         (__isinf_nsf): Likewise.
78810         (__finite): Likewise.
78811         (__finitef): Likewise.
78812         (__ieee754_sqrt): Define as macro.
78813         (__ieee754_sqrtf): Define as macro.
78814         (__ieee754_sqrtl): Define as macro.
78815         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78816         inlined copy.
78817         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78818         __FINITE_MATH_ONLY__ consistent.
78819         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78821 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78823         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78824         of rawmemchr.
78826         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78828 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78830         * po/ja.po: Update from translation team.
78832 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78834         * locale/programs/locarchive.c (prepare_address_space): New function.
78835         (create_archive, enlarge_archive, open_archive): Use it.
78837         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78838         inside [SHARED], where it is used.
78840         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78842         * nss/getent.c (netgroup_keys): Remove unused variable.
78843         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78845 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78847         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78848         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78849         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78850         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78851         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78852         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78853         * math/Makefile (libm-calls): Add s_isinf_ns.
78854         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78855         * math/multc3.c: Likewise.
78856         * math/s_casin.c: Likewise.
78857         * math/s_casinf.c: Likewise.
78858         * math/s_casinl.c: Likewise.
78859         * math/s_ccos.c: Likewise.
78860         * math/s_ccosf.c: Likewise.
78861         * math/s_ccosl.c: Likewise.
78862         * math/s_ctan.c: Likewise.
78863         * math/s_ctanf.c: Likewise.
78864         * math/s_ctanh.c: Likewise.
78865         * math/s_ctanhf.c: Likewise.
78866         * math/s_ctanhl.c: Likewise.
78867         * math/s_ctanl.c: Likewise.
78868         * math/w_fmod.c: Likewise.
78869         * math/w_fmodf.c: Likewise.
78870         * math/w_fmodl.c: Likewise.
78871         * math/w_remainder.c: Likewise.
78872         * math/w_remainderf.c: Likewise.
78873         * math/w_remainderl.c: Likewise.
78874         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78875         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78876         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78877         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78878         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78879         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78880         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78881         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78883         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78884         of the number.
78885         * stdio-common/printf_fphex.c: Likewise.
78886         * stdio-common/printf_size.c: Likewise.
78888         * math/e_exp10.c: Include math_private.h using <...> not "...".
78889         * math/e_exp10f.c: Likewise.
78890         * math/e_exp10l.c: Likewise.
78891         * math/e_exp2l.c: Likewise.
78892         * math/e_j0l.c: Likewise.
78893         * math/e_j1l.c: Likewise.
78894         * math/e_jnl.c: Likewise.
78895         * math/e_lgammal_r.c: Likewise.
78896         * math/e_rem_pio2l.c: Likewise.
78897         * math/e_scalb.c: Likewise.
78898         * math/e_scalbf.c: Likewise.
78899         * math/e_scalbl.c: Likewise.
78900         * math/k_cosl.c: Likewise.
78901         * math/k_sinl.c: Likewise.
78902         * math/k_tanl.c: Likewise.
78903         * math/s_cacoshf.c: Likewise.
78904         * math/s_catan.c: Likewise.
78905         * math/s_catanf.c: Likewise.
78906         * math/s_catanh.c: Likewise.
78907         * math/s_catanhf.c: Likewise.
78908         * math/s_catanhl.c: Likewise.
78909         * math/s_catanl.c: Likewise.
78910         * math/s_ccosh.c: Likewise.
78911         * math/s_ccoshf.c: Likewise.
78912         * math/s_ccoshl.c: Likewise.
78913         * math/s_cexp.c: Likewise.
78914         * math/s_cexpf.c: Likewise.
78915         * math/s_cexpl.c: Likewise.
78916         * math/s_clog.c: Likewise.
78917         * math/s_clog10.c: Likewise.
78918         * math/s_clog10f.c: Likewise.
78919         * math/s_clog10l.c: Likewise.
78920         * math/s_clogf.c: Likewise.
78921         * math/s_clogl.c: Likewise.
78922         * math/s_csin.c: Likewise.
78923         * math/s_csinf.c: Likewise.
78924         * math/s_csinh.c: Likewise.
78925         * math/s_csinhf.c: Likewise.
78926         * math/s_csinhl.c: Likewise.
78927         * math/s_csinl.c: Likewise.
78928         * math/s_csqrt.c: Likewise.
78929         * math/s_csqrtf.c: Likewise.
78930         * math/s_csqrtl.c: Likewise.
78931         * math/s_ctan.c: Likewise.
78932         * math/s_ctanf.c: Likewise.
78933         * math/s_ctanh.c: Likewise.
78934         * math/s_ctanhf.c: Likewise.
78935         * math/s_ctanhl.c: Likewise.
78936         * math/s_ctanl.c: Likewise.
78937         * math/s_ldexp.c: Likewise.
78938         * math/s_ldexpf.c: Likewise.
78939         * math/s_ldexpl.c: Likewise.
78940         * math/s_significand.c: Likewise.
78941         * math/s_significandf.c: Likewise.
78942         * math/s_significandl.c: Likewise.
78943         * math/w_acos.c: Likewise.
78944         * math/w_acosf.c: Likewise.
78945         * math/w_acosh.c: Likewise.
78946         * math/w_acoshf.c: Likewise.
78947         * math/w_acoshl.c: Likewise.
78948         * math/w_acosl.c: Likewise.
78949         * math/w_asin.c: Likewise.
78950         * math/w_asinf.c: Likewise.
78951         * math/w_asinl.c: Likewise.
78952         * math/w_atan2.c: Likewise.
78953         * math/w_atan2f.c: Likewise.
78954         * math/w_atan2l.c: Likewise.
78955         * math/w_atanh.c: Likewise.
78956         * math/w_atanhf.c: Likewise.
78957         * math/w_atanhl.c: Likewise.
78958         * math/w_cosh.c: Likewise.
78959         * math/w_coshf.c: Likewise.
78960         * math/w_coshl.c: Likewise.
78961         * math/w_dremf.c: Likewise.
78962         * math/w_exp10.c: Likewise.
78963         * math/w_exp10f.c: Likewise.
78964         * math/w_exp10l.c: Likewise.
78965         * math/w_exp2.c: Likewise.
78966         * math/w_exp2f.c: Likewise.
78967         * math/w_fmod.c: Likewise.
78968         * math/w_fmodf.c: Likewise.
78969         * math/w_fmodl.c: Likewise.
78970         * math/w_hypot.c: Likewise.
78971         * math/w_hypotf.c: Likewise.
78972         * math/w_hypotl.c: Likewise.
78973         * math/w_j0.c: Likewise.
78974         * math/w_j0f.c: Likewise.
78975         * math/w_j0l.c: Likewise.
78976         * math/w_j1.c: Likewise.
78977         * math/w_j1f.c: Likewise.
78978         * math/w_j1l.c: Likewise.
78979         * math/w_jn.c: Likewise.
78980         * math/w_jnf.c: Likewise.
78981         * math/w_jnl.c: Likewise.
78982         * math/w_lgamma.c: Likewise.
78983         * math/w_lgamma_r.c: Likewise.
78984         * math/w_lgammaf.c: Likewise.
78985         * math/w_lgammaf_r.c: Likewise.
78986         * math/w_lgammal.c: Likewise.
78987         * math/w_lgammal_r.c: Likewise.
78988         * math/w_log.c: Likewise.
78989         * math/w_log10.c: Likewise.
78990         * math/w_log10f.c: Likewise.
78991         * math/w_log10l.c: Likewise.
78992         * math/w_log2.c: Likewise.
78993         * math/w_log2f.c: Likewise.
78994         * math/w_log2l.c: Likewise.
78995         * math/w_logf.c: Likewise.
78996         * math/w_logl.c: Likewise.
78997         * math/w_pow.c: Likewise.
78998         * math/w_powf.c: Likewise.
78999         * math/w_powl.c: Likewise.
79000         * math/w_remainder.c: Likewise.
79001         * math/w_remainderf.c: Likewise.
79002         * math/w_remainderl.c: Likewise.
79003         * math/w_scalb.c: Likewise.
79004         * math/w_scalbf.c: Likewise.
79005         * math/w_scalbl.c: Likewise.
79006         * math/w_sinh.c: Likewise.
79007         * math/w_sinhf.c: Likewise.
79008         * math/w_sinhl.c: Likewise.
79009         * math/w_sqrt.c: Likewise.
79010         * math/w_sqrtf.c: Likewise.
79011         * math/w_sqrtl.c: Likewise.
79012         * math/w_tgamma.c: Likewise.
79013         * math/w_tgammaf.c: Likewise.
79014         * math/w_tgammal.c: Likewise.
79016         * po/ja.po: Update from translation team.
79018 2011-09-29  Andreas Jaeger  <aj@suse.de>
79020         [BZ #13179]
79021         * sunrpc/netname.c (netname2host): Fix logic.
79023         [BZ #6779]
79024         [BZ #6783]
79025         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
79026         correctly.
79027         * math/w_remainder.c (__remainder): Likewise.
79028         * math/w_remainderf.c (__remainderf): Likewise.
79029         * math/libm-test.inc (remainder_test): Add test cases.
79031 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79033         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
79034         sdiv_qrnnd.
79036 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
79038         * string/test-memcmp.c: Avoid unncessary #defines.
79039         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79041 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79043         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
79044         Use new sse2 version for core i3 - i7 as it's faster
79045         than sse42 version.
79046         (bit_Prefer_PMINUB_for_stringop): New.
79047         * sysdeps/x86_64/rawmemchr.S: Update.
79048         Replace with faster SSE2 version.
79049         * sysdeps/x86_64/memrchr.S: New file.
79050         * sysdeps/x86_64/memchr.S: Update.
79051         Replace with faster SSE2 version.
79053 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
79055         * elf/dl-load.c (lose): Add cast to avoid warning.
79057 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
79059         * po/ca.po: Update from translation team.
79061         * inet/getnetgrent_r.c: Hook up nscd.
79062         * nscd/Makefile (routines): Add nscd_netgroup.
79063         (nscd-modules): Add netgroupcache.
79064         (CFLAGS-netgroupcache.c): Define.
79065         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
79066         (cache_search): Add const to second parameter.
79067         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
79068         INNETGR.
79069         (dbs): Add netgrdb entry.
79070         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
79071         (verify_persistent_db): Handle netgrdb.
79072         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
79073         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
79074         GETFDNETGR.
79075         (netgroup_response_header): Define.
79076         (innetgroup_response_header): Define.
79077         (datahead): Add netgroup_response_header and innetgroup_response_header
79078         elements.
79079         * nscd/nscd.conf: Add entries for netgroup cache.
79080         * nscd/nscd.h (dbtype): Add netgrdb.
79081         (_PATH_NSCD_NETGROUP_DB): Define.
79082         (netgroup_iov_disabled): Declare.
79083         (xmalloc, xcalloc, xrealloc): Move declarations here.
79084         (cache_search): Adjust prototype.
79085         Add netgroup-related prototypes.
79086         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
79087         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
79088         (__nscd_innetgr): Declare.
79089         * nscd/selinux.c (perms): Use access_vector_t as element type and
79090         add netgroup-related initializers.
79091         * nscd/netgroupcache.c: New file.
79092         * nscd/nscd_netgroup.c: New file.
79093         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
79094         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
79095         For four parameters use innetgr.
79096         * nss/nss_files/files-init.c: Add definition and callback for netgr.
79097         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
79098         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
79099         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
79101         * nscd/connections.c (register_traced_file): Don't register file
79102         for disabled databases.
79104 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
79106         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
79108         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
79109         from tree and freeing node.
79111 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
79113         * nss/nsswitch.c (__nss_database_lookup): Handle
79114         nss_parse_service_list out of memory case.
79116 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
79118         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
79119         out of memory case.
79121 2011-10-04  Andreas Schwab  <schwab@redhat.com>
79123         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
79124         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
79125         pass it down.
79126         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
79127         elf_machine_rela, elf_machine_lazy_rel.
79128         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
79129         (ELF_DYNAMIC_DO_REL): Likewise.
79130         (ELF_DYNAMIC_DO_RELA): Likewise.
79131         (ELF_DYNAMIC_RELOCATE): Likewise.
79132         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
79133         to ELF_DYNAMIC_DO_REL.
79134         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
79135         (dl_main): In trace mode always set __RTLD_NOIFUNC.
79136         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
79137         elf_machine_rela.
79138         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
79139         skip_ifunc, don't call ifunc function if non-zero.
79140         (elf_machine_rela): Likewise.
79141         (elf_machine_lazy_rel): Likewise.
79142         (elf_machine_lazy_rela): Likewise.
79143         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
79144         (elf_machine_lazy_rel): Likewise.
79145         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
79146         Likewise.
79147         (elf_machine_lazy_rel): Likewise.
79148         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79149         Likewise.
79150         (elf_machine_lazy_rel): Likewise.
79151         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
79152         (elf_machine_lazy_rel): Likewise.
79153         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
79154         (elf_machine_lazy_rel): Likewise.
79155         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
79156         (elf_machine_lazy_rel): Likewise.
79157         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
79158         (elf_machine_lazy_rel): Likewise.
79159         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
79160         (elf_machine_lazy_rel): Likewise.
79161         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
79162         (elf_machine_lazy_rel): Likewise.
79164 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
79166         * nss/nss_files/files-init.c (_nss_files_init): Use static
79167         initialization for all the *_traced_file variables.
79169 2011-09-28  Andreas Schwab  <schwab@redhat.com>
79171         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79173 2011-09-27  Roland McGrath  <roland@hack.frob.com>
79175         [BZ #13226]
79176         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
79178 2011-09-27  Andreas Schwab  <schwab@redhat.com>
79180         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79181         Reread the line before reparsing it.
79183 2011-09-26  Andreas Schwab  <schwab@redhat.com>
79185         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
79187 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
79188             Maxim Kuvyrkov  <maxim@codesourcery.com>
79189             Joseph Myers  <joseph@codesourcery.com>
79191         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
79192         if needed for __stack_chk_guard.
79194 2011-09-19  Roland McGrath  <roland@hack.frob.com>
79196         * sysdeps/posix/spawni.c (script_execute): Always define it.
79197         It will be optimized away if unused.
79198         (maybe_script_execute): New function.
79199         (__spawni): Call it.
79201         * Makerules: Don't include tls.make.
79202         (config-tls): Always set to thread.
79203         * tls.make.c: File removed.
79205 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
79207         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
79208         * config.make.in (CPPFLAGS-config): New substituted variable.
79210 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79212         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
79214         [BZ #13192]
79215         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
79216         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
79218 2011-09-15  Roland McGrath  <roland@hack.frob.com>
79220         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
79221         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
79222         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79223         (CALL_FAIL): Likewise.
79224         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
79225         (CALL_FAIL): Macro removed.
79226         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
79228 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79230         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
79231         for __FINITE_MATH_ONLY__ == 1.
79233 2011-09-15  Andreas Schwab  <schwab@redhat.com>
79235         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
79236         __ieee754_sqrt instead of sqrt.
79237         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
79238         __ieee754_sqrtf instead of sqrtf.
79239         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
79240         __floorf instead of floorf.
79241         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
79242         __floorf, __truncf instead of floorf, truncf.
79244 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
79246         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
79248         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
79249         __extern_always_inline.
79250         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
79251         32-bit.
79253 2011-09-14  Andreas Schwab  <schwab@redhat.com>
79255         * elf/rtld.c (dl_main): Also relocate in dependency order when
79256         doing symbol dependency testing.
79258 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
79260         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79261         Always define `refsym'.
79263 2011-09-13  Andreas Schwab  <schwab@redhat.com>
79265         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
79266         (__FD_ELT): Renamed from __FDELT.
79267         * misc/bits/select2.h (__FD_ELT): Likewise.
79268         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
79269         __FD_MASK instead of __FDELT, __FDMASK.
79270         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79271         Likewise.
79272         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79273         Likewise.
79275         * elf/Makefile (gen-ldd): Fix pattern.
79277         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
79278         (init_tls): Likewise.
79280 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
79282         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
79284 2011-09-12  Andreas Schwab  <schwab@redhat.com>
79286         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
79287         `struct cmsghdr *' instead of `void *'.
79288         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
79289         Likewise.
79291 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
79293         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79294         if non-absolute.
79295         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79296         ldd_rewrite_script.
79298 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79300         * configure.in: Remove --with-tls option.
79301         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79302         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79303         out in case it is missing.
79304         * sysdeps/ia64/elf/configure.in: Likewise.
79305         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79306         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79307         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79308         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79309         * sysdeps/sh/elf/configure.in: Likewise.
79310         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79311         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79312         * sysdeps/x86_64/elf/configure.in: Likewise.
79313         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79314         * sysdeps/mach/hurd/tls.h: Likewise.
79316         [BZ #13067]
79317         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79319         [BZ #13090]
79320         * configure.in: Fix use of AC_INIT.
79322         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79324 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79326         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79327         __set_errno.
79328         * malloc/hooks.c: Likewise.
79330         [BZ #11929]
79331         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79332         variables statically.
79333         (narenas): Initialize.
79334         (list_lock): Initialize.
79335         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79336         initializtion of main_arena and list_lock.  Small cleanups.
79337         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79338         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79339         Add initializers to main_arena and mp_.
79340         (malloc_state): Remove pagesize member.  Change all users to use
79341         GLRO(dl_pagesize).
79343         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79344         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79345         is always initialized.
79347         * malloc/malloc.c: Removed unused configurations and dead code.
79348         * malloc/arena.c: Likewise.
79349         * malloc/hooks.c: Likewise.
79350         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79352         * include/tls.h: Removed.  USE___THREAD must always be defined.
79353         * bits/libc-tsd.h: Don't handle !USE___THREAD.
79354         * elf/dl-libc.c: Likewise.
79355         * elf/dl-tsd.c: Likewise.
79356         * include/errno.h: Likewise.
79357         * include/netdb.h: Likewise.
79358         * include/resolv.h: Likewise.
79359         * inet/herrno-loc.c: Likewise.
79360         * inet/herrno.c: Likewise.
79361         * malloc/arena.c: Likewise.
79362         * malloc/hooks.c: Likewise.
79363         * malloc/malloc.c: Likewise.
79364         * resolv/res-state.c: Likewise.
79365         * resolv/res_libc.c: Likewise.
79366         * sysdeps/i386/dl-machine.h: Likewise.
79367         * sysdeps/ia64/dl-machine.h: Likewise.
79368         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79369         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79370         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79371         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79372         * sysdeps/sh/dl-machine.h: Likewise.
79373         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79374         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79375         * sysdeps/unix/i386/sysdep.S: Likewise.
79376         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79377         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79378         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79382         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79384         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79386         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79387         * sysdeps/x86_64/dl-machine.h: Likewise.
79388         * tls.make.c: Likewise.
79390         * configure.in: Remove --with-__thread option.  Make tests for
79391         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79392         tls_model attribute fail if no support is available.  Remove
79393         USE_IN_LIBIO.
79394         * Makeconfig: Adjust for dropped configure option.  All features are
79395         now mandatory.
79396         * Makerules: Likewise.
79397         * Versions.def: Likewise.
79398         * argp/argp-fmtstream.c: Likewise.
79399         * argp/argp-fmtstream.h: Likewise.
79400         * argp/argp-help.c: Likewise.
79401         * assert/assert.c: Likewise.
79402         * config.h.in: Likewise.
79403         * config.make.in: Likewise.
79404         * configure: Likewise.
79405         * configure.in: Likewise.
79406         * csu/Versions: Likewise.
79407         * csu/init.c: Likewise.
79408         * elf/tst-audit2.c: Likewise.
79409         * elf/tst-tls10.c: Likewise.
79410         * elf/tst-tls10.h: Likewise.
79411         * elf/tst-tls11.c: Likewise.
79412         * elf/tst-tls12.c: Likewise.
79413         * elf/tst-tls14.c: Likewise.
79414         * elf/tst-tlsmod11.c: Likewise.
79415         * elf/tst-tlsmod12.c: Likewise.
79416         * elf/tst-tlsmod13.c: Likewise.
79417         * elf/tst-tlsmod13a.c: Likewise.
79418         * elf/tst-tlsmod14a.c: Likewise.
79419         * elf/tst-tlsmod15b.c: Likewise.
79420         * elf/tst-tlsmod16a.c: Likewise.
79421         * elf/tst-tlsmod16b.c: Likewise.
79422         * elf/tst-tlsmod7.c: Likewise.
79423         * elf/tst-tlsmod8.c: Likewise.
79424         * elf/tst-tlsmod9.c: Likewise.
79425         * gmon/gmon.c: Likewise.
79426         * grp/fgetgrent_r.c: Likewise.
79427         * grp/putgrent.c: Likewise.
79428         * hurd/fopenport.c: Likewise.
79429         * include/libc-symbols.h: Likewise.
79430         * include/tls.h: Likewise.
79431         * intl/gettextP.h: Likewise.
79432         * intl/loadinfo.h: Likewise.
79433         * locale/global-locale.c: Likewise.
79434         * locale/localeinfo.h: Likewise.
79435         * mach/devstream.c: Likewise.
79436         * malloc/arena.c: Likewise.
79437         * malloc/set-freeres.c: Likewise.
79438         * misc/err.c: Likewise.
79439         * misc/getttyent.c: Likewise.
79440         * misc/mntent_r.c: Likewise.
79441         * posix/getopt.c: Likewise.
79442         * posix/wordexp.c: Likewise.
79443         * pwd/fgetpwent_r.c: Likewise.
79444         * resolv/Versions: Likewise.
79445         * resolv/res_hconf.c: Likewise.
79446         * shadow/fgetspent_r.c: Likewise.
79447         * shadow/putspent.c: Likewise.
79448         * stdio-common/printf_fphex.c: Likewise.
79449         * stdio-common/tmpfile.c: Likewise.
79450         * stdlib/abort.c: Likewise.
79451         * stdlib/fmtmsg.c: Likewise.
79452         * sunrpc/auth_unix.c: Likewise.
79453         * sunrpc/clnt_perr.c: Likewise.
79454         * sunrpc/clnt_tcp.c: Likewise.
79455         * sunrpc/clnt_udp.c: Likewise.
79456         * sunrpc/clnt_unix.c: Likewise.
79457         * sunrpc/openchild.c: Likewise.
79458         * sunrpc/svc_simple.c: Likewise.
79459         * sunrpc/svc_tcp.c: Likewise.
79460         * sunrpc/svc_udp.c: Likewise.
79461         * sunrpc/svc_unix.c: Likewise.
79462         * sunrpc/xdr.c: Likewise.
79463         * sunrpc/xdr_array.c: Likewise.
79464         * sunrpc/xdr_rec.c: Likewise.
79465         * sunrpc/xdr_ref.c: Likewise.
79466         * sunrpc/xdr_stdio.c: Likewise.
79468 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79470         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79472 2011-07-03  Andreas Jaeger  <aj@suse.de>
79474         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79475         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79476         regenerate with gen-libm-tests.pl.
79478 2010-05-12  Petr Baudis  <pasky@suse.cz>
79480         [BZ #11589]
79481         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79482         around j0() zero points by switching to j1().
79483         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79484         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79486         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79488 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79490         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79491         instead of 0.
79492         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79493         instead of 0.
79494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79495         Patch in part by Pavel Roskin <proski@gnu.org>.
79497         [BZ #13138]
79498         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79499         realloc.
79500         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79501         Free memory block if necessary.
79503         [BZ #12847]
79504         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79505         be NULL.  Don't lock in this case.
79507 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79509         * elf/elf.h (ELFOSABI_GNU): New macro.
79510         (ELFOSABI_LINUX): Define to that.
79512 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79514         * string/strncat.c (strncat): Undef the symbol in case it has been
79515         defined in bits/string.h.
79517 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79519         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79521         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79522         link map.
79524 2011-08-17  Andreas Jaeger  <aj@suse.de>
79526         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79528 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79529             Ian Lance Taylor  <iant@google.com>
79531         * math/libm-test.inc (lround_test): New testcase.
79532         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79534 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79536         * Makefile: Remove support for automatic cvs check-ins.
79537         * Makerules: Likewise.
79538         * config.make.in: Likewise.
79539         * configure.in: Likewise.
79540         * intl/Makefile: Likewise.
79541         * locale/Makefile: Likewise.
79542         * po/Makefile: Likewise.
79543         * posix/Makefile: Likewise.
79544         * sysdeps/gnu/Makefile: Likewise.
79545         * sysdeps/mach/hurd/Makefile: Likewise.
79546         * sysdeps/sparc/sparc32/Makefile: Likewise.
79548         [BZ #13118]
79549         * posix/Makefile (bug-regex32-ENV): Define.
79550         Patch by John Stanley <jpsinthemix@verizon.net>.
79552         * misc/Makefile (headers): Add bits/select2.h.
79553         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79554         * misc/bits/select2.h: New file.
79555         * include/bits/select2.h: New file.
79556         * debug/Makefile (routines): Add fdelt_chk.
79557         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79558         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79559         FD_ISSET.
79560         * debug/fdelt_chk.c: New file.
79562         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79563         * wcsmbs/test-wmemcmp.c: Likewise.
79564         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79565         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79567 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79569         * string/Makefile (strop-tests): Add memcmp.
79570         * string/test-wmemcmp.c: New file.
79571         * string/test-memcmp.c: Add wmemcmp support.
79573 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79575         [BZ #13153]
79576         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79577         2011-07-19 change.
79579         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79580         garbage value in a __mach_port_mod_refs call in the cases of the
79581         task-self and thread-self ports.
79583 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79585         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79587 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79589         * elf/dl-load.c (lose): Check for non-null L.
79591 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79593         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79595         * elf/dl-libc.c (dlerror_run): Pass back error code from
79596         dl_catch_error.
79598         [BZ #13123]
79599         * elf/dl-load.c (lose): Free l_origin if it is valid.
79601         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79602         names.
79603         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79604         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79605         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79606         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79607         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79608         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79610 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79612         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79613         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79614         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79615         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79616         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79617         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79618         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79619         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79620         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79621         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79623 2011-08-15  Alan Modra  <amodra@gmail.com>
79625         [BZ #13092]
79626         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79627         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79628         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79629         ppc_mcount to static-only-routines.
79630         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79631         __mcount_internal.
79632         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79633         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79635 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79637         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79638         for finite and infinity parameters.
79640 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79643         and add nop instructions for throughput optimization.
79644         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79646 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79648         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79649         aligned copy for power7 with vector-scalar instructions.
79650         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79652 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79655         AVX check.
79657 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79659         [BZ #13144]
79660         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79661         last change.
79663 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79665         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79666         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79667         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79668         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79669         clock_gettime.
79671 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79673         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79674         Forgot to demangle the pointer.
79676         * sysdeps/i386/sysdep.h: Define atom_text_section.
79677         * sysdeps/x86_64/sysdep.h: Likewise.
79678         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79679         section with atom_text_section.
79680         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79681         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79682         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79683         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79684         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79686         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79687         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79688         already be defined.  Change to take two parameters and don't assign
79689         result to variable.  Adjust all users.
79690         Define INTERNAL_GETTIME if not already defined.
79691         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79692         call.
79693         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79694         HAVE_CLOCK_GETTIME_VSYSCALL.
79695         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79697         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79698         gettimeofday vsyscall, just use time.
79700 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79702         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79703         <errno.h>.
79705 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79707         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79708         syscall on x86-64.
79709         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79710         syscall.
79711         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79712         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79713         syscall if possible.
79715 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79717         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79718         e_ident.  Don't pass to find_mapsXX.
79719         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79721 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79724         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79725         * sysdeps/x86_64/multiarch/strchr.S: Update.
79726         Check bit_slow_BSF bit.
79727         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79728         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79729         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79731 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79733         [BZ #13134]
79734         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79735         before glibc 2.15.
79736         (tryshell): Define.
79737         (__spawni): Change last parameter to be flag.  Test
79738         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79739         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79740         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79741         * posix/spawni.c: Likewise.
79742         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79743         * posix/spawnp.c: Likewise.  Change normal version to use
79744         SPAWN_XFLAGS_USE_PATH.
79745         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79746         SPAWN_XFLAGS_TRY_SHELL.
79748         [BZ #13150]
79749         * posix/glob.h: Remove gcc 1.x support.
79751         [BZ #13068]
79752         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79754 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79756         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79757         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79758         strrchr-sse2-bsf
79759         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79760         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79761         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79762         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79763         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79764         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79766 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79768         * sysdeps/x86_64/wcscmp.S: New file.
79770         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79771         wcscmp-c wcscmp-sse2
79772         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79773         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79774         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79775         * wcsmbs/wcscmp.c: Allow renaming.
79777 2011-09-05  David S. Miller  <davem@davemloft.net>
79779         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79780         stack slot, rather than the struct return pointer slot.
79781         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79782         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79784         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79786 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79788         * po/ja.po: Update from translation team.
79790         [BZ #13144]
79791         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79792         kernel in 64-bit binaries.
79794 2011-09-01  David S. Miller  <davem@davemloft.net>
79796         * elf/elf.h (HWCAP_SPARC_*): Move to..
79797         * sysdeps/sparc/sysdep.h: this new file and add new values.
79798         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79799         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79800         _DL_HWCAP_COUNT to 24.
79801         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79802         entries.
79803         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79804         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79805         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79806         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79807         instead of magic constants.
79808         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79810 2011-08-31  David S. Miller  <davem@davemloft.net>
79812         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79814         Reimplement to do errno handling inline.
79815         (SYSCALL_ERROR_HANDLER): New macro.
79816         (__SYSCALL_STRING): Do not do errno handling in asm.
79817         (__CLONE_SYSCALL_STRING): Delete.
79818         (__INTERNAL_SYSCALL_STRING): Delete.
79819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79820         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79821         (PSEUDO): Reimplement to do errno handling inline.
79822         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79823         (SYSCALL_ERROR_HANDLER): New macro.
79824         (__SYSCALL_STRING): Do not do errno handling in asm.
79825         (__CLONE_SYSCALL_STRING): Delete.
79826         (__INTERNAL_SYSCALL_STRING): Delete.
79827         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79828         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79829         i386.
79830         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79831         (inline_syscall*): Add 'err' argument.
79832         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79833         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79834         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79835         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79837         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79838         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79840 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79842         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79844 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79846         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79847         directive.
79849 2011-08-24  David S. Miller  <davem@davemloft.net>
79851         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79853 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79855         * elf/Makefile: Add rules to build and run unload8 test.
79856         * elf/unload8.c: New file.
79857         * elf/unload8mod1.c: New file.
79858         * elf/unload8mod1x.c: New file.
79859         * elf/unload8mod2.c: New file.
79860         * elf/unload8mod3.c: New file.
79862         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79863         it wasn't used.
79865 2011-08-23  David S. Miller  <davem@davemloft.net>
79867         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79868         subtract stack bias.
79869         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79870         %sp not %fp in calculations.
79871         (_JMPBUF_UNWINDS_ADJ): Likewise.
79873         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79874         (aio_suspend): Call it to force an exception region around the
79875         AIO_MISC_WAIT() invocation.
79877 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79879         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79880         backslash.
79882 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79884         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79885         protection macro.
79886         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79887         and <dl-machine.h>.
79888         (Elf64_FuncDesc): Remove.
79890 2011-08-22  David S. Miller  <davem@davemloft.net>
79892         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79893         sigaltstack check, add missing cfi directives.
79894         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79895         missing cfi directives, and sigaltstack handling.
79897 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79899         [BZ #11724]
79900         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79901         object is seen twice.
79902         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79904         * elf/Makefile (distribute): Add tst-initorder2.c.
79905         (tests): Add tst-initorder2.
79906         (modules-names): Add tst-initorder2a tst-initorder2b
79907         tst-initorder2c tst-initorder2d.  Add rules to build them.
79908         ($(objpfx)tst-initorder2.out): New rule.
79909         * elf/tst-initorder2.c: New file.
79910         * elf/tst-initorder2.exp: New file.
79912 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79914         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79916         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79917         dependencies back to end of function.
79919         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79920         $(elfobjdir)/ld.so.
79922 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79924         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79925         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79926         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79927         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79928         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79929         of __vdso_gettimeofday.
79930         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79931         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79932         attribute_hidden.
79933         (_libc_vdso_platform_setup): Remove initialization of
79934         __vdso_gettimeofday and __vdso_time.
79936 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79938         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79939         and fgetc_unlocked.
79940         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79941         getc_unlocked.
79943         * elf/dl-open.c (add_to_global): Report additions to the global scope
79944         for LD_DEBUG=scopes.
79945         (dl_open_worker): Also print scope of newly loaded dependencies.
79946         (_dl_show_scope): Indicate if there is no scope.
79948         [BZ #13114]
79949         * stdio-common/Makefile (tests): Add bug24.
79950         * stdio-common/bug24.c: New file.
79952 2011-08-19  Andreas Jaeger  <aj@suse.de>
79954         [BZ #13114]
79955         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79956         non-existant file when using close-on-exec mode.
79958 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79961         the very first instruction.
79963         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79964         the CFI state in the end.
79965         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79966         inclusion of dl-trampoline.h.
79967         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79969 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79971         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79972         expectations for long double.
79974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79975         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79977 2011-08-14  David S. Miller  <davem@davemloft.net>
79979         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79980         artificual limit depends upon the system page size.
79982 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79984         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79985         * resolv/Makefile: Define CFLAGS-libresolv.
79987 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79989         * nss/makedb.c (compute_tables): Make variables used in nested
79990         function static.
79992 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79994         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79995         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79996         if buffer was too small.
79998         * elf/pldd.c (main): Attach to all threads in the process.
79999         Rewrite /proc handling to use *at functions.
80001 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
80003         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
80004         specifies first scope to show.
80005         (dl_open_worker): Update callers.  Move printing scope of new
80006         object to before the relocation.
80007         * elf/rtld.c (dl_main): Update _dl_show_scope call.
80008         * sysdeps/generic/ldsodefs.h: Update declaration.
80010         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
80011         string for the scope number.
80013 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
80015         * nscd/servicescache.c (cache_addserv): Make sure written is always
80016         initialized.
80018 2011-08-14  Roland McGrath  <roland@hack.frob.com>
80020         * sysdeps/i386/i486/bits/atomic.h
80021         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
80022         statement expression, so as to suppress "set but not used" warning.
80023         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
80025         * string/strncat.c (STRNCAT): Use prototype definition.
80027         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
80028         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
80029         -Iprograms here.
80030         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
80031         (localedef-modules): Add localedef.
80032         (locale-modules): Add locale.
80034         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
80035         * elf/rtld.c (dl_main): Invert order of assignment in last change,
80036         to avoid a warning.
80038 2011-08-14  David S. Miller  <davem@davemloft.net>
80040         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
80041         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
80043 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
80045         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
80046         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
80047         * elf/rtld.c (dl_main): Set l_name of vDSO.
80048         Call _dl_show_scope when DL_DEBUG_SCOPES.
80049         (process_dl_debug): Recognize scopes flag and also set it for all.
80050         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
80051         Declare _dl_show_scope.
80053         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
80054         (do_dlopen): Pass caller_dlopen to dl_open.
80055         (__libc_dlopen_mode): Initialize caller_dlopen.
80057         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
80058         of libc.  Make tolower call locale-independent.  Optimize a bit by
80059         using isdigit instead of isalnum.
80060         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
80062 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
80064         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
80065         was a dependency or dynamically loaded.
80067 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
80069         * intl/l10nflist.c: Allow architecture-specific pop function.
80070         * sysdeps/x86_64/l10nflist.c: New file.
80072         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
80073         classification.
80075 2011-08-10  Andreas Schwab  <schwab@redhat.com>
80077         * include/dirent.h: Add libc_hidden_proto for scandirat and
80078         scandirat64.  Don't declare __scandirat64.
80079         * dirent/scandirat.c: Add libc_hidden_def.
80080         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
80081         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
80083 2011-08-10  David S. Miller  <davem@davemloft.net>
80085         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
80086         enum.
80087         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80088         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80089         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80091 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
80093         * Versions.def [libc]: Add GLIBC_2.15.
80094         * dirent/Makefile (routines): Add scandirat and scandirat64.
80095         * dirent/Versions [libc]: Export scandirat and scandirat64 for
80096         GLIBC_2.15.
80097         * dirent/dirent.h: Declare scandirat and scandirat64.
80098         * dirent/scandirat.c: New file.
80099         * dirent/scandirat64.c: New file.
80100         * sysdeps/wordsize-64/scandirat.c: New file.
80101         * sysdeps/wordsize-64/scandirat64.c: New file.
80102         * dirent/opendir.c: Define opendirat.
80103         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
80104         using scandirat.
80105         * dirent/scandir64.c: Adjust for scandir.c change.
80106         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
80107         __scandirat64, and __scandir_cancel_handler.
80108         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
80109         additional parameter and use openat instead of open (outside of ld.so).
80110         Add new __opendir as wrapper around __opendirat.
80111         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
80112         here without requiring old scandirat implementation.
80114 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
80116         * dirent/scandir.c (cancel_handler): Renamed to
80117         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
80118         defined.  Adjust users.
80119         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
80120         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
80122 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
80124         * string/test-string.h (IMPL): Use __STRING to expand name and then
80125         stringify it.
80127         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
80128         of cleanups.
80130 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80132         * string/Makefile: Update.
80133         (strop-tests): Append strncat.
80134         * string/test-wcscmp.c: New file.
80135         New comprehensive test for wcscmp.
80136         * string/test-strcmp.c: Update.
80137         (WIDE): New define.
80139 2011-07-22  Andreas Schwab  <schwab@redhat.com>
80141         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
80142         line.
80144 2011-07-26  Andreas Schwab  <schwab@redhat.com>
80146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80147         encoding to ACE if AI_IDN.
80149 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
80151         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
80152         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
80154 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80156         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
80157         Fix overflow bug in strncat.
80158         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
80160         * string/test-strncat.c: Update.
80161         Add new tests for checking overflow bugs.
80163 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80166         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
80167         * sysdeps/i386/i686/multiarch/strcat.S: New file.
80168         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
80169         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
80170         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
80171         * sysdeps/i386/i686/multiarch/strncat.S: New file.
80172         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
80173         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
80175         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
80176         (USE_AS_STRCAT): Define.
80177         Add strcat and strncat support.
80178         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80180 2011-07-25  Andreas Schwab  <schwab@redhat.com>
80182         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
80183         __n bigger than INT_MAX+1.
80184         (__strncmp_g): Likewise.
80186 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
80188         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
80189         * libio/stido.h: Likewise.
80191         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
80192         (AF_NFC): Define.
80193         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
80194         (AF_NFC): Define.
80196         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
80197         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80198         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80199         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
80200         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80202         [BZ #13021]
80203         * scripts/test-installation.pl: Don't expect libnss_test1 to be
80204         installed.
80206         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
80207         typo.
80208         (_dl_x86_64_save_sse): Likewise.
80210 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
80212         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
80213         OSXSAVE.
80214         (_dl_x86_64_save_sse): Likewise.
80216         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
80218         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
80220 2011-07-21  Andreas Schwab  <schwab@redhat.com>
80222         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
80223         change.
80224         (_dl_x86_64_save_sse): Use correct AVX check.
80226 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80228         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
80229         bug in strncpy/strncat.
80230         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
80232 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
80234         * string/tester.c (test_strcat): Add tests for different alignments
80235         of source and destination.
80236         (test_strncat): Likewise.
80238 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80240         [BZ #12852]
80241         * posix/glob.c (glob): Check passed in values before using them in
80242         expressions to avoid some overflows.
80243         (glob_in_dir): Likewise.
80245         [BZ #13007]
80246         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
80247         check for AVX enablement so that we don't crash with old kernels and
80248         new hardware.
80249         * elf/tst-audit4.c: Add same checks here.
80250         * elf/tst-audit6.c: Likewise.
80252         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
80254 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
80256         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
80258 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80260         * po/cs.po: Update from translation team.
80261         * po/bg.po: Likewise.
80263 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
80265         * misc/sys/cdefs.h: Add support for const attribute.
80266         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
80267         to gnu_dev_{major,minor,makedev} functions.
80269 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
80271         * intl/dcigettext.c (get_output_charset): Add missing bracket.
80273 2011-07-20  Andreas Schwab  <schwab@redhat.com>
80275         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
80276         strlen results.
80278 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
80281         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
80282         register in order to avoid conflicts with the soft frame pointer
80283         being held in r11 when necessary.
80284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
80285         (INTERNAL_VSYSCALL_NCS): Likewise.
80287 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
80289         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
80290         * elf/dl-fini.c (_dl_fini): Adjust caller.
80291         * elf/dl-close.c (_dl_close_worker): Likewise.
80292         * sysdeps/generic/ldsodefs.h: Adjust declaration.
80294 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80296         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80297         "aux_cache->nlibs < 0".
80299         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80300         in the reload-count case.
80302 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80305         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80306         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80307         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80308         * sysdeps/x86_64/multiarch/strcat.S: New file.
80309         * sysdeps/x86_64/multiarch/strncat.S: New file.
80310         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80311         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80312         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80313         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80314         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80315         (USE_AS_STRCAT): Define.
80316         Add strcat and strncat support.
80317         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80318         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80319         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80320         * string/strncat.c: Update.
80321         (USE_AS_STRNCAT): Define.
80322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80323         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80324         and i7.
80325         * sysdeps/x86_64/multiarch/init-arch.h
80326         (bit_Prefer_PMINUB_for_stringop): New.
80327         (index_Prefer_PMINUB_for_stringop): Likewise.
80328         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80329         bit_Prefer_PMINUB_for_stringop.
80331 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80333         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80334         buffer64.
80335         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80336         of casting of buffer.
80337         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80338         buffer32 and buffer64.
80339         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80340         writes instead of casting of buffer.
80341         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80342         buffer32.
80343         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80344         casting of buffer.
80346 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80348         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80350 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80352         * nscd/nscd.c (termination_handler): Don't do anything for a database
80353         if it has not yet been initialized.
80355 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80357         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80359 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80361         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80363 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80365         * po/nl.po: Update from translation team.
80366         * po/sv.po: Likewise.
80368 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80370         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80371         now disallowed by GCC.
80373         * configure.in (use-default-link): Default to yes if a test -shared
80374         link meets our qualifications.
80375         * configure: Regenerated.
80377         * config.make.in (output-format): New variable.
80378         * configure.in: Check for ld --print-output-format support.
80379         * configure: Regenerated.
80380         * Makerules ($(common-objpfx)format.lds)
80381         [$(output-format) != unknown]: Just use $(output-format),
80382         instead of the linker-script munging.
80384 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80386         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80387         of $(common-objpfx)shlib.lds.
80388         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80390         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80391         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80393         * configure.in (-z relro check): Adjust test code to add a large
80394         writable data section after it.
80395         * configure: Regenerated.
80397 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80399         * configure.in (-z relro check): Fix test code to make the variable
80400         truly const.
80401         * configure: Regenerated.
80403 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80405         * nscd/nscd.h (struct traced_file): Define.
80406         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80407         elements.  Add traced_files.
80408         (inotify_fd): Declare.
80409         (register_traced_file): Declare.
80410         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80411         (inotify_fd): Export.
80412         (resolv_conf_descr): Remove.
80413         (nscd_init): Move inotify descriptor creation to main.
80414         Don't register files for notification here.
80415         (register_traced_file): New function.
80416         (invalidate_cache): Don't use reset_res to determine whether to call
80417         res_init, go through the list of registered files.
80418         (main_loop_poll): The inotify descriptors are now stored in the
80419         structures for the traced files.
80420         (main_loop_epoll): Likewise.
80421         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80422         to __nss_disable_nscd.
80423         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80424         for a database anymore.  Check the records for all the registered
80425         files instead.
80426         * nss/Makefile (libnss_files-routines): Add files-init.
80427         (libnss_db-routines): Add db-init.
80428         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80429         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80430         * nss/nss_db/db-init.c: New file.
80431         * nss/nss_files/files-init.c: New file.
80432         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80433         __nss_lookup_function.
80434         (__nss_lookup_function): Call nss_load_library.
80435         (nss_load_all_libraries): New function.
80436         (__nss_disable_nscd): Take parameter with callback function for files
80437         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80438         used for the cached services.
80439         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80440         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80441         options for features to all the files in nscd.
80443         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80445 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80447         * csu/elf-init.c (__libc_csu_init): Comment typo.
80449 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80451         * po/pl.po: Update from translation team.
80452         * po/ja.po: Likewise.
80453         * po/ru.po: Likewise.
80454         * po/ko.po: Likewise.
80455         * po/fr.po: Likewise.
80457 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80459         * configure.in (.ctors/.dtors header and trailer check):
80460         Use an empirical test on a built program.
80461         * configure: Regenerated.
80463         * configure.in (-z relro check): Use an empirical test on a built DSO.
80464         Detect, but do not require, on ia64.
80465         * configure: Regenerated.
80467         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80468         Update tests that use readelf to use $READELF instead.
80469         * configure: Regenerated.
80471 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80473         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80474         if the result is not used.
80476 2011-07-05  Andreas Jaeger  <aj@suse.de>
80478         [BZ#9696]
80479         * stdlib/tst-strtod.c: Add testcase.
80481 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80483         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80484         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80485         The latter has a higher limit.  Take additional parameter to pass to
80486         the new function.
80487         (__pathconf): Pass file to __statfs_link_max.
80488         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80489         __statfs_link_max.
80490         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80491         __statfs_link_max.
80493         [BZ #12868]
80494         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80495         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80496         Handle Lustre.
80497         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80498         (__statfs_filesize_max): Likewise.
80499         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80501 2011-07-05  Andreas Jaeger  <aj@suse.de>
80503         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80505 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80507         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80508         `status' variable.
80509         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80510         Likewise.
80512 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80514         * Makefile (strop-tests): Add strncat.
80515         * string/test-strncat.c: New file.
80517 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80519         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80521 2011-06-21  Andreas Jaeger  <aj@suse.de>
80523         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80524         Copy rule from iconvdata/Makefile.
80526 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80528         [BZ #12922]
80529         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80530         but no long options are defined, just return 'W'.
80532 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80534         [BZ #9696]
80535         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80537 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80539         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80540         netgroups to read.
80541         (innetgr): Likewise.
80543 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80545         * config.make.in (install_root): Default to $(DESTDIR).
80547 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80549         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80551 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80553         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80555         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80556         containing directory rather than embedding absolute directory names.
80558         * scripts/check-local-headers.sh: Rewritten using awk.
80559         Match by word, not by line.  Print error messages for matches.
80560         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80562         * Makerules [shlib-lds-flags empty]:
80563         ($(common-objpfx)libc_pic.opts): New target.
80564         ($(common-objpfx)libc_pic.os.clean): New target.
80565         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80567         * config.make.in (OBJCOPY): New variable.
80568         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80569         * configure: Regenerated.
80571         * config.make.in (use-default-link): New variable.
80572         * configure.in (use_default_link): Grok --with-default-link to set it.
80573         * configure: Regenerated.
80574         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80575         (shlib-lds, shlib-lds-flags): Define to empty.
80577         * Makerules (shlib-lds): New variable.
80578         (shlib-lds-flags): New variable.
80579         (build-shlib, build-moduile, build-module-asneeded): Use it.
80580         ($(common-objpfx)libc.so): Use $(shlib-lds).
80581         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80582         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80584         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80585         DT_FLAGS/DT_FLAGS_1 with zero flags.
80587         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80588         linker script munging.
80590 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80592         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80593         as 128-bit value.
80594         * crypt/sha512.c (sha512_process_block): Perform total addition using
80595         128-bit if possible.
80596         (__sha512_finish_ctx): Likewise.
80597         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80598         as 64-bit value.
80599         * crypt/sha256.c (SWAP64): Define.
80600         (sha256_process_block): Perform total addition using 64-bit if
80601         possible.
80602         (__sha256_finish_ctx): Likewise.
80604 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80606         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80607         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80608         * nscd/hstcache.c (cache_addhst): Likewise.
80609         * nscd/grpcache.c (cache_addgr): Likewise.
80610         * nscd/aicache.c (addhstaiX): Likewise.
80611         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80613 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80615         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80616         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80617         * nscd/hstcache.c (cache_addhst): Likewise.
80618         * nscd/grpcache.c (cache_addgr): Likewise.
80619         * nscd/aicache.c (addhstaiX): Likewise.
80621 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80623         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80624         domain only when needed.
80626 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80629         is always restored.
80631 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80633         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80634         are re-adding the entry.
80635         * nscd/servicescache.c (cache_addserv): Likewise.
80637 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80639         * sysdeps/generic/dl-irel.h: fix protection against multiple
80640         inclusions.
80641         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80643 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80645         [BZ #12935]
80646         * malloc/memusage.sh: Fix quoting in message.
80647         * debug/xtrace.sh: Likewise.
80649         * configure.in: Remove support for --experimental-malloc option, make
80650         it the default.
80651         * config.make.in: Likewise.
80652         * malloc/Makefile: Likewise.
80654 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80656         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80657         two-byte characters.
80659 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80661         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80662         AC_CACHE_CHECK invocation.
80663         * configure: Regenerated.
80665         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80667 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80669         [BZ #12350]
80670         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80671         bit from old_res_options.
80673         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80675         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80676         value type for setfct.
80678 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80680         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80681         __gettimeofday instead of gettimeofday.
80683 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80685         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80687 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80689         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80691         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80692         info.
80694 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80697         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80698         strcpy-sse2-unaligned strncpy-sse2-unaligned
80699         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80700         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80701         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80702         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80703         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80704         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80705         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80706         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80707         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80708         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80709         (STRCPY): Support SSE2 and SSSE3 versions.
80711 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80713         [BZ #12874]
80714         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80715         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80716         kernels which artificially limit size of requests.
80718 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80721         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80722         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80723         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80724         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80725         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80726         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80727         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80728         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80729         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80730         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80731         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80732         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80733         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80734         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80736         Enable unaligned load optimization for Intel Core i3, i5 and i7
80737         processors.
80738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80739         Define.
80740         (index_Fast_Unaligned_Load): Define.
80741         (HAS_FAST_UNALIGNED_LOAD): Define.
80743 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80745         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80747 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80749         [BZ #12907]
80750         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80751         until it is clear that the information is realy needed.
80752         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80754 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80758 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80760         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80761         /sys/devices/system/cpu/online if it is usable.
80763         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80764         reading the information from the /proc filesystem to once a second.
80766 2011-06-21  Andreas Jaeger  <aj@suse.de>
80768         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80769         NULL after inclusion of kernel headers.
80771 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80773         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80774         calls to internal_setent.
80776         [BZ #12885]
80777         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80778         addresses using gethostbyname4_r ignore IPv4 addresses.
80780         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80781         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80783         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80785 2011-06-20  David S. Miller  <davem@davemloft.net>
80787         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80788         inclusions.
80789         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80791         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80792         (elf_irel): Use it.
80793         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80794         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80795         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80796         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80797         * sysdeps/x86_64/dl-irel.h: Likewise.
80799         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80800         * elf/dl-sym.c: Likewise.
80802 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80804         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80805         need to dereference resplen2.
80807 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80809         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80811 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80813         * Makeconfig: Define vardbdir and inst_vardbdir.
80814         * nss/Makefile: Add rules to install db-Makefile.
80816         * nss/nss_db/db-XXX.c: Cleanup.
80818         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80819         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80820         GLIBC_PRIVATE.
80821         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80822         * nss/makedb.c: Implement -g option to specify that value strings
80823         are generated and should not be added to table iterated over for
80824         get*ent calls.
80825         * nss/nss_db/db-initgroups.c: New file.
80827         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80828         interface.
80830         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80831         (internal_getgrouplist): Adjust to name change.
80832         Update use_initgroups_entry if this is not the first call.
80833         * nss/databases.def: Add initgroups entry.
80835         * nss/makedb.c (compute_tables): Check result of multiple hash table
80836         sizes to minimize maximum chain length.
80838 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80840         * Versions.def: Add entry for libnss_db.
80841         * shlib-versions: Likewise.
80842         * nss/Makefile: Add rules to build libnss_db.
80843         * nss/Versions: Add libnss_db information.  Organize libnss_files
80844         entries better.
80845         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80846         makedb progra.  Some minor improvements to generate smaller files.
80847         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80848         here from...
80849         * nss/makedb.c: ...here.
80850         Improve database format to be smaller and require less memory at
80851         runtime.
80852         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80853         db anymore.
80854         * nss/nss_db/db-netgrp.c: Likewise.
80855         * nss/nss_db/db-open.c: Likewise.
80856         * nss/nss_files/flies-XXX.x: Adjust comments.
80857         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80858         * nss/nss_files/files-grp.c: Likewise.
80859         * nss/nss_files/files-hosts.c: Likewise.
80860         * nss/nss_files/files-network.c: Likewise.
80861         * nss/nss_files/files-proto.c: Likewise.
80862         * nss/nss_files/files-pwd.c: Likewise.
80863         * nss/nss_files/files-rpc.c: Likewise.
80864         * nss/nss_files/files-service.c: Likewise.
80865         * nss/nss_files/files-sgrp.c: Likewise.
80866         * nss/nss_files/files-spwd.c: Likewise.
80867         * nss/nss_db/db-alias.c: Removed.
80868         * nss/nss_db/dummy-db.h: Removed.
80870 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80872         * nss/makedb.c: Rewritten to not use database library.
80873         * nss/Makefile: Update to build new makedb program.
80875 2011-06-14  Andreas Jaeger  <aj@suse.de>
80877         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80878         memset declaration.
80880 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80883         tmpbuf.
80885 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80887         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80888         * elf/Makefile ($(objpfx)ld.so): Likewise.
80890         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80891         Don't list ld.so twice in dependencies.
80893         * posix/bug-regex31.c: Include <stdlib.h>.
80895         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80897         * nis/nss_compat/compat-spwd.c
80898         (getspent_next_nss_netgr): Remove unused variable.
80899         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80901         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80902         nonmembers" output to use the right array.
80904         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80906         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80908         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80909         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80910         * catgets/gencat.c (read_input_file): Likewise.
80911         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80913         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80914         variable definition inside #if's controlling its use.
80916         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80918         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80920         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80922         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80923         unreachable code.
80925         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80927         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80928         * configure: Regenerated.
80930         * Makerules: Revert last change.
80931         * elf/Makefile: Likewise.
80933 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80935         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80936         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80937         (reloc-link): Likewise.
80939 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80941         * elf/Makefile: Add rules to build pldd.
80942         * elf/pldd.c: New file.
80943         * elf/pldd-xx.c: New file.
80945 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80947         * version.h: Update for 2.15 development version.
80949 2011-06-07  David S. Miller  <davem@davemloft.net>
80951         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80952         ifuncs.
80953         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80954         elf_machine_lazy_rel): Likewise.
80955         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80956         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80957         elf_machine_lazy_rel): Likewise.
80958         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80959         dl_hwcap via passed in argument.
80960         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80961         Likewise.
80963 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80965         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80967 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80969         [BZ #12849]
80970         * manual/fdl-1.1.texi: New file, verbatim from:
80971         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80972         * manual/lgpl-2.1.texi: New file, verbatim from:
80973         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80974         * manual/Makefile (licenses): New variable, list those new file names.
80975         (texis): Use it.
80976         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80978         * manual/fdl.texi: File removed.
80979         * manual/lesser.texi: File removed.
80980         * manual/libc.texinfo (Copying, Documentation License):
80981         Use new @include file names, put @appendix directive before @include.
80983 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80985         [BZ #12841]
80986         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80987         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80988         (mq_open): Add __NTH.
80990 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80993         Assume Intel Core i3/i5/i7 processor if AVX is available.
80995 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80997         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80998         typo.
81000 2011-05-31  Andreas Schwab  <schwab@redhat.com>
81002         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
81003         memory.  Use alloca_account.  Fix memory leak when retrying.
81005 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
81007         * version.h (RELEASE): Bump for 2.14 release.
81008         * include/features.h (__GLIBC_MINOR__): Bump to 14.
81010         * config.make.in (RANLIB): Remove entry.
81012 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
81014         * po/Makefile (po-sed-cmd): Add ksh to extensions.
81015         (libc.pot): Work around missing support for .ksh extension in xgettext.
81017         [BZ #12684]
81018         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
81019         if both request failed.
81020         (send_dg): In case of server errors clear resplen or *resplen2.
81022         [BZ #12454]
81023         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
81024         when there are multiple maps.
81025         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
81026         (_dl_fini): Remove test here.
81028         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
81030 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
81032         [BZ #12350]
81033         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
81034         bit from old_res_options.
81035         (gaih_inet): Likewise.
81037         [BZ #11099]
81038         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
81039         as signed.
81041         * resolv/res_init.c (res_setoptions): Make the code more compact.
81043         [BZ #11558]
81044         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
81045         set RES_USEVC.
81047         [BZ #11634]
81048         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
81050         * malloc/malloc.h: Mark malloc hook variables as deprecated.
81052         [BZ #11781]
81053         * malloc/malloc.h: Declare malloc hook variables as volatile.
81055         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
81056         in last patch.
81058         [BZ #11799]
81059         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
81060         raise in the comment.
81061         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81062         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81063         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
81065 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
81067         [BZ #12811]
81068         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
81069         grow the buffers more if it already has to be sufficient.
81070         (build_wcs_upper_buffer): Likewise.
81071         * posix/regexec.c (check_matching): Likewise.
81072         (clean_state_log_if_needed): Likewise.
81073         (extend_buffers): Don't enlarge buffers beyond size of the input
81074         buffer.
81075         Patches mostly by Emil Wojak <emil@wojak.eu>.
81076         * posix/bug-regex32.c: New file.
81077         * posix/Makefile (tests): Add bug-regex32.
81079         * locale/findlocale.c (_nl_find_locale): Return right away if
81080         _nl_explode_name failed.
81081         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
81083         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
81085         * debug/xtrace.sh: Unify messages.
81086         * malloc/memusage.sh: Likewise.
81088         [BZ #12813]
81089         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
81090         time symbol from vDSO.  Substitute with vsyscall if not available.
81091         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
81092         __vdso_time.
81094         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
81095         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
81096         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
81097         Add sendmmsg and internal_sendmmsg.
81098         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
81099         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
81100         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
81102         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
81103         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
81104         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
81106 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
81108         [BZ #12813]
81109         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
81110         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
81111         available.
81112         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
81113         __vdso_getcpu.
81115         [BZ #12814]
81116         * iconvdata/Makefile (tests): Add bug-iconv9.
81117         * iconvdata/bug-iconv9.c: New file.
81119 2011-05-27  Andreas Schwab  <schwab@redhat.com>
81121         [BZ #12814]
81122         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
81124 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
81126         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81127         (struct user_regs_struct): Change intcs field back to cs.
81129 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
81131         * po/ja.po: Update from translation team.
81133 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
81135         [BZ #12795]
81136         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
81137         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
81139 2011-05-20  Andreas Schwab  <schwab@redhat.com>
81141         * stdlib/longlong.h: Update from GCC.
81143 2011-05-23  Andreas Schwab  <schwab@redhat.com>
81145         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
81146         parameter name.
81147         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
81148         Add parameter name.
81149         (__sysconf): Pass it down.
81151 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
81153         [BZ #12671]
81154         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
81155         some situations.
81156         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
81157         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
81158         add in in __libc_use_alloca calls.  Adjust callers.
81159         (glob): Use malloc in some situations.
81161         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
81162         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
81163         pltexit.
81165 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
81167         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
81168         and CLOCK_BOOTTIME_ALARM.
81170         [BZ #12782]
81171         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
81172         is returned.
81174         * string/_strerror.c (__strerror_r): Print negative errors as signed
81175         numbers.
81177         [BZ #12777]
81178         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
81179         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
81180         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
81182         * configure.in: Fix typo in redirection and correct removal of test
81183         files in two cases.
81185         [BZ #12788]
81186         * locale/setlocale.c (new_composite_name): Fix test to check for
81187         identical name of all categories.
81189         [BZ #12792]
81190         * libio/filedoalloc.c (local_isatty): New function.
81191         (_IO_file_doallocate): Use local_isatty.
81192         * stdio-common/perror.c (perror): In case a new stream is used
81193         forward the stream error.
81194         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
81195         error flag.
81197 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
81199         [BZ #11884]
81200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
81201         alloca.
81202         * include/alloca.h (extend_alloca_account): Define.
81204         [BZ #11857]
81205         * posix/regex.h: Fix comments with documentation of user-accessible
81206         fields after compilation and describe correct free'ing of pattern
81207         after re_compile_pattern.
81208         Patch by Reuben Thomas <rrt@sc3d.org>.
81210 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
81212         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
81213         and -mno-altivec to prevent the compiler from using Altivec and/or
81214         VSX instructions when the corresponding registers are not available.
81216 2011-05-19  Andreas Schwab  <schwab@redhat.com>
81218         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
81220 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
81222         * libio/freopen.c (freopen): Use __dup2, not dup2.
81223         * libio/freopen64.c (freopen64): Likewise.
81225 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81227         [BZ #12775]
81228         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
81229         * math/Makefile (tests): Add test-powl.
81230         (CFLAGS-test-powl.c): Define.
81231         * math/test-powl.c: New file.
81233 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81235         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
81237 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
81239         [BZ #11837]
81240         * iconvdata/gb18030.c: Update to GB18020-2005.
81242 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
81244         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
81245         RE_SYNTAX_POSIX_AWK): Update to match recent development.
81246         Patch by Aharon Robbins <arnold@skeeve.com>.
81248         [BZ #11892]
81249         * stdlib/putenv.c (putenv): Don't always create copy of the variable
81250         on the stack.
81252         [BZ #11895]
81253         * misc/pselect.c (__pselect): Handle timeout value errors hidden
81254         through underflows.
81256         [BZ #12766]
81257         * misc/error.c (error_at_line): Ensure file_name and old_file_name
81258         point to strings before performing equality test for error_one_per_line
81259         mode.
81261         [BZ #11697]
81262         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
81264         [BZ #11820]
81265         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81266         (struct user_fpregs_struct): Avoid __uint*_t types.
81268         [BZ #6420]
81269         * malloc/mtrace.c (tr_where): Add additional parameter to point to
81270         symbol info.  Use it instead of calling _dl_addr locally.
81271         (lock_and_info): New function.
81272         (tr_freehook): Call lock_and_info and pass symbol info as additional
81273         parameter to tr_where.
81274         (tr_mallochook): Likewise.
81275         (tr_reallochook): Likewise.
81276         (tr_memalignhook): Likewise.
81278         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
81279         used and couldn't be at all thread-safe.
81281 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
81283         * libio/freopen.c (freopen): Don't close old file descriptor
81284         before the new one is opened.  Instead dup the new file descriptor
81285         to the old one after the new stream is created.
81286         * libio/freopen64.c (freopen64): Likewise.
81287         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
81288         * libio/fileops.c (_IO_new_file_close_it): Handle new
81289         _IO_FLAGS2_NOCLOSE flag.
81290         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81291         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81292         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81293         _IO_FLAGS2_NOCLOSE flag.
81294         * include/unistd.h: Add hidden_proto for dup3.
81295         Define __have_dup3.
81296         * io/dup3.c: Define hidden symbol.
81297         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81299         [BZ #7101]
81300         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81301         when an incomplete long option is used.
81302         * posix/tst-getopt_long1.c: New file.
81303         * posix/Makefile (tests): Add tst-getopt_long1.
81305         [BZ #10138]
81306         * scripts/config.guess: Update from autoconf-2.68.
81307         * scripts/config.sub: Likewise.
81309         [BZ #10157]
81310         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81311         tests into ...
81312         (has_cpuclock): ...this.  New function.
81313         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81314         macro here based on has_cpuclock code.
81316         [BZ #10149]
81317         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81318         First byte (not low byte) is now always NUL.
81319         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81321         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81322         Use non-cancelable interfaces.
81324         [BZ #9809]
81325         * locale/iso-639.def: Add entry for Sorani.
81327         [BZ #11901]
81328         * include/stdlib.h: Move include protection to the right place.
81329         Define abort_msg_s.  Declare __abort_msg with it.
81330         * stdlib/abort.c (__abort_msg): Adjust type.
81331         * assert/assert.c (__assert_fail_base): New function.  Majority
81332         of code from __assert_fail.  Allocate memory for __abort_msg with
81333         mmap.
81334         (__assert_fail): Now call __assert_fail_base.
81335         * assert/assert-perr.c: Remove bulk of implementation.  Use
81336         __assert_fail_base.
81337         * include/assert.hL Declare __assert_fail_base.
81338         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81339         mmap.
81340         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81342 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81344         [BZ #11952]
81345         [BZ #12453]
81346         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81347         until all modules are registered in the DTV.
81348         * elf/Makefile: Add rules to build and run tst-tls19.
81349         * elf/tst-tls19.c: New file.
81350         * elf/tst-tls19mod1.c: New file.
81351         * elf/tst-tls19mod2.c: New file.
81352         * elf/tst-tls19mod3.c: New file.
81353         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81355         [BZ #12083]
81356         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81357         correctly.
81359         [BZ #12601]
81360         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81361         two-byte sequence errors.
81362         * iconvdata/Makefile (tests): Add bug-iconv8.
81363         * iconvdata/bug-iconv8.c: New file.
81365         [BZ #12626]
81366         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81367         buf2 definition.
81369         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81371         [BZ #12432]
81372         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81373         (dummy_getcfa): New function.
81374         (init): Get _Unwind_GetCFA address, use dummy if not found.
81375         (backtrace_helper): In recursion check, also check whether CFA changes.
81376         (__backtrace): Completely initialize arg.
81378         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81379         storing incomplete byte sequence in state object.  Avoid testing for
81380         guaranteed too small input if we know there is enough data available.
81382 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81384         * Makeconfig (+link-pie): Indent.
81385         * Rules (binaries-pie): Define if $(have-fpie) and
81386         $(build-shared).
81387         (binaries-shared): Also filter out $(binaries-pie).
81388         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81389         * nscd/Makefile (others-pie): Add nscd.
81390         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81391         ($(objpfx)nscd): Remove command override.
81392         * login/Makefile (others-pie): Add pt_chown.
81393         ($(objpfx)pt_chown): Remove command override.
81394         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81395         remove command overrides.
81397 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81399         * libio/tst_putwc.c: Fix error messages.
81401         [BZ #12724]
81402         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81403         currently writing and seek to current position when not.
81404         * libio/Makefile (tests): Add bug-fclose1.
81405         * libio/bug-fclose1.c: New file.
81407 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81409         [BZ #12511]
81410         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81411         don't set DF_1_NODELETE here.
81412         (do_lookup_x): When entering new entry test for copy relocation
81413         and if necessary set DF_1_NODELETE flag.
81414         * elf/tst-unique4.cc: New file.
81415         * elf/tst-unique4.h: New file.
81416         * elf/tst-unique4lib.cc: New file.
81417         * elf/Makefile: Add rules to build and run tst-unique4.
81418         Patch by Piotr Bury <pbury@goahead.com>.
81420 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81422         [BZ #12052]
81423         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81425         [BZ #12625]
81426         * misc/mntent_r.c (addmntent): Flush the stream after the output
81428         [BZ #12393]
81429         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81430         (is_trusted_path_normalize): Skip initial colon.  Append slash
81431         to empty buffer.  Duplicate is_trusted_path code but allow
81432         constructed patch to be prefix.
81433         (is_dst): Allow $ORIGIN followed by /.
81434         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81435         Correct testing of result of is_trusted_path_normalize
81436         (decompose_rpath): Fix warning.
81438 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81440         [BZ #11257]
81441         * grp/initgroups.c (internal_getgrouplist): When we found the service
81442         list through the initgroups entry in nsswitch.conf do not always
81443         continue on a successful lookup.  Don't always use the
81444         __nss_group_database value if it is set.
81445         * nss/nsswitch.conf (initgroups): Change action for successful db
81446         lookup to continue for compatibility.
81448 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81450         [BZ #11532]
81451         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81452         and CP774 modules.
81453         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81454         and CP774 modules.
81455         * iconvdata/tst-tables.sh: Likewise.
81456         * iconvdata/cp770.c: New file.
81457         * iconvdata/cp771.c: New file.
81458         * iconvdata/cp772.c: New file.
81459         * iconvdata/cp773.c: New file.
81460         * iconvdata/cp774.c: New file.
81461         * iconvdata/testdata/CP770: New file.
81462         * iconvdata/testdata/CP770..UTF8: New file.
81463         * iconvdata/testdata/CP771: New file.
81464         * iconvdata/testdata/CP771..UTF8: New file.
81465         * iconvdata/testdata/CP772: New file.
81466         * iconvdata/testdata/CP772..UTF8: New file.
81467         * iconvdata/testdata/CP773: New file.
81468         * iconvdata/testdata/CP773..UTF8: New file.
81469         * iconvdata/testdata/CP774: New file.
81470         * iconvdata/testdata/CP774..UTF8: New file.
81472         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81473         END CHARMAP line.
81474         * iconvdata/gen-8bit-gap.sh: Likewise.
81475         * iconvdata/gen-8bit.sh: Likewise.
81477         * locale/iso-639.def: Add ary entry.
81479         [BZ #11258]
81480         * locale/C-translit.h.in: Add U20A1 transliteration.
81482         [BZ #12178]
81483         * locale/iso-639.def: Add wae entry.
81484         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81486         [BZ #12545]
81487         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81488         for n.
81490         [BZ #12711]
81491         * locale/C-translit.h.in: Add entry for U20B9.
81492         Patch by pravin.d.s@gmail.com.
81494 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81496         [BZ #12713]
81497         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81498         ENAMETOOLONG use generic getcwd.
81499         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81500         in rtld.  Use *stat64.
81501         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81502         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81503         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81504         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81505         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81506         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81507         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81508         __fstatat64 macros.
81509         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81510         * dirent/rewinddir.c: Add libc_hidden_def.
81511         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81512         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81514         * include/dirent.h (__alloc_dir): Add flags parameter.
81515         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81516         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81517         __alloc_dir.
81518         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81519         from fdopendir if O_CLOEXEC is already set.
81521 2011-03-15  Alan Modra  <amodra@gmail.com>
81523         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81524         l_tls_firstbyte_offset non-zero.  Save padding offset in
81525         l_tls_firstbyte_offset for later use.
81526         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81527         freeing static tls block.
81529 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81531         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81532         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81533         being defined by the kernel headers.
81535 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81537         [BZ #12734]
81538         * resolv/resolv.h: Define RES_NOTLDQUERY.
81539         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81540         no-tld-query and set RES_NOTLDQUERY.
81541         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81542         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81543         modern BIND to search name as TLD unless forbidden.
81545 2011-05-07  Petr Baudis  <pasky@suse.cz>
81546             Ulrich Drepper  <drepper@gmail.com>
81548         [BZ #12393]
81549         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81550         (is_trusted_path): ...to here.
81551         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81552         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81553         using is_trusted_path_normalize() in setuid scripts.
81555 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81557         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81558         __BEGIN/__END_DECLS.
81560 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81562         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81563         NSS_STATUS_NOTFOUND if no record was found.
81565 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81567         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81568         (headers-not-in-tirpc): Remove rpc/netdb.h
81569         * resolv/netdb.h: Revert last change.
81571 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81573         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81574         circular dependency between libgcc.a and libc.a.
81576 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81578         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81579         * nis/Makefile: Don't install rpcsvc/*.
81580         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81581         instead of <rpc/types.h>.
81582         (MAXHOSTNAMELEN): Define.
81584 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81586         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81588 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81590         [BZ #12714]
81591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81592         gethostbyname4_r when IPv6 results are possible.
81594 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81596         [BZ #12723]
81597         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81598         _PC_PIPE_BUF handling.
81600 2011-04-30  Bruno Haible  <bruno@clisp.org>
81602         [BZ #12717]
81603         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81604         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81605         to 'int'.
81606         * inet/getnameinfo.c (getnameinfo): Likewise.
81608 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81610         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81611         to groups setting in database lookup.
81612         * nss/nsswitch.conf: Add initgroups entry.
81614 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81616         [BZ #12685]
81617         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81618         mode string.
81619         Patch by Eric Blake <eblake@redhat.com>.
81621 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81623         * sunrpc/Makefile (need-export-routines): Add svc_run.
81624         (routines): Remove svc_run.
81625         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81626         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81627         * sunrpc/svc_run.c (svc_run): Likewise.
81628         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81630 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81632         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81633         problem in reallocation in last patch.
81635 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81637         * sunrpc/Makefile: Move inclusion of Rules.
81639 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81641         * nss/nss_files/files-initgroups.c: New file.
81642         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81643         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81644         _nss_files_initgroups_dyn.
81646 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81648         * elf/elf.h (R_ARM_IRELATIVE): Define.
81650 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81652         * po/ru.po: Update from translation team.
81654 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81656         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81657         dependencies.
81659 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81661         [BZ #12653]
81662         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81663         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81664         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81665         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81666         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81668 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81670         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81671         differing bytes.
81672         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81673         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81674         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81676 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81678         [BZ #12420]
81679         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81680         storing it.
81681         * stdlib/bug-getcontext.c: New file.
81682         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81684 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81686         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81687         instructions into .machine "z9-109".
81688         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81689         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81691 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81693         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81694         between environment variables and auxiliary vector.
81696 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81698         * Makefile: Add rules to build linkobj/libc.so.
81699         * include/libc-symbols.h: Define libc_hidden_nolink.
81700         * include/rpc/auth.h: Mark functions which are to be hidden.
81701         * include/rpc/auth_des.h: Likewise.
81702         * include/rpc/auth_unix.h: Likewise.
81703         * include/rpc/clnt.h: Likewise.
81704         * include/rpc/des_crypt.h: Likewise.
81705         * include/rpc/key_prot.h: Likewise.
81706         * include/rpc/pmap_clnt.h: Likewise.
81707         * include/rpc/pmap_prot.h: Likewise.
81708         * include/rpc/pmap_rmt.h: Likewise.
81709         * include/rpc/rpc_msg.h: Likewise.
81710         * include/rpc/svc.h: Likewise.
81711         * include/rpc/svc_auth.h: Likewise.
81712         * include/rpc/xdr.h: Likewise.
81713         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81714         * nss/Makefile: Likewise.
81715         * sunrpc/Makefile: Don't install headers.  Build library with normal
81716         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81717         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81718         for the compat linking library.  Remove use of INTDEF/INTUSE.
81719         * sunrpc/auth_none.c: Likewise.
81720         * sunrpc/auth_unix.c: Likewise.
81721         * sunrpc/authdes_prot.c: Likewise.
81722         * sunrpc/authuxprot.c: Likewise.
81723         * sunrpc/clnt_gen.c: Likewise.
81724         * sunrpc/clnt_perr.c: Likewise.
81725         * sunrpc/clnt_raw.c: Likewise.
81726         * sunrpc/clnt_simp.c: Likewise.
81727         * sunrpc/clnt_tcp.c: Likewise.
81728         * sunrpc/clnt_udp.c: Likewise.
81729         * sunrpc/clnt_unix.c: Likewise.
81730         * sunrpc/des_crypt.c: Likewise.
81731         * sunrpc/des_soft.c: Likewise.
81732         * sunrpc/get_myaddr.c: Likewise.
81733         * sunrpc/key_call.c: Likewise.
81734         * sunrpc/key_prot.c: Likewise.
81735         * sunrpc/netname.c: Likewise.
81736         * sunrpc/pm_getmaps.c: Likewise.
81737         * sunrpc/pm_getport.c: Likewise.
81738         * sunrpc/pmap_clnt.c: Likewise.
81739         * sunrpc/pmap_prot.c: Likewise.
81740         * sunrpc/pmap_prot2.c: Likewise.
81741         * sunrpc/pmap_rmt.c: Likewise.
81742         * sunrpc/publickey.c: Likewise.
81743         * sunrpc/rpc_cmsg.c: Likewise.
81744         * sunrpc/rpc_common.c: Likewise.
81745         * sunrpc/rpc_dtable.c: Likewise.
81746         * sunrpc/rpc_prot.c: Likewise.
81747         * sunrpc/rpc_thread.c: Likewise.
81748         * sunrpc/rtime.c: Likewise.
81749         * sunrpc/svc.c: Likewise.
81750         * sunrpc/svc_auth.c: Likewise.
81751         * sunrpc/svc_authux.c: Likewise.
81752         * sunrpc/svc_raw.c: Likewise.
81753         * sunrpc/svc_run.c: Likewise.
81754         * sunrpc/svc_simple.c: Likewise.
81755         * sunrpc/svc_tcp.c: Likewise.
81756         * sunrpc/svc_udp.c: Likewise.
81757         * sunrpc/svc_unix.c: Likewise.
81758         * sunrpc/svcauth_des.c: Likewise.
81759         * sunrpc/xcrypt.c: Likewise.
81760         * sunrpc/xdr.c: Likewise.
81761         * sunrpc/xdr_array.c: Likewise.
81762         * sunrpc/xdr_float.c: Likewise.
81763         * sunrpc/xdr_intXX_t.c: Likewise.
81764         * sunrpc/xdr_mem.c: Likewise.
81765         * sunrpc/xdr_rec.c: Likewise.
81766         * sunrpc/xdr_ref.c: Likewise.
81767         * sunrpc/xdr_sizeof.c: Likewise.
81768         * sunrpc/xdr_stdio.c: Likewise.
81770 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81772         [BZ #12650]
81773         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81774         * sysdeps/ia64/dl-tls.h: Likewise.
81775         * sysdeps/powerpc/dl-tls.h: Likewise.
81776         * sysdeps/s390/dl-tls.h: Likewise.
81777         * sysdeps/sh/dl-tls.h: Likewise.
81778         * sysdeps/sparc/dl-tls.h: Likewise.
81779         * sysdeps/x86_64/dl-tls.h: Likewise.
81780         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81782 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81784         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81785         rpath element also skip the following colon.
81786         (expand_dynamic_string_token): Add is_path parameter and pass
81787         down to DL_DST_REQUIRED and _dl_dst_substitute.
81788         (decompose_rpath): Call expand_dynamic_string_token with
81789         non-zero is_path.  Ignore empty rpaths.
81790         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81791         with zero is_path.
81793 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81796         Make cancelable.
81798 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81800         [BZ #12655]
81801         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81802         Patch by Filipe David Manana <fdmanana@apache.org>.
81804 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81806         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81807         Maintain aligned stack.
81808         (CHECK_RSP): Remove unused macro.
81810 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81812         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81813         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81815 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81817         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81819         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81821 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81823         [BZ #12518]
81824         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81825         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81826         * sysdeps/x86_64/memmove.c: New file.
81827         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81828         (memcpy): Renamed to ...
81829         (__new_memcpy): This.
81830         (memcpy): Provide GLIBC_2_14 memcpy.
81831         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81832         (memcpy): Provide GLIBC_2_2_5 memcpy.
81834 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81836         [BZ #12631]
81837         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81839 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81841         * misc/syncfs.c: New file.
81842         * misc/Makefile (routines): Add syncfs.
81843         * posix/unistd.h: Declare syncfs.
81844         * sysdeps/unix/syscalls.list: Add syncfs.
81846 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81848         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81849         open_by_handle_at.
81850         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81851         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81852         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81853         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81855         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81856         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81858 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81860         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81861         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81862         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81864         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81866         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81868         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81869         sync_file_range.c with -fexceptions.
81870         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81871         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81872         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81873         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81874         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81875         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81876         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81877         sync_file_range as cancellation point
81878         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81879         now a wrapper around __call_sync_file_range with cancellation handling.
81880         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81881         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81882         function name to __call_sync_file_range.
81883         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81884         Add call_sync_file_range.
81886 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81889         bits/timex.h.
81891 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81893         * iconv/iconv.h: Fix typo in comment.
81894         * io/fcntl.h: Likewise.
81895         * libio/stdio.h: Likewise.
81896         * posix/spawn.h: Likewise.
81897         * posix/unistd.h: Likewise.
81898         * stdlib/stdlib.h: Likewise.
81899         * time/time.h: Likewise.
81900         * wcsmbs/wchar.h: Likewise.
81902         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81903         open_by_handle): Add.
81904         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81905         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81906         Augment a few comments.
81907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81909         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81911         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81912         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81913         open_by_handle.
81915         * io/fcntl.h (AT_EMPTY_PATH): Define.
81917 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81919         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81920         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81921         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81922         to...
81923         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81924         * Versions.def: Add GLIBC_2.14.
81925         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81926         Export.
81928 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81930         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81931         round counter.
81932         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81934 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81936         [BZ #12597]
81937         * string/test-strncmp.c (do_page_test): New function.
81938         (check2): Likewise.
81939         (test_main): Call check2.
81940         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81942 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81944         [BZ #12587]
81945         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81946         Handle cache information in CPU leaf 4.
81947         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81949 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81951         [BZ #12583]
81952         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81953         character representation.
81954         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81956 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81958         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81959         END(__isnan) to END(__isnanf) to match function entry point/label
81960         EALIGN(__isnanf,...).
81962 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81964         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81966 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81968         [BZ #12510]
81969         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81970         copy from the symbol referenced in the relocation to initialize the
81971         used variable.
81972         Patch by Piotr Bury <pbury@goahead.com>.
81973         * elf/Makefile: Add rules to build and tst-unique3.
81974         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81975         * elf/tst-unique3.cc: New file.
81976         * elf/tst-unique3.h: New file.
81977         * elf/tst-unique3lib.cc: New file.
81978         * elf/tst-unique3lib2.cc: New file.
81980         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81982 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81984         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81985         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81986         to _start.
81988 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81990         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81991         to-be-loaded object along a path to loader is ld.so.
81993 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81994             Ulrich Drepper  <drepper@gmail.com>
81996         * sysdeps/x86_64/memset.S: After aligning destination, code
81997         branches to different locations depending on the value of
81998         misalignment, when multiarch is enabled. Fix this.
82000 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
82002         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
82003         Set _x86_64_preferred_memory_instruction for AMD processsors.
82004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82005         Set bit_Prefer_SSE_for_memop for AMD processors.
82007 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
82009         * libio/fmemopen.c (fmemopen): Optimize a bit.
82011 2011-03-03  Andreas Schwab  <schwab@redhat.com>
82013         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
82015 2011-03-03  Roland McGrath  <roland@redhat.com>
82017         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
82019 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
82021         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
82022         __bzero_ultra1 instead of __memset_ultra1.
82024 2011-02-23  Andreas Schwab  <schwab@redhat.com>
82025             Ulrich Drepper  <drepper@gmail.com>
82027         [BZ #12509]
82028         * include/link.h (struct link_map): Add l_orig_initfini.
82029         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
82030         returning unsuccessfully.
82031         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
82032         close of a file loaded at startup, restore the original l_initfini
82033         list.
82034         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
82035         list, store the pointer.
82036         * elf/Makefile ($(objpfx)noload-mem): New rule.
82037         (noload-ENV): Define.
82038         (tests): Add $(objpfx)noload-mem.
82039         * elf/noload.c: Include <memcheck.h>.
82040         (main): Call mtrace.  Close all opened handles.
82042 2011-02-17  Andreas Schwab  <schwab@redhat.com>
82044         [BZ #12454]
82045         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
82046         dependencies are missing.
82048 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82050         Fix __if_freereq crash: Unlike the generic version which uses free,
82051         Hurd needs munmap.
82052         * sysdeps/mach/hurd/ifreq.h: New file.
82054 2011-01-27  Petr Baudis  <pasky@suse.cz>
82055             Ulrich Drepper  <drepper@gmail.com>
82057         [BZ 12445]#
82058         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
82059         to extend_alloca().
82060         * stdio-common/bug23.c: New file.
82061         * stdio-common/Makefile (tests): Add bug23.
82063 2010-09-28  Andreas Schwab  <schwab@redhat.com>
82064             Ulrich Drepper  <drepper@gmail.com>
82066         [BZ #12489]
82067         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
82068         before performing relro protection.  At old place add assertion
82069         to make sure nothing changed.
82071 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
82072             Glauber de Oliveira Costa  <glommer@gmail.com>
82074         * elf/elf.h: Add new ARM TLS relocs.
82076 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
82078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
82079         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
82080         cast from r3.
82081         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
82082         'tests' variable.
82083         * sysdeps/wordsize-64/tst-writev.c: New file.
82085 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
82087         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
82088         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
82089         insns in _dl_start to prevent a TOC reference before relocs are
82090         resolved.
82092 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
82094         [BZ #12469]
82095         * Makeconfig: Remove RANLIB definition.
82096         * Makerules: Don't use RANLIB.
82097         * aclocal.m4: Remove ranlib test.
82098         * configure.in: No need to check for ranlib.
82099         * elf/rtld-Rules: Don't use RANLIB.
82101 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82103         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
82104         protection macro.
82105         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
82106         inclusion protection macro.
82108         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
82109         SIGRTMIN and SIGRTMAX and print information in that case only when
82110         SIGRTMIN is defined.
82112 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
82114         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
82115         arginfo fn returning -1.
82117         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
82118         and thousands string is zero terminated.
82120 2011-02-03  Andreas Schwab  <schwab@redhat.com>
82122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
82123         sysdeps/unix/sysv/linux/bits/socket.h.
82125 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82127         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
82128         (__CPU_COUNT): Remove old macros.
82129         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
82130         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
82131         (__CPU_ALLOC, __CPU_FREE): Add macros.
82132         (__sched_cpualloc, __sched_cpufree): Add declarations.
82134 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
82136         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
82137         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
82138         * nscd/aicache.c (addhstaiX): Return timeout of added value.
82139         (readdhstai): Return value of addhstaiX call.
82140         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
82141         (addgrbyX): Return value returned by cache_addgr.
82142         (readdgrbyname): Return value returned by addgrbyX.
82143         (readdgrbygid): Likewise.
82144         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
82145         (addpwbyX): Return value returned by cache_addpw.
82146         (readdpwbyname): Return value returned by addhstbyX.
82147         (readdpwbyuid): Likewise.
82148         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
82149         (addservbyX): Return value returned by cache_addserv.
82150         (readdservbyname): Return value returned by addservbyX:
82151         (readdservbyport): Likewise.
82152         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
82153         (addhstbyX): Return value returned by cache_addhst.
82154         (readdhstbyname): Return value returned by addhstbyX.
82155         (readdhstbyaddr): Likewise.
82156         (readdhstbynamev6): Likewise.
82157         (readdhstbyaddrv6): Likewise.
82158         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
82159         (readdinitgroups): Return value returned by addinitgroupsX.
82160         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
82161         (prune_cache): Keep track of timeout value of re-added entries.
82162         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
82163         * nscd/nscd.h: Adjust prototypes of readd* functions.
82165 2011-02-04  Roland McGrath  <roland@redhat.com>
82167         * nis/nis_server.c (nis_servstate): Use the right name for 0.
82168         (nis_stats): Likewise.
82169         * nis/nis_modify.c (nis_modify): Likewise.
82170         * nis/nis_remove.c (nis_remove): Likewise.
82171         * nis/nis_add.c (nis_add): Likewise.
82173         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
82175         * posix/fnmatch_loop.c: Add some consts.
82177         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
82179 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
82181         [BZ #12460]
82182         * config.make.in (config-cflags-novzeroupper): Define.
82183         * configure.in: Substitute libc_cv_cc_novzeroupper.
82184         * elf/Makefile (AVX-CFLAGS): Define.
82185         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
82186         (CFLAGS-tst-auditmod4a.c): Likewise.
82187         (CFLAGS-tst-auditmod4b.c): Likewise.
82188         (CFLAGS-tst-auditmod6b.c): Likewise.
82189         (CFLAGS-tst-auditmod6c.c): Likewise.
82190         (CFLAGS-tst-auditmod7b.c): Likewise.
82191         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
82193 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
82195         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
82196         function to the callback.
82197         Patch partly by Jiri Olsa <jolsa@redhat.com>.
82199 2011-02-02  Andreas Schwab  <schwab@redhat.com>
82201         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
82202         of errno.
82204 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
82206         [BZ #11724]
82207         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
82208         of constructors.
82209         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
82210         of destructors.
82211         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
82213         [BZ #11724]
82214         * elf/Makefile: Add rules to build and run new test.
82215         * elf/tst-initorder.c: New file.
82216         * elf/tst-initorder.exp: New file.
82217         * elf/tst-initordera1.c: New file.
82218         * elf/tst-initordera2.c: New file.
82219         * elf/tst-initordera3.c: New file.
82220         * elf/tst-initordera4.c: New file.
82221         * elf/tst-initorderb1.c: New file.
82222         * elf/tst-initorderb2.c: New file.
82223         * elf/tst-order-a1.c: New file.
82224         * elf/tst-order-a2.c: New file.
82225         * elf/tst-order-a3.c: New file.
82226         * elf/tst-order-a4.c: New file.
82227         * elf/tst-order-b1.c: New file.
82228         * elf/tst-order-b2.c: New file.
82229         * elf/tst-order-main.c: New file.
82230         New test case by George Gensure <werkt0@gmail.com>.
82232 2010-10-01  Andreas Schwab  <schwab@redhat.com>
82234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82235         decoding ACE if AI_CANONIDN.
82237 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
82239         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
82241 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
82243         * version.h (RELEASE): Bump for 2.13 release.
82244         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
82246         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
82248         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
82249         MADV_NOHUGEPAGE.
82250         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
82251         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
82252         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82253         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82254         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82255         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82257         * posix/getconf.c: Update copyright year.
82258         * catgets/gencat.c: Likewise.
82259         * csu/version.c: Likewise.
82260         * debug/catchsegv.sh: Likewise.
82261         * debug/xtrace.sh: Likewise.
82262         * elf/ldconfig.c: Likewise.
82263         * elf/ldd.bash.in: Likewise.
82264         * elf/sprof.c (print_version): Likewise.
82265         * iconv/iconv_prog.c: Likewise.
82266         * iconv/iconvconfig.c: Likewise.
82267         * locale/programs/locale.c: Likewise.
82268         * locale/programs/localedef.c: Likewise.
82269         * malloc/memusage.sh: Likewise.
82270         * malloc/mtrace.pl: Likewise.
82271         * nscd/nscd.c (print_version): Likewise.
82272         * nss/getent.c: Likewise.
82274         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
82275         PF_CAIF, and PF_ALG.
82276         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82278 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
82280         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
82281         (modules-names): Use them.
82282         (ifunc-test-modules, ifunc-pie-tests): Define.
82283         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
82284         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
82285         (test-extras): Likewise.
82286         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
82287         $(compile-command.c).
82288         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
82289         (all-built-dso): Define.
82290         (check-textrel.out, check-execstack.out): Depend on it.
82292         * configure.in: Don't override --enable-multi-arch.
82294 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
82296         [BZ #6812]
82297         * nscd/hstcache.c (tryagain): Define.
82298         (cache_addhst): Return tryagain not notfound for temporary errors.
82299         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82300         failed.
82302 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82304         [BZ #10563]
82305         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82306         to make the syscall.
82307         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82309         [BZ #12378]
82310         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82311         and fall back to matching as normal character if the string ends before
82312         the matching ']' is found.  This is what POSIX requires.
82313         * posix/testfnm.c: Adjust test result.
82314         * posix/globtest.sh: Adjust test result.  Add new test.
82315         * posix/tst-fnmatch.input: Likewise.
82316         * posix/tst-fnmatch2.c: Add new test.
82318 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82320         * elf/Makefile (check-execstack): Revert last change.  Depend on
82321         check-execstack.h.
82322         (check-execstack.h): New target.
82323         (generated): Add check-execstack.h.
82324         * elf/check-execstack.c: Include "check-execstack.h".
82325         (main): Revert last change.
82326         (handle_file): Return zero if GNU_STACK is absent and
82327         DEFAULT_STACK_PERMS doesn't include PF_X.
82329 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82331         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82332         in child fails because the descriptor is already closed.
82333         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82334         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82335         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82337         [BZ #12397]
82338         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82339         syscall.
82341         [BZ #10484]
82342         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82343         temporary buffer used to handle multi lookups locally.
82344         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82346 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82348         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82349         loader is ld.so.
82351 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
82353         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82354         alignment for SSE2.
82356 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82358         [BZ #12394]
82359         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82360         characters.  When rounding increased number of integer digits recompute
82361         number of groups.
82362         * stdio-common/tst-grouping.c: New file.
82363         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82365 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82367         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82368         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82370         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82371         void.
82372         * bits/select.h: Likewise.
82374 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82376         * po/ja.po: Update from translation team.
82378 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82380         [BZ #11155]
82381         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82382         implementation just like for lxstat, fxstatat, et al.
82384 2010-12-27  Jim Meyering  <meyering@redhat.com>
82386         [BZ #12348]
82387         * posix/regexec.c (build_trtable): Return failure indication upon
82388         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82390 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82392         [BZ #12201]
82393         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82394         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82395         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82396         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82398         [BZ #12207]
82399         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82401         [BZ #12204]
82402         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82403         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82405 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82407         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82408         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82409         script has SORT_BY_INIT_PRIORITY.
82410         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82411         NO_CTORS_DTORS_SECTIONS is defined.
82412         * elf/soinit.c: Likewise.
82413         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82414         NO_CTORS_DTORS_SECTIONS is defined.
82415         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82416         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82417         * sysdeps/sh/init-first.c: Likewise.
82418         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82420 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82422         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82423         always use the slow path.
82425 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82427         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82428         similar rule which adds the sysdep directories to the header search in
82429         order to pick up the correct platform stackinfo.h.
82430         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82431         perform test if it is, otherwise return successfully without testing.
82432         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82433         DEFAULT_STACK_PERMS define in stackinfo.h.
82434         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82435         defined in stackinfo.h.
82436         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82437         DEFAULT_STACK_PERMS defined in stackinfo.h.
82438         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82439         * sysdeps/ia64/stackinfo.h: Likewise.
82440         * sysdeps/s390/stackinfo.h: Likewise.
82441         * sysdeps/sh/stackinfo.h: Likewise.
82442         * sysdeps/sparc/stackinfo.h: Likewise.
82443         * sysdeps/x86_64/stackinfo.h: Likewise.
82444         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82445         PF_X for powerpc64.  Retain PF_X for powerpc32.
82447 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82449         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82450         accurately.
82451         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82452         GETDENTS_64BIT_ALIGNED.
82454 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82456         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82458 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82460         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82461         _GNU_SOURCE.
82463         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82464         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82465         Remove __restrict.
82466         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82467         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82469 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82471         [BZ #11655]
82472         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82473         are initialized.
82475 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82477         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82479 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82481         * po/it.po: Update from translation team.
82483 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82485         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82486         unused codes.
82488 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82490         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82492 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82494         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82495         specially.
82496         (gaih_getanswer_slice): Likewise.
82498 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82502 2010-05-31  Petr Baudis  <pasky@suse.cz>
82504         [BZ #11149]
82505         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82506         silently even in the chroot mode.
82508 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82510         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82511         last patch a bit.  Pretty printing
82513 2010-05-31  Petr Baudis <pasky@suse.cz>
82515         [BZ #10085]
82516         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82517         initialization of skip_initgroups_dyn.
82519 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82521         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82522         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82524 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82526         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82528 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82530         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82531         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82532         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82533         ($(objpfx)tst-fnmatch-mem): New rule.
82534         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82535         * posix/tst-fnmatch.c (main): Call mtrace.
82537 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82540         Support Intel processor model 6 and model 0x2c.
82542 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82544         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82545           signed comparison.
82547 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82549         [BZ #12205]
82550         * string/test-strncasecmp.c (check_result): New function.
82551         (do_one_test): Use it.
82552         (check1): New function.
82553         (test_main): Use it.
82554         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82555         Support strcasecmp and strncasecmp.
82557 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82559         [BZ #12194]
82560         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82561         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82563 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82565         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82566         IFUNC support.
82567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82568         memset-x86-64.
82569         * sysdeps/x86_64/multiarch/bzero.S: New file.
82570         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82571         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82572         * sysdeps/x86_64/multiarch/memset.S: New file.
82573         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82575         Set bit_Prefer_SSE_for_memop for Intel processors.
82576         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82577         Define.
82578         (index_Prefer_SSE_for_memop): Define.
82579         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82581 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82583         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82584         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82586 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82588         [BZ #12191]
82589         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82590         (__x86_64_raw_data_cache_size_half): Likewise.
82591         (__x86_64_raw_shared_cache_size): Likewise.
82592         (__x86_64_raw_shared_cache_size_half): Likewise.
82594         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82595         (__x86_64_raw_data_cache_size_half): Likewise.
82596         (__x86_64_raw_shared_cache_size): Likewise.
82597         (__x86_64_raw_shared_cache_size_half): Likewise.
82598         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82599         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82600         and __x86_64_raw_shared_cache_size_half.  Round
82601         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82602         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82603         to multiple of 256 bytes.
82605 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82607         [BZ #12167]
82608         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82609         of inacessible symlinks.  Verify result of symlink before returning it.
82610         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82611         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82613 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82615         * math/math.h (isinf): Fix typo in comment.
82617 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82619         * po/da.po: Update from translation team.
82621 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82623         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82624         is added to the list.
82626 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82627             Ulrich Drepper  <drepper@gmail.com>
82629         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82630         the global list here.  Move code to...
82631         (_dl_add_to_namespace_list): ...here.  New function.
82632         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82633         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82634         * elf/dl-load.c (lose): Don't remove the element from the list.
82635         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82636         (_dl_map_object): Likewise.
82638 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82640         [BZ #12159]
82641         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82642         into all bytes of SSE register.
82643         Patch by Richard Li <richardpku@gmail.com>.
82645 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82647         [BZ #12140]
82648         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82649         perturbing.
82651 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82653         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82654         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82655         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82656         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82658         submachine.
82659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82661 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82663         * include/dlfcn.h (__RTLD_SECURE): Define.
82664         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82665         mode & __RTLD_SECURE instead.
82666         (open_path): Rename preloaded parameter to secure.
82667         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82668         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82669         * elf/dl-deps.c (openaux): Likewise.
82670         * elf/rtld.c (struct map_args): Remove is_preloaded.
82671         (map_doit): Don't use it.
82672         (dl_main): Likewise.
82673         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82674         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82676 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82678         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82679         (sysd-rules-targets): Remove duplicates.
82680         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82681         rtld-%.$o dependency.
82683 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82685         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82686         _dl_map_object do it.
82688 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82690         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82691         fast fma builtins, define the macros in the C99 standard.
82692         (FP_FAST_FMAF): Likewise.
82693         (FP_FAST_FMAL): Likewise.
82694         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82696         * bits/mathdef.h: Update copyright year.
82697         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82699 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82701         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82702         builtins, define the macros in the C99 standard.
82703         (FP_FAST_FMAF): Likewise.
82704         (FP_FAST_FMAL): Likewise.
82705         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82706         multiply/add.
82707         (FP_FAST_FMAF): Likewise.
82709 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82711         [BZ #3268]
82712         * math/libm-test.inc (fma_test): Some new testcases.
82713         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82714         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82715         y and infinite z.  Do multiplication by C already in long double.
82716         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82718         y and infinite z.  Do bitwise or of inexact bit into u.d.
82719         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82720         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82721         * sysdeps/i386/fpu/s_fma.S: Removed.
82722         * sysdeps/i386/fpu/s_fmal.S: Removed.
82724 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82726         [BZ #3268]
82727         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82728         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82729         computation is not scheduled after fetestexcept.  Fix value
82730         of minimum denormal long double.
82732 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82734         [BZ #3268]
82735         * math/libm-test.inc (fma_test): Add some more tests.
82736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82737         correctly.
82739 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82741         * scripts/data/localplt-s390-linux-gnu.data: New file.
82742         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82744 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82746         [BZ #3268]
82747         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82748         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82749         instead of dbl-64.
82750         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82751         inlines.
82752         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82754         if one of x and y is very large and the other is subnormal.
82755         * sysdeps/s390/fpu/s_fmaf.c: New file.
82756         * sysdeps/s390/fpu/s_fma.c: New file.
82757         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82758         * sysdeps/powerpc/fpu/s_fma.S: New file.
82759         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82760         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82761         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82763 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82765         [BZ #3268]
82766         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82767         fma tests.
82768         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82769         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82770         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82771         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82772         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82773         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82774         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82776 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82778         [BZ #12078]
82779         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82780         * posix/bug-regex31.input: Add test case.
82782 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82784         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82785         * posix/bug-regex31.input: New file.
82787         [BZ #12078]
82788         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82789         (parse_sub_exp): Fix last change, use postorder.
82791         * posix/bug-regex31.c: New file.
82792         * posix/Makefile: Add rules to build and run bug-regex31.
82794         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82796         [BZ #12078]
82797         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82799         [BZ #12108]
82800         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82801         to have entries in sys_siglist.
82803         [BZ #12093]
82804         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82805         be NULL.
82807 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82809         [BZ #3268]
82810         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82811         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82812         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82813         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82814         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82815         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82816         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82817         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82818         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82819         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82820         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82821         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82822         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82823         * math/ftestexcept.c (fetestexcept): Likewise.
82824         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82825         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82826         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82827         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82828         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82829         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82830         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82832 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82834         [BZ #12107]
82835         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82836         newline.
82838 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82840         * string/bug-strstr1.c: New file.
82841         * string/Makefile: Add rules to build and run bug-strstr1.
82843 2010-10-05  Eric Blake  <eblake@redhat.com>
82845         [BZ #12092]
82846         * string/str-two-way.h (two_way_long_needle): Always clear memory
82847         when skipping input due to the shift table.
82849 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82851         [BZ #12005]
82852         * malloc/mcheck.c: Handle large requests.
82854         [BZ #12077]
82855         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82856         for strncmp and strncasecmp.
82857         * string/stratcliff.c: Add tests for strcmp and strncmp.
82858         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82860 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82862         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82863         __set_fpscr.
82865 2010-09-30  Andreas Jaeger  <aj@suse.de>
82867         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82868         (CGROUP_SUPER_MAGIC): Define.
82869         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82870         Handle btrfs and cgroup file systems.
82871         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82872         Likewise.
82874 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82876         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82877         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82879 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82881         [BZ #12067]
82882         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82883         trying to locate the ELF header.
82885 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82887         [BZ #11611]
82888         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82889         Mask out sign-bit copies when constructing f_fsid.
82891 2010-09-24  Petr Baudis <pasky@suse.cz>
82893         * debug/stack_chk_fail_local.c: Add missing licence exception.
82894         * debug/warning-nop.c: Likewise.
82896 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82898         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82899         implementing getdents64 using getdents syscall, set d_type if
82900         __ASSUME_GETDENTS32_D_TYPE.
82902 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82904         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82905         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82907 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82909         [BZ #12037]
82910         * posix/unistd.h: Undo change of feature selection for ftruncate from
82911         2010-01-11.
82913 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82915         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82916         detection.
82918 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82920         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82921         fanotify_mark.
82922         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82924 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82926         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82927         variables after CHECK_SP call.
82928         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82930 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82931             Ulrich Drepper  <drepper@redhat.com>
82933         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82934         re-relocationg ld.so.
82935         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82936         _dl_init_paths call.
82937         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82938         here anymore.
82940 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82942         * resolv/res_init.c (__res_vinit): Count the default server we added.
82944 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82945             Ulrich Drepper  <drepper@redhat.com>
82947         [BZ #11968]
82948         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82949         (____longjmp_chk): Use %ebx for saving value across system call.
82950         Add unwind info.
82952 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82954         * manual/Makefile: Don't mix pattern rules with normal rules.
82956 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82958         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82959         operation.
82960         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82961         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82962         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82963         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82964         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82965         Likewise.
82967 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82969         [BZ #11979]
82970         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82971         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82973 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82975         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82976         * sysdeps/x86_64/addmul_1.S: Likewise.
82977         * sysdeps/x86_64/lshift.S: Likewise.
82978         * sysdeps/x86_64/mul_1.S: Likewise.
82979         * sysdeps/x86_64/rshift.S: Likewise.
82980         * sysdeps/x86_64/sub_n.S: Likewise.
82981         * sysdeps/x86_64/submul_1.S: Likewise.
82983 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82985         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82986         Define __sched_param instead of SCHED_* and sched_param when
82987         <bits/sched.h> is included with __need_schedparam defined.
82988         * bits/sched.h [__need_schedparam]
82989         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82990         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82991         (__defined_schedparam): Define to 1.
82992         (__sched_param): New structure, identical to sched_param.
82993         (__need_schedparam): Undefine.
82995 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82997         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82998         (epoll_create1): Declare.
83000         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
83002 2010-08-31  Andreas Schwab  <schwab@redhat.com>
83004         [BZ #7066]
83005         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
83006         shifting retval into place.
83008 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
83010         * nis/rpcsvc/nis.h: Update copyright notice.
83011         * nis/rpcsvc/nis.x: Likewise.
83012         * nis/rpcsvc/nis_callback.h: Likewise.
83013         * nis/rpcsvc/nis_callback.x: Likewise.
83014         * nis/rpcsvc/nis_object.x: Likewise.
83015         * nis/rpcsvc/nis_tags.h: Likewise.
83016         * nis/rpcsvc/yp.h: Likewise.
83017         * nis/rpcsvc/yp.x: Likewise.
83018         * nis/rpcsvc/ypupd.h: Likewise.
83019         * nis/yp_xdr.c: Likewise.
83020         * nis/ypupdate_xdr.c: Likewise.
83022         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
83023         mainly the body of pmap_getport.  Add parameters to specify timeouts.
83024         (pmap_getport): Use __libc_rpc_getport.
83025         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
83026         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
83027         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
83029 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
83031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
83032         fanotify_mark.
83034 2010-08-27  Roland McGrath  <roland@redhat.com>
83036         * sysdeps/i386/i686/multiarch/Makefile
83037         (CFLAGS-varshift.c): New variable.
83039 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
83041         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
83042         * sysdeps/i386/i686/multiarch/varshift.c: New file.
83044         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
83046         * sysdeps/x86_64/strlen.S: Minimal code improvement.
83048 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
83050         * sysdeps/x86_64/strlen.S: Unroll the loop.
83051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83052         strlen-sse2 strlen-sse2-bsf.
83053         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
83054         __strlen_no_bsf if bit_Slow_BSF is set.
83055         (__strlen_sse42): Removed.
83056         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
83057         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
83059 2010-08-25  Roland McGrath  <roland@redhat.com>
83061         * sysdeps/x86_64/multiarch/varshift.S: File removed.
83062         * sysdeps/x86_64/multiarch/varshift.c: New file.
83063         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
83064         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
83065         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
83066         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
83068 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
83070         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83071         strlen-sse2 strlen-sse2-bsf.
83072         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
83073         __strlen_sse2_bsf if bit_Slow_BSF is unset.
83074         (__strlen_sse2): Removed.
83075         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
83076         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
83077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
83078         bit_Slow_BSF for Atom.
83079         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
83080         (index_Slow_BSF): Define.
83081         (HAS_SLOW_BSF): Define.
83083 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
83085         [BZ #10851]
83086         * resolv/res_init.c (__res_vinit): When no server address at all
83087         is given default to loopback.
83089 2010-08-24  Roland McGrath  <roland@redhat.com>
83091         * configure.in: Remove config-name.h generation.
83092         * configure: Regenerated.
83093         * config-name.in: File removed.
83094         * scripts/config-uname.sh: New file.
83095         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
83096         ($(objdir)config-name.h): New target.
83098         * sunrpc/rpc_parse.h: Avoid nested comment.
83100 2010-08-24  Richard Henderson  <rth@redhat.com>
83101             Ulrich Drepper  <drepper@redhat.com>
83102             H.J. Lu  <hongjiu.lu@intel.com>
83104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
83105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
83106         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
83107         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
83108         _mm_alignr_epi8 with _mm_loadu_si128.
83109         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
83110         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
83111         (__m128i_shift_right): Removed.
83112         * sysdeps/i386/i686/multiarch/varshift.h: New file.
83113         * sysdeps/i386/i686/multiarch/varshift.S: New file.
83114         * sysdeps/x86_64/multiarch/varshift.h: New file.
83115         * sysdeps/x86_64/multiarch/varshift.S: New file.
83117 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
83119         * configure.in: Move assembler checks to before sysdep dir checking.
83121 2010-08-20  Petr Baudis  <pasky@suse.cz>
83123         * LICENSES: Sync the sunrpc license.
83125 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
83127         * sunrpc/auth_des.c: Update copyright notice once again.
83128         * sunrpc/auth_none.c: Likewise.
83129         * sunrpc/auth_unix.c: Likewise.
83130         * sunrpc/authdes_prot.c: Likewise.
83131         * sunrpc/authuxprot.c: Likewise.
83132         * sunrpc/bindrsvprt.c: Likewise.
83133         * sunrpc/clnt_gen.c: Likewise.
83134         * sunrpc/clnt_perr.c: Likewise.
83135         * sunrpc/clnt_raw.c: Likewise.
83136         * sunrpc/clnt_simp.c: Likewise.
83137         * sunrpc/clnt_tcp.c: Likewise.
83138         * sunrpc/clnt_udp.c: Likewise.
83139         * sunrpc/clnt_unix.c: Likewise.
83140         * sunrpc/des_crypt.c: Likewise.
83141         * sunrpc/des_soft.c: Likewise.
83142         * sunrpc/get_myaddr.c: Likewise.
83143         * sunrpc/getrpcport.c: Likewise.
83144         * sunrpc/key_call.c: Likewise.
83145         * sunrpc/key_prot.c: Likewise.
83146         * sunrpc/openchild.c: Likewise.
83147         * sunrpc/pm_getmaps.c: Likewise.
83148         * sunrpc/pm_getport.c: Likewise.
83149         * sunrpc/pmap_clnt.c: Likewise.
83150         * sunrpc/pmap_prot.c: Likewise.
83151         * sunrpc/pmap_prot2.c: Likewise.
83152         * sunrpc/pmap_rmt.c: Likewise.
83153         * sunrpc/rpc/auth.h: Likewise.
83154         * sunrpc/rpc/auth_unix.h: Likewise.
83155         * sunrpc/rpc/clnt.h: Likewise.
83156         * sunrpc/rpc/des_crypt.h: Likewise.
83157         * sunrpc/rpc/key_prot.h: Likewise.
83158         * sunrpc/rpc/netdb.h: Likewise.
83159         * sunrpc/rpc/pmap_clnt.h: Likewise.
83160         * sunrpc/rpc/pmap_prot.h: Likewise.
83161         * sunrpc/rpc/pmap_rmt.h: Likewise.
83162         * sunrpc/rpc/rpc.h: Likewise.
83163         * sunrpc/rpc/rpc_des.h: Likewise.
83164         * sunrpc/rpc/rpc_msg.h: Likewise.
83165         * sunrpc/rpc/svc.h: Likewise.
83166         * sunrpc/rpc/svc_auth.h: Likewise.
83167         * sunrpc/rpc/types.h: Likewise.
83168         * sunrpc/rpc/xdr.h: Likewise.
83169         * sunrpc/rpc_clntout.c: Likewise.
83170         * sunrpc/rpc_cmsg.c: Likewise.
83171         * sunrpc/rpc_common.c: Likewise.
83172         * sunrpc/rpc_cout.c: Likewise.
83173         * sunrpc/rpc_dtable.c: Likewise.
83174         * sunrpc/rpc_hout.c: Likewise.
83175         * sunrpc/rpc_main.c: Likewise.
83176         * sunrpc/rpc_parse.c: Likewise.
83177         * sunrpc/rpc_parse.h: Likewise.
83178         * sunrpc/rpc_prot.c: Likewise.
83179         * sunrpc/rpc_sample.c: Likewise.
83180         * sunrpc/rpc_scan.c: Likewise.
83181         * sunrpc/rpc_scan.h: Likewise.
83182         * sunrpc/rpc_svcout.c: Likewise.
83183         * sunrpc/rpc_tblout.c: Likewise.
83184         * sunrpc/rpc_util.c: Likewise.
83185         * sunrpc/rpc_util.h: Likewise.
83186         * sunrpc/rpcinfo.c: Likewise.
83187         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
83188         * sunrpc/rpcsvc/key_prot.x: Likewise.
83189         * sunrpc/rpcsvc/klm_prot.x: Likewise.
83190         * sunrpc/rpcsvc/mount.x: Likewise.
83191         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
83192         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
83193         * sunrpc/rpcsvc/rex.x: Likewise.
83194         * sunrpc/rpcsvc/rstat.x: Likewise.
83195         * sunrpc/rpcsvc/rusers.x: Likewise.
83196         * sunrpc/rpcsvc/sm_inter.x: Likewise.
83197         * sunrpc/rpcsvc/spray.x: Likewise.
83198         * sunrpc/rpcsvc/yppasswd.x: Likewise.
83199         * sunrpc/rtime.c: Likewise.
83200         * sunrpc/svc.c: Likewise.
83201         * sunrpc/svc_auth.c: Likewise.
83202         * sunrpc/svc_authux.c: Likewise.
83203         * sunrpc/svc_raw.c: Likewise.
83204         * sunrpc/svc_run.c: Likewise.
83205         * sunrpc/svc_simple.c: Likewise.
83206         * sunrpc/svc_tcp.c: Likewise.
83207         * sunrpc/svc_udp.c: Likewise.
83208         * sunrpc/svc_unix.c: Likewise.
83209         * sunrpc/svcauth_des.c: Likewise.
83210         * sunrpc/xcrypt.c: Likewise.
83211         * sunrpc/xdr.c: Likewise.
83212         * sunrpc/xdr_array.c: Likewise.
83213         * sunrpc/xdr_float.c: Likewise.
83214         * sunrpc/xdr_mem.c: Likewise.
83215         * sunrpc/xdr_rec.c: Likewise.
83216         * sunrpc/xdr_ref.c: Likewise.
83217         * sunrpc/xdr_sizeof.c: Likewise.
83218         * sunrpc/xdr_stdio.c: Likewise.
83220         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
83221         handling.
83223 2010-08-19  Andreas Schwab  <schwab@redhat.com>
83225         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
83227 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
83229         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
83230         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
83231         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
83232         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
83233         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
83234         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
83235         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
83236         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
83237         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
83238         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
83239         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
83240         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
83241         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
83242         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
83244 2010-07-26  Anton Blanchard  <anton@samba.org>
83246         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
83247         * malloc/arena.c (heap_trim): Likewise.
83249 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
83251         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
83252         here.  Not...
83253         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
83254         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
83256 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
83258         * sysdeps/i386/elf/Makefile: New file.
83260 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83262         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
83263         from fanotify_init.
83264         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
83265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83267 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
83269         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
83270         of strncasecmp_l.
83271         * sysdeps/multiarch/strcmp.S: Likewise.
83273 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
83275         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83276         strncase_l-nonascii.
83277         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83278         Add strncase_l-ssse3.
83279         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
83280         * sysdeps/x86_64/strcmp.S: Likewise.
83281         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
83282         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
83283         * sysdeps/x86_64/strncase.S: New file.
83284         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
83285         * sysdeps/x86_64/strncase_l.S: New file.
83286         * string/Makefile (strop-tests): Add strncasecmp.
83287         * string/test-strncasecmp.c: New file.
83289         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
83290         warning.
83292         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83293         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83295 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83297         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83299 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83301         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83302         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83303         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83305 2010-05-01  Alan Modra  <amodra@gmail.com>
83307         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83308         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83309         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83310         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83311         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83312         tidying.  Don't tail-call __sigjmp_save for static lib.
83313         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83314         save location.
83315         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83316         (CALL_MCOUNT): Add eh info, and nop after bl.
83317         (TAIL_CALL_SYSCALL_ERROR): New macro.
83318         (PSEUDO_RET): Use it.
83319         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83320         Correct save location of integer regs and cr.
83321         (_dl_profile_resolve): Correct cr save location.  Delete nops
83322         after bl when SHARED.  Reduce cfi size a little by better
83323         placement of cfi directives.
83324         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83325         make a stack frame.  Instead use parm save area as a temp.
83326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83327         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83329         Don't make a stack frame for parent, use parm save area.
83330         Increase child stack frame to 112 bytes.  Don't save unused reg,
83331         and adjust reg usage.  Set up cfi on error recovery and
83332         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83334         (__makecontext): Add dummy nop after jump to exit.
83335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83336         Use correct parm save area and cr save, reduce stack frame.
83337         Correct cfi for possible PSEUDO_RET frame setup.
83338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83339         Branch to local label emitted by PSEUDO_RET rather than
83340         __syscall_error.
83342 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83344         [BZ #11904]
83345         * locale/programs/locale.c (print_assignment): New function.
83346         (show_locale_vars): Use it.
83348 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
83350         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83351         field.
83352         (struct statfs64): Likewise.
83353         (_STATFS_F_FLAGS): Define.
83354         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83355         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83356         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83357         (ST_VALID): Define locally.
83358         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83359         __statvfs_getflags, use the provided value.
83360         * sysdeps/unix/sysv/linux/kernel-features.h: Define
83361         __ASSUME_STATFS_F_FLAGS.
83363         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83365         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83366         Add sys/fanotify.h.
83367         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83368         fanotify_mask for GLIBC_2.13.
83369         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83370         fanotify_init and fanotify_mark.
83371         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83372         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83374         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83375         Add prlimit.
83376         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83377         prlimit64 for GLIBC_2.13.
83378         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83379         prlimit64.
83380         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83381         syscall.
83382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83383         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83384         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83385         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83386         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83387         add prlimit alias.
83388         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83390         [BZ #11903]
83391         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83392         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83394         * nss/Makefile: Add rules to build and run tst-nss-test1.
83395         * shlib-versions: Add entry for libnss_test1.
83396         * nss/nss_test1.c: New file.
83397         * nss/tst-nss-test1.c: New file.
83399         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83400         (__nss_configure_lookup): Set appropriate entry in
83401         __nss_configure_lookup to true.
83402         * nss/nsswitch.h: Define enum with indeces of databases in
83403         databases and __nss_database_custom arrays.  Declare
83404         __nss_database_custom.
83405         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83406         to avoid using nscd when custom rules are installed.
83407         * nss/getXXbyYY_r.c: Likewise.
83408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83410         * nss/nss_files/files-parse.c: Whitespace fixes.
83412 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83414         [BZ #11883]
83415         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83416         * posix/fnmatch_loop.c: Likewise.
83418 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83420         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83421         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83422         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83423         * Versions.def [GLIBC_2.13]: Add.
83425 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83427         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83428         Also fail if tpwd after pwuid call is NULL.
83430 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83432         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83433         when converting to ms.
83435 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83437         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83438         EOPNOTSUPP errors with ENOTTY.
83439         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83440         EOPNOTSUPP errors with ENOTTY.
83442 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83444         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83445         Add strcasecmp_l-ssse3.
83446         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83447         strcasecmp.
83448         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83449         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83450         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83452 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83454         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83456         * string/Makefile (strop-tests): Add strcasecmp.
83457         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83458         strcasecmp_l-nonascii.
83459         (gen-as-const-headers): Add locale-defines.sym.
83460         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83461         * sysdeps/x86_64/strcasecmp.S: New file.
83462         * sysdeps/x86_64/strcasecmp_l.S: New file.
83463         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83464         * sysdeps/x86_64/locale-defines.sym: New file.
83465         * string/test-strcasecmp.c: New file.
83467         * string/test-strcasestr.c: Test both ends of the range of characters.
83468         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83470 2010-07-29  Roland McGrath  <roland@redhat.com>
83472         [BZ #11856]
83473         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83475 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83477         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83478         for ld.so.
83480 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83482         * manual/memory.texi (Malloc Tunable Parameters): Document
83483         M_PERTURB.
83485 2010-07-26  Roland McGrath  <roland@redhat.com>
83487         [BZ #11840]
83488         * configure.in (-fgnu89-inline check): Set and substitute
83489         gnu89_inline, not libc_cv_gnu89_inline.
83490         * configure: Regenerated.
83491         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83493 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83495         * string/test-strnlen.c: New file.
83496         * string/Makefile (strop-tests): Add strnlen.
83497         * string/tester.c (test_strnlen): Add a few more test cases.
83498         * string/tst-strlen.c: Better error reporting.
83500         * sysdeps/x86_64/strnlen.S: New file.
83502 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83504         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83505         lower-latency instructions.
83507 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83509         * string/test-strcasestr.c: New file.
83510         * string/test-strstr.c: New file.
83511         * string/Makefile (strop-tests): Add strstr and strcasestr.
83512         * string/str-two-way.h: Don't undefine MAX.
83513         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83515 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83518         strcasestr-nonascii.
83519         (CFLAGS-strcasestr-nonascii.c): Define.
83520         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83521         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83522         Remove unused attribute.
83524 2010-07-20  Roland McGrath  <roland@redhat.com>
83526         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83527         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83528         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83529         like LD_HWCAP_MASK can disable hwcaps.
83531 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83533         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83535 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83537         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83538         call in strcasestr.
83539         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83540         __strcasestr_sse42_nonascii.
83541         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83542         strcasestr-nonascii.c.
83543         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83545 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83547         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83548         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83549         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83550         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83552 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83554         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83555         fcntl.
83557 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83559         [BZ #11577]
83560         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83561         dl_signal_cerror.
83563 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83565         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83566         _PC_PIPE_BUF using F_GETPIPE_SZ.
83568 2010-07-05  Roland McGrath  <roland@redhat.com>
83570         * manual/arith.texi (Rounding Functions): Fix rint description
83571         implicit in round description.
83573 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83575         * elf/Makefile: Fix linking for a few tests to make recent linker
83576         happy.
83578 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83580         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83581         $(common-objpfx)libc_nonshared.a.
83583 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83585         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83586         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83587         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83588         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83589         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83590         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83591         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83592         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83607         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83608         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83609         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83610         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83611         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83612         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83613         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83614         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83615         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83616         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83617         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83618         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83634 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83636         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83637         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83638         * string/memmove.c (memmove): Renamed to ...
83639         (MEMMOVE): ...this.  Default to memmove.
83640         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83641         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83642         (END_CHK): Define.
83643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83644         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83645         mempcpy-ssse3-back memmove-ssse3-back.
83646         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83647         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83648         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83649         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83650         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83651         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83652         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83653         * sysdeps/x86_64/multiarch/memmove.c: New file.
83654         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83655         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83656         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83657         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83658         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83659         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83660         Define.
83661         (index_Fast_Copy_Backward): Define.
83662         (HAS_ARCH_FEATURE): Define.
83663         (HAS_FAST_REP_STRING): Define.
83664         (HAS_FAST_COPY_BACKWARD): Define.
83666 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83668         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83669         Restore proper fallback handling.
83671 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83673         [BZ #11701]
83674         * posix/group_member.c (__group_member): Correct checking loop.
83676         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83677         OOM in getpwuid_r correctly.  Return error number when the caller
83678         should return, otherwise -1.
83679         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83680         call returning > 0 value.
83681         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83683 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83685         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83686         libc_nonshared.a from targets in modules-names.
83688 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83690         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83691         requires it.
83693 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83695         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83696         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83697         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83698         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83700 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83702         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83704 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83706         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83707         and F_GETPIPE_SZ.
83708         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83709         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83710         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83711         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83712         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83713         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83715 2010-06-14  Roland McGrath  <roland@redhat.com>
83717         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83719 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83721         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83722         __REDIRECT followed by __THROW.
83723         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83724         * posix/getopt.h (getopt): Likewise.
83726 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83728         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83729         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83730         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83731         in AT_FLAGS.
83732         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83733         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83735 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83737         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83739 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83741         [BZ #11640]
83742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83743         Properly check family and model.
83745 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83747         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83749 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83751         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83753 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83755         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83756         symbol reference.
83758 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83760         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83761         symbol reference.
83763 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83765         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83766         and internal_recvmmsg.
83767         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83768         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83769         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83770         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83772         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83773         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83774         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83776 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83778         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83780 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83782         POWER7 optimizations.
83783         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83784         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83786 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83788         * version.h: Update for 2.13 development version.
83790 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83792         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83793         exceptions.  Return 0.
83795 2010-05-07  Roland McGrath  <roland@redhat.com>
83797         * elf/ldconfig.c (main): Add a const.
83799 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83801         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83802         (args_options): Add no-idn option.
83803         (ahosts_keys_int): Add idn_flags to ai_flags.
83804         (parse_option): Handle 'i' option to clear idn_flags.
83806         * malloc/malloc.c (_int_free): Possible race in the most recently
83807         added check.  Only act on the data if no current modification
83808         happened.
83810 See ChangeLog.17 for earlier changes.